[opensuse] Cannot create raid 5 opensuse 10.3
I am in the process of building a new server for our small business. The current server is running opensuse 10.2 and has 4 SATA I drives. The first drive has /swap, /boot (ext2 50 MB) and /storage (reiserfs 75 GB). then there are 3 80GB drives as md0 in a raid5 configuration with reiserfs. Al of this was configured via Yast when it was set up. The new server is basically the same, except the processor is a dual core Opteron as opposed to single core and the drives are bigger. Drive 1 is a 320GB Western Digital Sata II drive, and drives 2 -4 are each identical Western Digital 250GB SATA II drives. 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. I then tried using reiserfs instead of ext3. but got the follwoing error. Failure occurred during following action Mounting /dev/md0 to / System error code was -3003 mount -t reiserfs -oacl user_xattr /dev/md0 /mnt mount: erro wrong fs type, bad option, bad superblock on /dev/md0 missing codepage or helper program, or other error Motherboard is a TYAN S2925G2NR with nvidia nforce 3400 professional northbridge and Western Digital CAviar SATA I drives, all new. I ran memtest for about 4 hours, two complete passes and on the third with no errors prior to installing. SMART and the BIOS all indicate the hard drives are good. Googling on "short read" raid 5 errors and so forth didn't yield anything useful. Any ideas would be appreciated. I could try other filesystems, or i could try designating the RAID 5 as home. it is working fine as ? in my current system. 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
Mike Coan wrote:
I am in the process of building a new server for our small business.
The current server is running opensuse 10.2 and has 4 SATA I drives. The first drive has /swap, /boot (ext2 50 MB) and /storage (reiserfs 75 GB). then there are 3 80GB drives as md0 in a raid5 configuration with reiserfs. Al of this was configured via Yast when it was set up.
The new server is basically the same, except the processor is a dual core Opteron as opposed to single core and the drives are bigger. Drive 1 is a 320GB Western Digital Sata II drive, and drives 2 -4 are each identical Western Digital 250GB SATA II drives.
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.
I then tried using reiserfs instead of ext3. but got the follwoing error.
Failure occurred during following action Mounting /dev/md0 to / System error code was -3003 mount -t reiserfs -oacl user_xattr /dev/md0 /mnt mount: erro wrong fs type, bad option, bad superblock on /dev/md0 missing codepage or helper program, or other error
Motherboard is a TYAN S2925G2NR with nvidia nforce 3400 professional northbridge and Western Digital CAviar SATA I drives, all new. I ran memtest for about 4 hours, two complete passes and on the third with no errors prior to installing. SMART and the BIOS all indicate the hard drives are good.
Googling on "short read" raid 5 errors and so forth didn't yield anything useful. Any ideas would be appreciated. I could try other filesystems, or i could try designating the RAID 5 as home. it is working fine as ? in my current system.
Mike
Dunno about the short read...and under the assumption you are using MD raid, or 'software raid' rather than a motherboard controller 'fake-raid' controller and some forme of DM raid. 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. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Richard, On Thursday 18 October 2007 03:19:07 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.
I then tried using reiserfs instead of ext3. but got the follwoing error.
Failure occurred during following action Mounting /dev/md0 to / System error code was -3003 mount -t reiserfs -oacl user_xattr /dev/md0 /mnt mount: erro wrong fs type, bad option, bad superblock on /dev/md0 missing codepage or helper program, or other error
Motherboard is a TYAN S2925G2NR with nvidia nforce 3400 professional northbridge and Western Digital CAviar SATA I drives, all new. I ran memtest for about 4 hours, two complete passes and on the third with no errors prior to installing. SMART and the BIOS all indicate the hard drives are good.
Googling on "short read" raid 5 errors and so forth didn't yield anything useful. Any ideas would be appreciated. I could try other filesystems, or i could try designating the RAID 5 as home. it is working fine as ? in my current system.
Mike
Dunno about the short read...and under the assumption you are using MD raid, or 'software raid' rather than a motherboard controller 'fake-raid' controller and some forme of DM raid.
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 -- 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
participants (2)
-
Mike Coan
-
Richard Creighton