drive is a spare, but I want to make it active - how?
I created RAID-10 on 4 drives, and I'm testing it a bit.
I removed one drive, and then added it again.
mdadm --detail says:
Version : 01.00.03
Creation Time : Thu Aug 10 10:15:18 2006
Raid Level : raid10
Array Size : 779264640 (743.16 GiB 797.97 GB)
Device Size : 779264640 (371.58 GiB 398.98 GB) Raid Devices : 4
Total Devices : 4
Preferred Minor : 11
Persistence : Superblock is persistent
Update Time : Thu Aug 10 13:14:44 2006
State : active, degraded, resyncing
Active Devices : 3
Working Devices : 4
Failed Devices : 0
Spare Devices : 1
Layout : near=2, far=1
Chunk Size : 64K
Rebuild Status : 39% complete
Name : 11
UUID : 3f0bf25c:614339d1:31c006be:e823b74d
Events : 13
Number Major Minor RaidDevice State
0 0 0 0 removed
1 8 18 1 active sync /dev/sdb2
2 8 34 2 active sync /dev/sdc2
3 8 50 3 active sync /dev/sdd2
4 8 2 - spare /dev/sda2
So, I have 4 working devices, which include 3 active devices and one spare device.
As I remember, with RAID-1, when I added a spare with "mdadm /dev/mdX -a /dev/sdY", I would see a message "hot added /dev/sdY", and state "spare rebuilding" in "mdadm --detail" output.
Right now I don't see the spare is being rebuilt? Spare HDD LED doesn't blink either, so it would indicate that it's doing nothing.
Why? Is it because the rebuild status is not complete?
Signature · 2 lines
Tomasz Chmielewski http://wpkg.org
Quoted 41 lines · Tomasz Chmielewski
I created RAID-10 on 4 drives, and I'm testing it a bit.
I removed one drive, and then added it again.
mdadm --detail says:
Version : 01.00.03 Creation Time : Thu Aug 10 10:15:18 2006 Raid Level : raid10 Array Size : 779264640 (743.16 GiB 797.97 GB) Device Size : 779264640 (371.58 GiB 398.98 GB)Raid Devices : 4
Total Devices : 4
Preferred Minor : 11
Persistence : Superblock is persistentUpdate Time : Thu Aug 10 13:14:44 2006
State : active, degraded, resyncing
Active Devices : 3
Working Devices : 4
Failed Devices : 0
Spare Devices : 1Layout : near=2, far=1
Chunk Size : 64KRebuild Status : 39% complete
Name : 11
UUID : 3f0bf25c:614339d1:31c006be:e823b74d
Events : 13Number Major Minor RaidDevice State
0 0 0 0 removed
1 8 18 1 active sync/dev/sdb2
2 8 34 2 active sync/dev/sdc2
3 8 50 3 active sync/dev/sdd24 8 2 - spare
/dev/sda2
Quoted 7 lines
So, I have 4 working devices, which include 3 active devices and one spare device.
As I remember, with RAID-1, when I added a spare with "mdadm
/dev/mdX-a/dev/sdY", I would see a message "hot added/dev/sdY", and state "spare rebuilding" in "mdadm --detail" output.Right now I don't see the spare is being rebuilt? Spare HDD LED doesn't blink either, so it would indicate that it's doing nothing.
Why? Is it because the rebuild status is not complete?
All right, it got "spare rebuilding" state after all other drives were rebuilt.
Signature · 2 lines
Tomasz Chmielewski http://wpkg.org