Hello,
I’ll try to explain simple way, since I’m lost but half way there …
I have 2 physical hdd in my computer. (hda, hdb)
I connect them to sata connectors on motherboard.
I insert opensuse 11.2.iso image, I reboot computer, when installation runs and comes to partitioning part, I choose to make custom partitions like:
first I make partitions for /dev/hda disk
- 100.00 MB
- 4.00 GB
- 40.00 GB
- rest of the hard disk
second I make partitions for /dev/hdb disk
- 100.00 MB
- 4.00 GB
- 40.00 GB
- rest of the hard disk
For all above *8 partitions *4 on each disk (sda, sdb) I choose “New partition type = primary partition”, “do not format partition = 0xFD linux raid”, “do not mount partition”. Under “menu/raid” I geather all same size partitions from /dev/sda and /dev/sdb.
Example:
raid 1 (mirroring)
/dev/sda1 + /dev/sdb1 (format partition = Ext4, mount partition = /boot)
raid 1 (mirroring)
/dev/sda2 + /dev/sdb2 (format partition = Swap, mount partition = swap)
raid 1 (mirroring)
/dev/sda3 + /dev/sdb3 (format partition = Ext4, mount partition = /)
raid 1 (mirroring)
/dev/sda4 + /dev/sdb4 (format partition = Ext4, mount partition = /home)
Now the output is:
/dev/sda1 + /dev/sdb1 = /dev/md0 (Type = MD raid Ext4, Mount Point = /boot)
/dev/sda2 + /dev/sdb2 = /dev/md1 (Type = MD raid Swap, Mount Point = swap)
/dev/sda3 + /dev/sdb3 = /dev/md2 (Type = MD raid Ext4, Mount Point = /)
/dev/sda4 + /dev/sdb4 = /dev/md3 (Type = MD raid Ext4, Mount Point = /home)
After above I make installation of opensuse 11.2.
Since I’m using this setup on one of test servers, after OS is running I just unplug one of disks (/dev/sda, or dev/sdb), however second disk also fails to continue functioning normal.
Hope that above explains the situation. **The question is how to force “healthy” disk (sda, or sdb) to stay in place and do it’s job if second disk (sda, or sdb) fails?
**