Well, I already tried to create only a small partition: # disklabel -E raid0 disklabel: Can't get bios geometry: Device not configured Initial label editor (enter '?' for help at any prompt) > p device: /dev/rraid0c type: RAID disk: raid label: fictitious bytes/sector: 512 sectors/track: 128 tracks/cylinder: 8 sectors/cylinder: 1024 cylinders: 156417 total sectors: 160171392 free sectors: 160171392 rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] a: 435841403 1416925149 unused 0 0 # Cyl 1383715*-1809342* c: 160171392 0 unused 0 0 # Cyl 0 -156417* > d a > a a offset: [0] size: [160171392] 200m FS type: [4.2BSD] > p device: /dev/rraid0c type: RAID disk: raid label: fictitious bytes/sector: 512 sectors/track: 128 tracks/cylinder: 8 sectors/cylinder: 1024 cylinders: 156417 total sectors: 160171392 free sectors: 159761792 rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] a: 409600 0 4.2BSD 2048 16384 16 # Cyl 0 - 399 c: 160171392 0 unused 0 0 # Cyl 0 -156417* > q Write new label?: [y] y disklabel: ioctl DIOCWDINFO: No space left on device disklabel: unable to write label #
Xavier -- Dear customer, we located the problem... It's between the keyboard and the chair! On Wed, 22 Mar 2006, Greg Oster wrote: > Xavier Mertens writes: > > Hi, > > > > I'm busy to set up a box with 2 x 80GB disks in RAID1. > > I'm following the procedures found online but, once the RAID is > > initialized, > > I got the follow error while trying to partition it: > > > > Write new label?: [y] > > disklabel: ioctl DIOCWDINFO: No space left on device > > disklabel: unable to write label > > > > The RAID is up, consistant: > > > > # raidctl -s raid0 > > raid0 Components: > > /dev/wd0d: optimal > > /dev/wd1d: optimal > > No spares. > > Parity status: clean > > Reconstruction is 100% complete. > > Parity Re-write is 100% complete. > > Copyback is 100% complete. > > > > disklabel report the following: > > > > # disklabel -E raid0 > > disklabel: Can't get bios geometry: Device not configured > > > > > > > > > > > > Initial label editor (enter '?' for help at any prompt) > > > p > > device: /dev/rraid0c > > type: RAID > > disk: raid > > label: fictitious > > bytes/sector: 512 > > sectors/track: 128 > > tracks/cylinder: 8 > > sectors/cylinder: 1024 > > cylinders: 156417 > > total sectors: 160171392 > > free sectors: 160171392 > > rpm: 3600 > > > > > > > > > > > > 16 partitions: > > # size offset fstype [fsize bsize cpg] > > a: 435841403 1416925149 unused 0 0 # Cyl > > 1383715*-180 > > 9342* > > c: 160171392 0 unused 0 0 # Cyl 0 > > -15641 > > 7* > > 435841403 + 1416925149 = 1852766552 which is greater than 160171392 > by 1692595160. If you fix the offset of 'a', I suspect things will > be happier. > > Later... > > Greg Oster