Hot UNplug Drive 2 (old) - wait until beep = RAID degraded
Hot plug Drive 2 (new) - wait until beep = Status is rebuilding
Wait 12 hours - RAID status is good
Hot UNplug Drive 1 (old) - wait until beep = lost Web interface
Hot plug Drive 1 (new) - Qfinder identifies NAS and lists 2 WD Red drives as good
RAID is not being rebuilt though.
So I followed post @ http://forum.qnap.com/viewtopic.php?f=25&t=111752 (Thanks pwilson) and I am posting the putty log:
Code: Select all
admin@10.0.0.99's password:
[~] # config_util 1
config_util: No initialized HD exists.
[~] # storage_boot_init 1
storage_boot_init 1 ...
[~] # sleep 30
[~] # storage_boot_init 1
storage_boot_init 1 ...
[~] # sleep 30
[~] # storage_boot_init 2
storage_boot_init 2 ...
mdadm: /dev/md0 has been started with 1 drive (out of 2) and 1 spare.
storage_boot_init.c: Start raid device /dev/md0 successfully
md0 : active raid1 sdb3[1] sda3[2]
md0 : active raid1 sdb3[1] sda3[2]
storage_boot_init.c: /dev/md0 is active.
storage_boot_init.c: Check filesystem on /dev/md0.
sh: /sbin/smbtools: No such file or directory
md5sum: /etc/config/proftpd.conf: No such file or directory
sh: /sbin/smbtools: No such file or directory
sh: /sbin/smbtools: No such file or directory
sh: /sbin/smbtools: No such file or directory
sh: /sbin/smbtools: No such file or directory
sh: /sbin/smbtools: No such file or directory
sh: /sbin/smbtools: No such file or directory
sh: /sbin/smbtools: No such file or directory
sh: /sbin/smbtools: No such file or directory
sh: /sbin/smbtools: No such file or directory
Restore default shares on vol[1]
storage_boot_init.c: check_last_degrade_error...
[~] # config_util 4
Start to mirror RFS_EXT part...
config_util(check_boot_conf): ret=0, /dev/sda1 is successfully mounted.
config_util(check_boot_conf): ret=0, /dev/sdb1 is successfully mounted.
config_util: HD1 is TS-NASARM.
config_util: HD2 is TS-NASARM.
mdadm: /dev/sda4 has been started with 2 drives.
config_util: (0) /dev/sda4 size = 458880
Mirror of RFS_EXT succeeded.
[~] # mount /dev/sda4 /mnt/ext
mount: you must specify the filesystem type
[~] #
Currently both HD drive lights are flashing and the power light is GREEN with intermittent RED (approx 1 second interval)
My question is, although it appears that the NAS is rebuilding Drive 1 and hence the RAID1 what should I do next if my web interface is still "missing" or will it magically reappear after the RAID1 is rebuilt since config should be back at defaults?
NASReport follows:
Code: Select all
*********************
** QNAP NAS Report **
*********************
NAS Model: TS-220
Firmware: 4.1.4 Build 20150522
System Name: NASD68C06
Workgroup: NAS
Base Directory: /share/MD0_DATA
NAS IP address: 10.0.0.99
Default Gateway Device: eth0
inet addr:10.0.0.99 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:63136 errors:0 dropped:0 overruns:0 frame:0
TX packets:6809 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:532
RX bytes:6235961 (5.9 MiB) TX bytes:623909 (609.2 KiB)
Interrupt:11
DNS Nameserver(s):10.0.0.100
HDD Information:
HDD1 - Model=WDC WD20EFRX-68EUZN0 , FwRev=82.00A82, SerialNo= WD-WCC4MFLDVNYC
Model: WDC WD20EFRX-68EUZN0 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 20.5kB 543MB 543MB primary ext3
2 543MB 1086MB 543MB primary linux-swap(v1)
3 1086MB 2000GB 1999GB primary ext4
4 2000GB 2000GB 510MB primary
001 Raw_Read_Error_Rate 0 100 253 051 OK
003 Spin_Up_Time 0 100 253 021 OK
004 Start_Stop_Count 3 100 100 000 OK
005 Reallocated_Sector_Ct 0 200 200 140 OK
007 Seek_Error_Rate 0 200 200 000 OK
009 Power_On_Hours 2 100 100 000 OK
010 Spin_Retry_Count 0 100 253 000 OK
011 Calibration_Retry_Count 0 100 253 000 OK
012 Power_Cycle_Count 3 100 100 000 OK
192 Power-Off_Retract_Count 2 200 200 000 OK
193 Load_Cycle_Count 0 200 200 000 OK
194 Temperature_Celsius 38 109 109 000 OK
196 Reallocated_Event_Count 0 200 200 000 OK
197 Current_Pending_Sector 0 200 200 000 OK
198 Offline_Uncorrectable 0 100 253 000 OK
199 UDMA_CRC_Error_Count 0 200 200 000 OK
200 Multi_Zone_Error_Rate 0 100 253 000 OK
HDD2 - Model=WDC WD20EFRX-68EUZN0 , FwRev=82.00A82, SerialNo= WD-WCC4MHTU3DPR
Model: WDC WD20EFRX-68EUZN0 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 20.5kB 543MB 543MB primary ext3
2 543MB 1086MB 543MB primary linux-swap(v1)
3 1086MB 2000GB 1999GB primary ext4
4 2000GB 2000GB 510MB primary ext3
001 Raw_Read_Error_Rate 0 200 200 051 OK
003 Spin_Up_Time 4225 175 175 021 OK
004 Start_Stop_Count 9 100 100 000 OK
005 Reallocated_Sector_Ct 0 200 200 140 OK
007 Seek_Error_Rate 0 200 200 000 OK
009 Power_On_Hours 15 100 100 000 OK
010 Spin_Retry_Count 0 100 253 000 OK
011 Calibration_Retry_Count 0 100 253 000 OK
012 Power_Cycle_Count 9 100 100 000 OK
192 Power-Off_Retract_Count 6 200 200 000 OK
193 Load_Cycle_Count 2 200 200 000 OK
194 Temperature_Celsius 36 111 107 000 OK
196 Reallocated_Event_Count 0 200 200 000 OK
197 Current_Pending_Sector 0 200 200 000 OK
198 Offline_Uncorrectable 0 100 253 000 OK
199 UDMA_CRC_Error_Count 0 200 200 000 OK
200 Multi_Zone_Error_Rate 0 100 253 000 OK
Volume Status
/dev/md0:
Version : 00.90.03
Creation Time : Sat Jan 4 00:59:27 2014
Raid Level : raid1
Array Size : 1463569600 (1395.77 GiB 1498.70 GB)
Used Dev Size : 1463569600 (1395.77 GiB 1498.70 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Fri Jul 10 11:29:51 2015
State : clean, degraded, recovering
Active Devices : 1
Working Devices : 2
Failed Devices : 0
Spare Devices : 1
Rebuild Status : 62% complete
UUID : 7b71426f:5fc6c1cd:1140c704:25aecc4f
Events : 0.33364
Number Major Minor RaidDevice State
2 8 3 0 spare rebuilding /dev/sda3
1 8 19 1 active sync /dev/sdb3
Personalities : [raid1] [linear] [raid0] [raid6] [raid5] [raid4]
md13 : active raid1 sda4[0] sdb4[2]
458880 blocks super 1.0 [2/2] [UU]
bitmap: 0/8 pages [0KB], 32KB chunk
md0 : active raid1 sdb3[1] sda3[2]
1463569600 blocks [2/1] [_U]
[============>........] recovery = 62.9% (921560704/1463569600) finish=75.8min speed=119129K/sec
unused devices: <none>
Disk Space:
Filesystem Size Used Available Use% Mounted on
/dev/ramdisk 32.9M 31.3M 1.6M 95% /
tmpfs 64.0M 256.0k 63.8M 0% /tmp
/dev/md0 1.3T 1.0T 347.6G 75% /share/MD0_DATA
Mount Status:
/proc on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,size=64M)
none on /proc/bus/usb type usbfs (rw)
/dev/md0 on /share/MD0_DATA type ext4 (rw,usrjquota=aquota.user,jqfmt=vfsv0,user_xattr,data=ordered,delalloc,noacl)
Memory Information:
total used free shared buffers
Mem: 515444 90092 425352 0 2616
Swap: 0 0 0
Total: 515444 90092 425352
NASReport completed on 2015-07-10 11:30:49 (/tmp/nasreport)
Victor