Quote:
Originally Posted by kenoshi
If you run into issues with using whole drives, label your drives, and for each drive, create a partition and put all the space into that partition.
Then mirror the partitions instead.
|
If I understand you right, this is what the ubuntu server installer does: partition as FD, mirror them, then make file system on top of md*. I think there is no difference between ubuntu installer and manual mdadm create... cfdisk... and mkfs.reiserfs... commands. But after all this is the strange thing, that the manual built raids are out of the error logs. If you need more info please ask!
Edit: I use raid only on a "data" partition, not the whole hdd. The system is outside the raid.
root@Fileserver:~# fdisk -l /dev/sda
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x02820282
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1094 8787523+ 83 Linux
/dev/sda2 1095 19330 146480670 fd Linux raid autodetect
/dev/sda3 19331 19457 1020127+ 82 Linux swap / Solaris
root@Fileserver:~# fdisk -l /dev/sdb
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x29cd29cc
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1094 8787523+ 83 Linux
/dev/sdb2 1095 19330 146480670 fd Linux raid autodetect
/dev/sdb3 19331 19457 1020127+ 82 Linux swap / Solaris