Hi,
I've a faulty drive and would like to replace it by a new one but on the GUI Raid Management the "remove" button is not enabled only the "recover", how can I proceed with the command line to remove the faulty drive and add the new one?
I know by the command below that the faulty drive is /dev/sdh
Code
root@server-nas:~# mdadm -D /dev/md126
/dev/md126:
Version : 1.2
Creation Time : Mon Jul 14 11:58:45 2014
Raid Level : raid5
Array Size : 1953262592 (1862.78 GiB 2000.14 GB)
Used Dev Size : 976631296 (931.39 GiB 1000.07 GB)
Raid Devices : 3
Total Devices : 3
Persistence : Superblock is persistent
Update Time : Wed Apr 22 17:23:42 2015
State : clean, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 1
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
Name : omv06-nas:storage0
UUID : 6adb8508:3b946839:1b3a4a8a:93185fc6
Events : 350
Number Major Minor RaidDevice State
0 0 0 0 removed
1 8 96 1 active sync /dev/sdg
2 8 128 2 active sync /dev/sdi
0 8 112 - faulty spare /dev/sdh
root@server-nas:~#
Display More
Thanks.