You shouldn't make a file system on the real disk partitions.  This is
the procedure you should try:

- Partition your disks with your favorite partition program
- Make your RAID devices with mkraid
- Run mke2fs -j on the resultant /dev/md device
- Mount and use

When you reboot your rc.sysinit script with start your RAID devices.
Make sure you add your mount point and device to /etc/fstab if you want
to have it mounted at boot time.

That's it.

Regards,
Andy.

-----Original Message-----
From: Stephen Kuhn [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 06, 2003 8:00 AM
To: [EMAIL PROTECTED]
Subject: RAID Tools and linear RAID arrays


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...

-- 
Stephen Kuhn <[EMAIL PROTECTED]>
Kuhn Media Australia



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



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

Reply via email to