Creating multiple partitions in a software RAID
I have three disks that I need to make 2 RAID partitions on. I've checked all the documentation I could find, but none seemed to say how to do this.
Previously, I have created one RAID0 on them with no problems. Then my needs changed. I thought at first that I could use fdisk to partition it up, but that doesn't work apparently. Then I destroyed the first RAID and partitioned my three disks into 2 partitions each (sdb1,sdb2, sdbc1,sdc2, sdd1,sdd2). Then I added the new sections to /etc/raidtab under the md1 device and left the entries for md0, since they still seemed to apply. "mkraid /dev/md0" worked fine (after I applied --force to overwrite the old raid), but when I go to run "mkraid /dev/md1" I get the following:
handling MD device /dev/md1
analyzing super-block
couldn't open device /dev/sdb2 -- No such device or address
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
Any ideas what I'm doing wrong -- or is this even possible?
thanks.
|