Skip to contentSkip to conversation

Kicking Non-Fresh From Array

DISCUSSION Sevatio 3 participants 3 messages May 20, 2004 – May 21, 2004 MD RAID

lore
Share & tools
lore

Sevatio

author
#0 lore raw

I can't figure out how to get a partition into a Raid1 array. Syslog tells me "kicking non-fresh hdc6 from array". Raidtab is set to assign /dev/hda6 & /dev/hdc6 to /dev/md1:

raiddev       /dev/md1
raid-level    1
chunk-size    64k

persistent-superblock 1
nr-raid-disks 2
device /dev/hda6
raid-disk 0
device /dev/hdc6
raid-disk 1

But mdstat only shows hda6 for md1. Also, I tried raidhotadd but it doesn't show hdc6 as being active:

md1 : active raid1 hdc6[1] hda6[0]

      6144704 blocks [1/1] [U]

How do I fix this to get hdc6 to join md1?

Thanks,
Sevatio

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sevatio wrote:

| I can't figure out how to get a partition into a Raid1 array.  Syslog
| tells me "kicking non-fresh hdc6 from array".  Raidtab is set to assign
| /dev/hda6 & /dev/hdc6 to /dev/md1:
|
| raiddev       /dev/md1
| raid-level    1
| chunk-size    64k
| persistent-superblock 1
| nr-raid-disks 2
|     device    /dev/hda6
|     raid-disk 0
|     device    /dev/hdc6
|     raid-disk 1
|
| But mdstat only shows hda6 for md1.  Also, I tried raidhotadd but it
| doesn't show hdc6 as being active:
|
| md1 : active raid1 hdc6[1] hda6[0]
|       6144704 blocks [1/1] [U]
|
| How do I fix this to get hdc6 to join md1?

check what kind of partition is hdc6. I always use 'fd' [Linux raid auto] and it works fine for me.

- --
Clemens Schwaighofer - IT Engineer & System Administration
==========================================================
TEQUILA\Japan, 6-17-2 Ginza Chuo-ku, Tokyo 104-8167, JAPAN
Tel: +81-(0)3-3545-7703 Fax: +81-(0)3-3545-7343
http://www.tequila.co.jp
==========================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFArcJpjBz/yQjBxz8RAlYwAKDsj9l/HH7jBNCkpTrQCvhjWbKbIQCfak9C Ej7gv8Czwc/AxK3vguatffE=
=9Jec
-----END PGP SIGNATURE-----

#2 lore raw
In reply to Sevatio

It looks like you created a RAID1 with 1 disk.
The "[U]" shows that.

md1 : active raid1 hdc6[1] hda6[0]

       6144704 blocks [1/1] [U]

So, if you add more disks to the array they will be spares. But that will never work since you only have 1 disk in the array.

A tool called Raidreconf allows you to add disks to a RAID5 array. I don't know if it supports RAID1 arrays.

Guy

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sevatio
Sent: Thursday, May 20, 2004 4:41 PM
To: [email protected]
Subject: Kicking Non-Fresh From Array

I can't figure out how to get a partition into a Raid1 array. Syslog tells me "kicking non-fresh hdc6 from array". Raidtab is set to assign /dev/hda6 & /dev/hdc6 to /dev/md1:

raiddev       /dev/md1
raid-level    1
chunk-size    64k

persistent-superblock 1
nr-raid-disks 2
device /dev/hda6
raid-disk 0
device /dev/hdc6
raid-disk 1

But mdstat only shows hda6 for md1. Also, I tried raidhotadd but it doesn't show hdc6 as being active:

md1 : active raid1 hdc6[1] hda6[0]

       6144704 blocks [1/1] [U]

How do I fix this to get hdc6 to join md1?

Thanks,
Sevatio
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html