Formatting Failure (Error Code:107) – CH3MNAS
After multiple moves of the NAS, one drive failed. So my Raid 1 was gong.
Ordering a new disk and replacing the faulty one, gave me:
Formatting Failure (Error Code:107) (Restart)
I have fun_plug installed, so was able to ssh into the linux kernal of the disk.
root@CH3MNAS:~# mdadm --detail /dev/md0 /dev/md0: Version : 00.90.03 Creation Time : Sat Jul 1 21:41:07 2017 Raid Level : raid1 Array Size : 1951407424 (1861.01 GiB 1998.24 GB) Device Size : 1951407424 (1861.01 GiB 1998.24 GB) Raid Devices : 2 Total Devices : 1 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Fri Aug 11 13:46:28 2017 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 UUID : deca97b0:e9d03d89:02b4d16e:e91b5409 Events : 0.126622 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 0 0 1 removed
Adding The New Hard Disk:
root@CH3MNAS:~# sfdisk -d /dev/sda | sfdisk /dev/sdb
root@CH3MNAS:~# mdadm –manage /dev/md0 –add /dev/sdb2
root@CH3MNAS:~# cat /proc/mdstat
root@CH3MNAS:~# cat /proc/mdstat Personalities : [linear] [raid0] [raid1] md0 : active raid1 sdb2[2] sda2[0] 1951407424 blocks [2/1] [U_] [>....................] recovery = 2.5% (49485376/1951407424) finish=263.8min speed=120113K/sec Looking MUTCH better..