On 7 Mar 2003, Stephen Kuhn wrote:

> Just wondering if anyone has worked with the linear RAID-0 setups for
> creating large partitions; I've created the following:
> 
> /etc/raidtab:
> 
> raiddev                 /dev/md0
> 
> raid-level              0
> persistent-superblock   1
> chunk-size              16
> nr-raid-disks           2
> nr-spare-disks          0
> 
> device                  /dev/hda3
> raid-disk               0
> 
> device                  /dev/hdb1
> raid-disk               1
> 
> ...after blowing out the partitions for /dev/hda3 and /dev/hdb1 and
> formatting them with /sbin/mkfs.ext3, then doing the mkraid /dev/md0 and
> mounting it, next reboot (which I fixed lilo finally) APPEARED to detect
> and configure the RAID, but when I tried to mount it, it choked and
> puked; haven't rebooted since as I need the partition to copy stuff
> around for customers - but is this going to happen again on the next
> reboot? I ended up having to recreate the RAID, format the RAID and then
> mount it...which I don't want to have to write a script for, I thought
> it was supposed to mount automagically...
> 

The problem was you didn't format the raid device.  It looks like you did 
this properly the second time by formatting the raid device instead of the 
individual disks.

-Nate

-- 
Nate Golnik                     Phone:  (919) 754-3700 x44382
        Red Hat System Administrator
        1801 Varsity Drive 
        Raleigh, NC 27606



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to