NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

help with disklabel



I am trying to set up the disklabel on some disks that will be RAID
components.  Despite having created many disklabels, I'm running into
an issue I don't understand.  Here are some of the commands:

     # dd if=/dev/zero of=/dev/rsd4d count=8192 bs=512
     8192+0 records in
     8192+0 records out
     4194304 bytes transferred in 0.654 secs (6413308 bytes/sec)
     # disklabel -R sd4 label      # see below for the disklabel 'label'
     disklabel: no space in bootarea (sector 0) to create label

My intent was to remove all old labels, etc. with dd and then add a
new label.  I have never seen the 'bootarea too small' message before.

Any help on how to label this drive is greatly appreciated.

Thanks alot.

Cheers,
Brook

===========================================================================

The contents of 'label' are:

type: SCSI
disk: MegaRAID 8708ELP
label: fictitious
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 571250
total sectors: 1169920000
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 1169919937         63      RAID                     # (Cyl.      0 - 571249)
 d: 1169920000         0     unused      0     0        # (Cyl.      0 - 571249)


Home | Main Index | Thread Index | Old Index