[BlueOnyx:17651] Re: Raid1 issue
Tom
wcstaff at webcoast.com
Thu May 21 10:45:20 -05 2015
> I believe this should do it:
>
> mdadm --manage /dev/md0 --add /dev/sdb1
> mdadm --manage /dev/md1 --add /dev/sdb2
>
> At least according to this guide:
>
> https://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array
>
I ran mdadm --detail /dev/md0 and mdadm --detail /dev/md1 and get the
following. They don't match and something is definitely wrong:
---------------------------------------------------------------
[root at ns ~]# mdadm --detail /dev/md1
/dev/md1:
Version : 1.1
Creation Time : Wed May 13 03:15:35 2015
Raid Level : raid1
Array Size : 243188736 (231.92 GiB 249.03 GB)
Used Dev Size : 243188736 (231.92 GiB 249.03 GB)
Raid Devices : 2
Total Devices : 1
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Thu May 21 11:41:32 2015
State : active, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Name : localhost.localdomain:1
UUID : 30487e41:f4b63b0b:680722e4:407ca64f
Events : 83362
Number Major Minor RaidDevice State
0 0 0 0 removed
1 8 2 1 active sync /dev/sda2
---------------------------------------------------------------
[root at ns ~]# mdadm --detail /dev/md0
/dev/md0:
Version : 1.0
Creation Time : Wed May 13 03:15:34 2015
Raid Level : raid1
Array Size : 819136 (800.07 MiB 838.80 MB)
Used Dev Size : 819136 (800.07 MiB 838.80 MB)
Raid Devices : 2
Total Devices : 3
Persistence : Superblock is persistent
Update Time : Thu May 21 06:01:33 2015
State : clean
Active Devices : 2
Working Devices : 3
Failed Devices : 0
Spare Devices : 1
Name : localhost.localdomain:0
UUID : b6b998e5:4e2028ae:fcba581c:9b702bbc
Events : 73
Number Major Minor RaidDevice State
2 8 17 0 active sync /dev/sdb1
1 8 1 1 active sync /dev/sda1
3 8 18 - spare /dev/sdb2
---------------------------------------------------------------
More information about the Blueonyx
mailing list