On Thursday 18 October 2007 04:26:15 pm Richard Creighton wrote:
{stuff deleted}
Doing a clean install of opensuse 10.3. Again the first drive is /swap (2 GB) /boot (/ext2 50MB) and /storage (ext3 300GB or so). Drives 2-4 are md0 (460GB ext3) intended to be /
As Yast is formatting /, at the end of the process I get the following message:
Formatting software RAID /dev/md0 (465.7 GB) with ext3 System error code was -3008 /sbin/mke2fs -O div_index -j -v /dev/md0: mke2fs 1.40.2 (12-jul-2007) ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir.
I tried the installation a second time and got the identical error message.
[stuff deleted]
My configuration is totally contained in the following http://www.ricreig.com/pub/PartnTbl.png but if you would rather use a partition for swap rather than raid 0, just reserve the space as a primary partition and not assign it as a MD device and add the necessary adjustments in /fstab. I would make the /boot the first physical partition. The arrangement I am using works well. I use EXT3 formatting. Hope this helps.
Thanks for the reply. i am indeed using software RAID, not any RAID included with the motherboard. Your configuration is much more complicated than mine, and your RAID 5 is much larger than mine, so no reason mine shouldn't work. I will double check settings in my BIOS to make sure it isn't causing problems. I don't think I will put swap and boot on RAID, just /. looking at your setup, I couldn't see anything I did wrong.
Mike
Mike, I think in that case I would try creating 4 partitions on 1 drive, in the following order:
/boot approx 2 g to allow for a /boot.save directory also as a backup emergency restore / (root) (however much will fit) /tmp your guess...maybe 10G swap 2.5 times your ram size
on the remaining 3 drives, create equal sized single partitions and assign them to a raid 5 MD0 array and make this /home in FSTAB
I'm interested in the outcome.
Richard, I will give it a try. In the meantime I tried the following, to see if it was a problem with RAID5. I put 4 partitions on drive 1: /boot, swap, and /test. the 4th partition was a RAID partition, the same size as drive 2. then drives 3 and 4 were also made RAID partitions. I made the two partitions on Drive 1 and 2 a RAID 1 (md0) and called it /storage. I made disk 3 and 4 RAID 0, (md1) and called it /. The install created md0, but failed on md1 (the / partition) with the same error message as before. Seems like it doesn't like it when / is composed of entire drives. To give more detail on what I did before, I highlighted sdb, clicked on create, designated primary partition, specified Do not Format and chose RAID in the drop down box for file type. Did the same for sdc and sdd. yast showed 3 Linux RAID partitions labeled sb1, sc1, sd1. I clicked on RAID, then create, chose RAID5, and added all 3 drives to md0. In your example above i suppose you name the partitions primary for each drive. Mike -- Michael A. Coan Woodlawn Foundation 524 North Avenue, Suite 203 New Rochelle, NY 10801-3410 Tel 914-632-3778 Fax 914-632-5502 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org