In the middle of rebuilding TS-220 with 2 new WD Reds

Questions about SNMP, Power, System, Logs, disk, & RAID.
Post Reply
VicByrd
New here
Posts: 8
Joined: Sat Jan 04, 2014 12:52 am

In the middle of rebuilding TS-220 with 2 new WD Reds

Post by VicByrd »

I have recently upgraded my TS220, with firmware 4.1.4-20150522, to 2 2TB WD Red drives in RAID 1. The process was:

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
[~] #
Once this last command errored out I stopped following the command sequence.

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)
Thanks in advance,
Victor
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: In the middle of rebuilding TS-220 with 2 new WD Reds

Post by pwilson »

VicByrd wrote:I have recently upgraded my TS220, with firmware 4.1.4-20150522, to 2 2TB WD Red drives in RAID 1. The process was:

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
[~] #
Once this last command errored out I stopped following the command sequence.

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)
Thanks in advance,
Victor

Check it again in "finish=75.8min"

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
VicByrd
New here
Posts: 8
Joined: Sat Jan 04, 2014 12:52 am

Re: In the middle of rebuilding TS-220 with 2 new WD Reds

Post by VicByrd »

I'm encouraged by the latest report:

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:109675 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14544 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532
          RX bytes:10747201 (10.2 MiB)  TX bytes:1384372 (1.3 MiB)
          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               4        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          37       110 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               17       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          37       110 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 12:55:08 2015
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           UUID : 7b71426f:5fc6c1cd:1140c704:25aecc4f
         Events : 0.33375

    Number   Major   Minor   RaidDevice State
       0       8        3        0      active sync   /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[0]
                 1463569600 blocks [2/2] [UU]

unused devices: <none>

Disk Space:

Filesystem                Size      Used Available Use% Mounted on
/dev/ramdisk             32.9M     31.3M      1.6M  95% /
tmpfs                    64.0M    128.0k     63.9M   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        88248       427196            0         2620
 Swap:            0            0            0
Total:       515444        88248       427196

NASReport completed on 2015-07-10 12:58:12 (/tmp/nasreport)
Qfinder Login = ERROR Page not found or the web server is currently unavailable.

I'm guessing initialization is in order (How to)?

Thanks for your response, I'm out for the next 6 hours but will check back afterwards.
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: In the middle of rebuilding TS-220 with 2 new WD Reds

Post by pwilson »

VicByrd wrote:I'm encouraged by the latest report:

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:109675 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14544 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532
          RX bytes:10747201 (10.2 MiB)  TX bytes:1384372 (1.3 MiB)
          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               4        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          37       110 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               17       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          37       110 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 12:55:08 2015
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           UUID : 7b71426f:5fc6c1cd:1140c704:25aecc4f
         Events : 0.33375

    Number   Major   Minor   RaidDevice State
       0       8        3        0      active sync   /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[0]
                 1463569600 blocks [2/2] [UU]

unused devices: <none>

Disk Space:

Filesystem                Size      Used Available Use% Mounted on
/dev/ramdisk             32.9M     31.3M      1.6M  95% /
tmpfs                    64.0M    128.0k     63.9M   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        88248       427196            0         2620
 Swap:            0            0            0
Total:       515444        88248       427196

NASReport completed on 2015-07-10 12:58:12 (/tmp/nasreport)
Qfinder Login = ERROR Page not found or the web server is currently unavailable.

I'm guessing initialization is in order (How to)?

Thanks for your response, I'm out for the next 6 hours but will check back afterwards.
The RAID array claims to be working. Only the NAS Admin WebUI isn't working.

Try re-installing QTS 4.1.4 Build 20150522 by following QNAPedia article: Manually Updating Firmware.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
VicByrd
New here
Posts: 8
Joined: Sat Jan 04, 2014 12:52 am

Re: In the middle of rebuilding TS-220 with 2 new WD Reds

Post by VicByrd »

Hey Patrick,

I am not able to find wget/scp/sftp commands in order to get the firmware image onto the NAS so I'm stuck. I am now logging in (putty) with my old admin password (admin as a password does not work) so I don't know if it's a permission issue or what. I can't even get the which command to show any results (with wget/scp/sftp). Can you tell I'm a newbie :mrgreen:

At your disposal and thank you for your help!
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: In the middle of rebuilding TS-220 with 2 new WD Reds

Post by pwilson »

VicByrd wrote:Hey Patrick,

I am not able to find wget/scp/sftp commands in order to get the firmware image onto the NAS so I'm stuck. I am now logging in (putty) with my old admin password (admin as a password does not work) so I don't know if it's a permission issue or what. I can't even get the which command to show any results (with wget/scp/sftp). Can you tell I'm a newbie :mrgreen:

At your disposal and thank you for your help!
Please provide output for:

Code: Select all

ls -alF /usr/bin/wget
which wget
cd /share/Public
/usr/bin/wget http://download.qnap.com/Storage/TS-220TurboNAS/TS-220_20150522-4.1.4.zip
#done

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
VicByrd
New here
Posts: 8
Joined: Sat Jan 04, 2014 12:52 am

Re: In the middle of rebuilding TS-220 with 2 new WD Reds

Post by VicByrd »

Morning,

Output from the latest code:

Code: Select all

[/] # ls -alF /usr/bin/wget
ls: /usr/bin/wget: No such file or directory
[/] # which wget
[/] # cd /share/Public
<com/Storage/TS-220TurboNAS/TS-220_20150522-4.1.4.zip
-sh: /usr/bin/wget: No such file or directory
[/share/Public] # #done
I believe that when I did the original swap, new for old on disk #2, that disk #1 was so full of bad sectors that the mirroring operation failed to do its job even though the operation completed successfully per the NAS. This resulted in a partial /usr/bin. I confirmed this by shutting down the NAS, pulling the drives and using r-studio to scan and recover all directories/files from the ext3 partition for both old disks. Disk #1 errored out during the scan process. Disk #2 is fine however. So I have recovered all files in that partition from disk #2 and all commands are present.

I thought that I would restore the /usr/bin directory from my "backup" which would get the commands back that I need to proceed with the firmware upgrade (to disk #1). Should I restore /usr/sbin or any other directories as well? Should I duplicate the effort on disk #2. I'm guessing the RAID will be marked as dirty if I restore with the disks out of the NAS.

Thanks again for hanging with me.

BTW - I tried the Qfinder firmware upgrade and it failed after progress bar hit 10%.
VicByrd
New here
Posts: 8
Joined: Sat Jan 04, 2014 12:52 am

Re: In the middle of rebuilding TS-220 with 2 new WD Reds

Post by VicByrd »

SOLVED - It was Disk 1 (too many bad sectors) so even though the rebuild process completed successfully the "full" RAID was not mirrored upon rebuild. To fix the problem I started over. Instead of replacing Disk 2 first I started with Disk 1:

1. Reloaded both old disks.
2. Restarted the NAS - boot successful, even got a green power light.
3. Shutdown the NAS and removed Disk 1 and replaced with a new drive.
4. NAS rebuilt successfully
5. Shutdown the NAS and removed Disk 2 and replaced with a new drive.
6. Rebuild in process now

I can now access the NAS through the web interface and the file system looks good.

Thanks for the help especially pwilson, well actually only pwilson - Thanks Pete.

The silver lining is the amount of learning that happened by using Putty and the command line. Now on to my next problem iSCSI LUN issues due to user error. Will start a new thread.
Post Reply

Return to “System & Disk Volume Management”