Re: [opensuse] Cannot create raid 5 opensuse 10.3



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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: RAID 1 drives and mirroring of data for backup question
    ... I reread the message and his RAID isn't ... > OP was that the 2nd partition existed, it just had nothing on it. ... > "Frank McCallister SBS MVP" wrote in message ... >>>I have a question about RAID 1 drives. ...
    (microsoft.public.windows.server.sbs)
  • Re: questions on partitions for exchange
    ... If your backup is using the exchange backup API, ... build process that starts with a FAT partition and then converts it to NTFS. ... The second local RAID 1 with the SMTP is fine if this is not a cluster. ... Because of the limitation on the number of physical drives, ...
    (microsoft.public.exchange.setup)
  • Re: A Problem With Replacing a Windows XP Computer Systems Disk Drives
    ... transfer a raid array from one set of drives to another. ... OS: Windows XP Home ... Four IDE 250GB drives in two Raid 0 Arrays ... Using the software provide by Seagate to copy the boot partition was ...
    (microsoft.public.windowsxp.hardware)
  • Re: Partition Question
    ... I'm also setting up a SBS Server but with SAS 6 drives. ... Is there any performance benfits in having the OS + Exchange & SQL Logs on ... RAID 1 and Exchange/SQL/user Data on RAID 5? ... I am planning a partition scheme that looks like this: ...
    (microsoft.public.windows.server.sbs)
  • Re: RAID, partitioning and imaging
    ... Any partition created will be mirrored / identical in your second raid drive ... You are aware that raid 1 is a mirror?, and as such you should be able to ... mirror, and so the problem would exist on both drives, so ...
    (microsoft.public.windowsxp.general)