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

RaidFrame Problem



I am trying to create a RAID 5 array for some testing (before using it
for production storage).  I am using 3 120GB IDE drives.  They are all
on their own IDE channel.

When I created it using the entire drive size, everything worked fine.
 However, it took 12+ hours to initialize it.  I don't want to wait
that long to tweak settings during testing.

So, I unconfigured it, deleted the partitions and started over.  This
time I created 6GB partitions on each of the disks and tried to
recreate the same array as before.  When I do this, following the same
steps:
   disklabel -E wd1
        Created a partition on 'd' of 6GB with a type of RAID
   Create the following in raid1_5.conf
          START array
          # numRow numCol numSpare
          1 3 0
          START disks
          /dev/wd1d
          /dev/wd2d
          /dev/wd3d
          START layout
          # sectPerSU SUsPerParityUnit SUsPerReconUnit RAID_Level
          64 1 1 5
          START queue
          fifo 100
   raidctl -C /etc/raid1_5.conf raid0
        This step works fine, show no errors in /var/log/messages
   raidctl -I 111222 raid0
        This step doesn't work fine.  Shows errors:
           sun /bsd: WARNING: raid0: end of partition `c' exceeds the
size of raid (25165440)
           sun /bsd: WARNING: raid0: end of partition `d' exceeds the
size of raid (25165440)
   raidctl -vi raid0
           seems to work fine
   disklabel -E raid0
           create a single partition on 'a', using the entire drive
size, seems to work fine
   newfs /dev/raid0a
           errors with the following
                 newfs: /dev/raid0a: not a character-special device
                 newfs: wtfs: write error on block 468744191: No space
left on device

It seems to be a problem caused by using a partial drive partition. 
Another person seems to be having similar problems. 
http://groups-beta.google.com/group/comp.unix.bsd.openbsd.misc/browse_thread/thread/6c40f663bc585e5f/42827a8d5761b898?q=WARNING:+raid0:+end+of+partition+%60c%27+exceeds+the+size+of+raid#42827a8d5761b898

Any ideas?

Thanks



Visit your host, monkey.org