Hello.
I'm new to the forum and I'm a future "ex-Linux" user.
I really want to learn FreeBSD because of bad times I've had with Linux, and because my friends directed me to FreeBSD as being a much mature and stable OS. I'm trying to set RAID1-RAID0 on FreeBSD and I fail constantly. For easy understanding I will describe you the way I'm doing it on linux with two hdds.
On hda being the first disk, I fdisk the following layout:
hda1 500MB (type software RAID)
hda2 40GB (software RAID)
hda3 20G (software RAID)
hda4 1GB (SWAP)
I dump the layout on disk hdb as hdb1,hdb2,hdb3,hdb4.
After that I create RAID devices:
mirror md1 -from hda1/hdb1 mounted on /boot
mirror md2 -from hda2/hdb2 mounted on /
stripe md3 -from hda3/hdb3 mounted on /home
I mount the remaining hda4 and hdb4 as simple swap. On FreeBSD from what I understood so far gmirror will work only on entire disk so I cannot do gmirror and gstripe with just two disks.
Is there a way to achieve such thing with two hard-disks on FreeBSD? Thank you in advance and I'm very sorry for my bad english.
I'm new to the forum and I'm a future "ex-Linux" user.
I really want to learn FreeBSD because of bad times I've had with Linux, and because my friends directed me to FreeBSD as being a much mature and stable OS. I'm trying to set RAID1-RAID0 on FreeBSD and I fail constantly. For easy understanding I will describe you the way I'm doing it on linux with two hdds.
On hda being the first disk, I fdisk the following layout:
hda1 500MB (type software RAID)
hda2 40GB (software RAID)
hda3 20G (software RAID)
hda4 1GB (SWAP)
I dump the layout on disk hdb as hdb1,hdb2,hdb3,hdb4.
After that I create RAID devices:
mirror md1 -from hda1/hdb1 mounted on /boot
mirror md2 -from hda2/hdb2 mounted on /
stripe md3 -from hda3/hdb3 mounted on /home
I mount the remaining hda4 and hdb4 as simple swap. On FreeBSD from what I understood so far gmirror will work only on entire disk so I cannot do gmirror and gstripe with just two disks.
Is there a way to achieve such thing with two hard-disks on FreeBSD? Thank you in advance and I'm very sorry for my bad english.