Skip to contentSkip to conversation

new superblock and raid10 support in mdadm

DISCUSSION BO MOON 2 participants 2 messages Dec 22, 2004 MD RAID

lore
Share & tools
lore

BO MOON

author
#0 lore raw

Hello again,

I will re-iterate my question for raid10 or raid01.
1. Is raid10.c in ONLY linux2.6.xx? no support for 2.4.xx?
2. Does raid10.c support for RAID10 only? Or for both raid10 and raid01?
3. we can build raid10 or raid01 on linux2.4.xx without raid10.c code. What issues or bugs does this code take care of?
4. What rev of mdadm should be used for raid10? Mdadm1.7 or greater?

Thx,

Bo

-----Original Message-----
From: BO MOON [mailto:[email protected]]
Sent: Wednesday, December 22, 2004 10:59 AM
To: 'Neil Brown'; 'rich turner'
Cc: '[email protected]'
Subject: RE: new superblock and raid10 support in mdadm

Hello,

I noticed some discussions on last September email log, But I am not sure.

I tried to make RAID10 or RAID01. I could make it but Problem is that I could not assemble it by "mdadm -As" When the system is rebooted.

My "mdadm.conf" is

DEVICE /dev/hd*
ARRAY /dev/md0 level=raid1 num-devices=2 devices=/dev/hda4,/dev/hdc4 ARRAY /dev/md1 level=raid1 num-devices=2 devices=/dev/hde4,/dev/hdg4 ARRAY /dev/md2 level=raid0 num-devices=2 devices=/dev/md0,/dev/md1

My S/W revs are:

Linux 2.4.20
Mdadm 1.2.0

My HDD size are all greater than 120 GB.

I tried it manually, too: first assemble the RAID1: md0 and md1. Then tried to assemble "md2" but it said "could not find devices for md2"

We do not support RAID10 or RAID01 on linux2.4.xx? or any issues on mdadm?

Please provide me any clues or advices,

Bo

#1 lore raw
Quoted 4 lines · On Wednesday December 22, [email protected] wrote:

Hello again,

I will re-iterate my question for raid10 or raid01.
1. Is raid10.c in ONLY linux2.6.xx? no support for 2.4.xx?

2.6 only

Quoted 2 lines

2. Does raid10.c support for RAID10 only? Or for both raid10 and raid01?

raid10.c supports an arrangement where data is both striped and mirrored.
The difference between raid1+0 and raid0+1 (which also both stripe and mirror) is not relevant when the striping and mirroring is done in the one module.

Quoted 2 lines

3. we can build raid10 or raid01 on linux2.4.xx without raid10.c code. What issues or bugs does this code take care of?

raid10.c provides more flexibility and simpler management.

Quoted 2 lines

4. What rev of mdadm should be used for raid10? Mdadm1.7 or greater?

Should work with 1.7.0, but would recommend upgrading to 1.8.0 anyway (NOT 1.8.1).

NeilBrown