Raid 5 wont Recover

Questions about SNMP, Power, System, Logs, disk, & RAID.
Post Reply
coxie
New here
Posts: 6
Joined: Sat Apr 11, 2015 11:09 am

Raid 5 wont Recover

Post by coxie »

Hi, My QNap has failed to recover from something.

My Config :
QNAP TS-451
4 of WDC WD30EFRX

Web Interface shows all HDDs as Good.
SSH Shows the following

Code: Select all

[~] # fdisk -l

Disk /dev/sda: 3000.5 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1      267350  2147483647+  ee  EFI GPT

Disk /dev/sdc: 3000.5 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      267350  2147483647+  ee  EFI GPT

Disk /dev/sdb: 3000.5 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      267350  2147483647+  ee  EFI GPT

Disk /dev/sdd: 3000.5 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      267350  2147483647+  ee  EFI GPT

Disk /dev/sde: 515 MB, 515899392 bytes
8 heads, 32 sectors/track, 3936 cylinders
Units = cylinders of 256 * 512 = 131072 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1          41        5244   83  Linux
/dev/sde2   *          42        1922      240768   83  Linux
/dev/sde3            1923        3803      240768   83  Linux
/dev/sde4            3804        3936       17024    5  Extended
/dev/sde5            3804        3868        8304   83  Linux
/dev/sde6            3869        3936        8688   83  Linux

Disk /dev/md9: 542 MB, 542769152 bytes
2 heads, 4 sectors/track, 132512 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md9 doesn't contain a valid partition table

Disk /dev/md13: 469 MB, 469893120 bytes
2 heads, 4 sectors/track, 114720 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md13 doesn't contain a valid partition table

Disk /dev/md256: 542 MB, 542834688 bytes
2 heads, 4 sectors/track, 132528 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md256 doesn't contain a valid partition table
Any help would be appreciated.
Thanks
Craig
coxie
New here
Posts: 6
Joined: Sat Apr 11, 2015 11:09 am

Re: Raid 5 wont Recover

Post by coxie »

attached report as per a similar post.

Code: Select all

*********************
** QNAP NAS Report **
*********************

NAS Model:      TS-451
Firmware:       4.1.4 Build 20150522
System Name:    CoxieNAS
Workgroup:      NAS
Base Directory: /share/CACHEDEV1_DATA
NAS IP address: 192.168.102.5

Default Gateway Device: eth0

          inet addr:192.168.102.5  Bcast:192.168.102.255  Mask:255.255.255.0
          inet6 addr: fe80::208:9bff:fee6:8812/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:75081 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72994 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:34929303 (33.3 MiB)  TX bytes:23679290 (22.5 MiB)


DNS Nameserver(s):61.9.211.1
61.9.211.33


HDD Information:

HDD1 - Model=WDC WD30EFRX-68EUZN0                    , FwRev=82.00A82, SerialNo=     WD-WCC4N0SN0YP2


Model: WDC WD30EFRX-68EUZN0 (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB   linux-swap(v1)  primary
 3      1086MB  2991GB  2990GB                  primary
 4      2991GB  2992GB  543MB   ext3            primary
 5      2992GB  3001GB  8554MB  linux-swap(v1)  primary



HDD2 - Model=WDC WD30EFRX-68EUZN0                    , FwRev=82.00A82, SerialNo=     WD-WCC4N7RCLN38

Model: WDC WD30EFRX-68EUZN0 (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB   linux-swap(v1)  primary
 3      1086MB  2991GB  2990GB                  primary
 4      2991GB  2992GB  543MB   ext3            primary
 5      2992GB  3001GB  8554MB  linux-swap(v1)  primary



HDD3 - Model=WDC WD30EFRX-68EUZN0                    , FwRev=82.00A82, SerialNo=     WD-WMC4N0EA8WNP

Model: WDC WD30EFRX-68EUZN0 (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB                   primary
 3      1086MB  2991GB  2990GB                  primary
 4      2991GB  2992GB  543MB   ext3            primary
 5      2992GB  3001GB  8554MB  linux-swap(v1)  primary



HDD4 - Model=WDC WD30EFRX-68EUZN0                    , FwRev=82.00A82, SerialNo=     WD-WMC4N0F9E2LD

Model: WDC WD30EFRX-68EUZN0 (scsi)
Disk /dev/sdd: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB   linux-swap(v1)  primary
 3      1086MB  2991GB  2990GB                  primary
 4      2991GB  2992GB  543MB   ext3            primary
 5      2992GB  3001GB  8554MB  linux-swap(v1)  primary



HDD5 - Model=        , FwRev=, SerialNo=91007492F8B9B002

Model:  USB DISK MODULE (scsi)
Disk /dev/sde: 516MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      4096B   5374kB  5370kB  primary   ext2
 2      5374kB  252MB   247MB   primary   ext2         boot
 3      252MB   498MB   247MB   primary   ext2
 4      498MB   516MB   17.4MB  extended
 5      498MB   507MB   8503kB  logical   ext2
 6      507MB   516MB   8897kB  logical   ext2


Open device fail

HDD6 -Drive absent
HDD7 -Drive absent
HDD8 -Drive absent
HDD9 -Drive absent
HDD10 -Drive absent
HDD11 -Drive absent
HDD12 -Drive absent
Volume Status


Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
md256 : active raid1 sda2[0](S) sdd2[3] sdc2[2](S) sdb2[1]
      530112 blocks super 1.0 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md13 : active raid1 sda4[0] sdd4[3] sdc4[2] sdb4[1]
      458880 blocks super 1.0 [24/4] [UUUU____________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md9 : active raid1 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      530048 blocks super 1.0 [24/4] [UUUU____________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

unused devices: <none>

Disk Space:

Filesystem                Size      Used Available Use% Mounted on
none                    200.0M    142.7M     57.3M  71% /
devtmpfs                  1.9G      4.0k      1.9G   0% /dev
tmpfs                    64.0M      2.2M     61.8M   3% /tmp
tmpfs                     1.9G         0      1.9G   0% /dev/shm
/dev/md9                509.5M    124.0M    385.5M  24% /mnt/HDA_ROOT
/dev/md13               364.2M    285.2M     79.0M  78% /mnt/ext

Mount Status:

none on /new_root type tmpfs (rw,mode=0755,size=200M)
/proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,size=64M)
tmpfs on /dev/shm type tmpfs (rw)
/dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered)
/dev/md13 on /mnt/ext type ext3 (rw,data=ordered)
nfsd on /proc/fs/nfsd type nfsd (rw)


Memory Information:

              total         used         free       shared      buffers
  Mem:      3946776       646732      3300044            0         8740
 Swap:       530108            0       530108
Total:      4476884       646732      3830152

NASReport completed on 2015-08-04 12:52:43 (/tmp/nasreport)
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Raid 5 wont Recover

Post by pwilson »

coxie wrote:attached report as per a similar post.

Code: Select all

*********************
** QNAP NAS Report **
*********************

NAS Model:      TS-451
Firmware:       4.1.4 Build 20150522
System Name:    CoxieNAS
Workgroup:      NAS
Base Directory: /share/CACHEDEV1_DATA
NAS IP address: 192.168.102.5

Default Gateway Device: eth0

          inet addr:192.168.102.5  Bcast:192.168.102.255  Mask:255.255.255.0
          inet6 addr: fe80::208:9bff:fee6:8812/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:75081 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72994 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:34929303 (33.3 MiB)  TX bytes:23679290 (22.5 MiB)


DNS Nameserver(s):61.9.211.1
61.9.211.33


HDD Information:

HDD1 - Model=WDC WD30EFRX-68EUZN0                    , FwRev=82.00A82, SerialNo=     WD-WCC4N0SN0YP2


Model: WDC WD30EFRX-68EUZN0 (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB   linux-swap(v1)  primary
 3      1086MB  2991GB  2990GB                  primary
 4      2991GB  2992GB  543MB   ext3            primary
 5      2992GB  3001GB  8554MB  linux-swap(v1)  primary



HDD2 - Model=WDC WD30EFRX-68EUZN0                    , FwRev=82.00A82, SerialNo=     WD-WCC4N7RCLN38

Model: WDC WD30EFRX-68EUZN0 (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB   linux-swap(v1)  primary
 3      1086MB  2991GB  2990GB                  primary
 4      2991GB  2992GB  543MB   ext3            primary
 5      2992GB  3001GB  8554MB  linux-swap(v1)  primary



HDD3 - Model=WDC WD30EFRX-68EUZN0                    , FwRev=82.00A82, SerialNo=     WD-WMC4N0EA8WNP

Model: WDC WD30EFRX-68EUZN0 (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB                   primary
 3      1086MB  2991GB  2990GB                  primary
 4      2991GB  2992GB  543MB   ext3            primary
 5      2992GB  3001GB  8554MB  linux-swap(v1)  primary



HDD4 - Model=WDC WD30EFRX-68EUZN0                    , FwRev=82.00A82, SerialNo=     WD-WMC4N0F9E2LD

Model: WDC WD30EFRX-68EUZN0 (scsi)
Disk /dev/sdd: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      20.5kB  543MB   543MB   ext3            primary
 2      543MB   1086MB  543MB   linux-swap(v1)  primary
 3      1086MB  2991GB  2990GB                  primary
 4      2991GB  2992GB  543MB   ext3            primary
 5      2992GB  3001GB  8554MB  linux-swap(v1)  primary



HDD5 - Model=        , FwRev=, SerialNo=91007492F8B9B002

Model:  USB DISK MODULE (scsi)
Disk /dev/sde: 516MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      4096B   5374kB  5370kB  primary   ext2
 2      5374kB  252MB   247MB   primary   ext2         boot
 3      252MB   498MB   247MB   primary   ext2
 4      498MB   516MB   17.4MB  extended
 5      498MB   507MB   8503kB  logical   ext2
 6      507MB   516MB   8897kB  logical   ext2


Open device fail

HDD6 -Drive absent
HDD7 -Drive absent
HDD8 -Drive absent
HDD9 -Drive absent
HDD10 -Drive absent
HDD11 -Drive absent
HDD12 -Drive absent
Volume Status


Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
md256 : active raid1 sda2[0](S) sdd2[3] sdc2[2](S) sdb2[1]
      530112 blocks super 1.0 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md13 : active raid1 sda4[0] sdd4[3] sdc4[2] sdb4[1]
      458880 blocks super 1.0 [24/4] [UUUU____________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md9 : active raid1 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      530048 blocks super 1.0 [24/4] [UUUU____________________]
      bitmap: 1/1 pages [4KB], 65536KB chunk

unused devices: <none>

Disk Space:

Filesystem                Size      Used Available Use% Mounted on
none                    200.0M    142.7M     57.3M  71% /
devtmpfs                  1.9G      4.0k      1.9G   0% /dev
tmpfs                    64.0M      2.2M     61.8M   3% /tmp
tmpfs                     1.9G         0      1.9G   0% /dev/shm
/dev/md9                509.5M    124.0M    385.5M  24% /mnt/HDA_ROOT
/dev/md13               364.2M    285.2M     79.0M  78% /mnt/ext

Mount Status:

none on /new_root type tmpfs (rw,mode=0755,size=200M)
/proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,size=64M)
tmpfs on /dev/shm type tmpfs (rw)
/dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered)
/dev/md13 on /mnt/ext type ext3 (rw,data=ordered)
nfsd on /proc/fs/nfsd type nfsd (rw)


Memory Information:

              total         used         free       shared      buffers
  Mem:      3946776       646732      3300044            0         8740
 Swap:       530108            0       530108
Total:      4476884       646732      3830152

NASReport completed on 2015-08-04 12:52:43 (/tmp/nasreport)
Please provide output for:

Code: Select all

mdadm -D /dev/md1
vgdisplay
#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.
coxie
New here
Posts: 6
Joined: Sat Apr 11, 2015 11:09 am

Re: Raid 5 wont Recover

Post by coxie »

[~] # mdadm -D /dev/md1
mdadm: cannot open /dev/md1: No such file or directory
[~] # vgdisplay
No volume groups found
[~] # #done
coxie
New here
Posts: 6
Joined: Sat Apr 11, 2015 11:09 am

Re: Raid 5 wont Recover

Post by coxie »

Not Sure if this helps or not...

Code: Select all

[~] # mdadm -D /dev/md256
/dev/md256:
        Version : 1.0
  Creation Time : Tue Aug  4 11:16:51 2015
     Raid Level : raid1
     Array Size : 530112 (517.77 MiB 542.83 MB)
  Used Dev Size : 530112 (517.77 MiB 542.83 MB)
   Raid Devices : 2
  Total Devices : 4
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Tue Aug  4 12:22:16 2015
          State : active
 Active Devices : 2
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 2

           Name : 256
           UUID : 82fd6d01:3bdf5289:ad7b9bd6:eb7f6e0f
         Events : 45

    Number   Major   Minor   RaidDevice State
       3       8       50        0      active sync   /dev/sdd2
       1       8       18        1      active sync   /dev/sdb2

       0       8        2        -      spare   /dev/sda2
       2       8       34        -      spare   /dev/sdc2
[~] # vgdisplay
  No volume groups found
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Raid 5 wont Recover

Post by pwilson »

coxie wrote:Not Sure if this helps or not...

Code: Select all

[~] # mdadm -D /dev/md256
/dev/md256:
        Version : 1.0
  Creation Time : Tue Aug  4 11:16:51 2015
     Raid Level : raid1
     Array Size : 530112 (517.77 MiB 542.83 MB)
  Used Dev Size : 530112 (517.77 MiB 542.83 MB)
   Raid Devices : 2
  Total Devices : 4
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Tue Aug  4 12:22:16 2015
          State : active
 Active Devices : 2
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 2

           Name : 256
           UUID : 82fd6d01:3bdf5289:ad7b9bd6:eb7f6e0f
         Events : 45

    Number   Major   Minor   RaidDevice State
       3       8       50        0      active sync   /dev/sdd2
       1       8       18        1      active sync   /dev/sdb2

       0       8        2        -      spare   /dev/sda2
       2       8       34        -      spare   /dev/sdc2
[~] # vgdisplay
  No volume groups found
Not helpful. Your data used to live in /share/CACHEDEV1_DATA which is normally attached to /dev/md1. This does not seem to exist, so you will have to rely on your frequent Backups. (This is precisely why you make frequent Backups. Important data is always Backed up. Unimportant data is not).

How recent is your most recent Backup of your NAS shares?

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.
coxie
New here
Posts: 6
Joined: Sat Apr 11, 2015 11:09 am

Re: Raid 5 wont Recover

Post by coxie »

I do not have any local backups, The Data on the drive isnt my important data, that's backed up elsewhere. The files on here can be recovered from the cloud, but downloading 2TB from the cloud is just a little painful and slow (We are lucky to get 2Mb/s here in AUS).
The drives are all saying that they are 'Good' and it shows that DatVol1 is present, but it wont recover? Is there anything else i can do?
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Raid 5 wont Recover

Post by pwilson »

coxie wrote:I do not have any local backups, The Data on the drive isnt my important data, that's backed up elsewhere. The files on here can be recovered from the cloud, but downloading 2TB from the cloud is just a little painful and slow (We are lucky to get 2Mb/s here in AUS).
The drives are all saying that they are 'Good' and it shows that DatVol1 is present, but it wont recover? Is there anything else i can do?
Not having "local" Backups will indeed make this difficult/slow. Poor decision on your part. The "Cloud" is fine for "secondary" Backups, but it is not suitable for a "primary" Backup for exactly the reasons "you" already stated.

Submit a ticket with the QNAP Helpdesk, perhaps they can manually rebuild your Volume for you. It is a shame you weren't smart enough to make "local Backups" in addition to your "Cloud Backups".

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.
coxie
New here
Posts: 6
Joined: Sat Apr 11, 2015 11:09 am

Re: Raid 5 wont Recover

Post by coxie »

Thank you for your help, albeit with a little less of the abusive comments and this might have been a nicer experience, you are a very helpful man, but telling people they have made a Poor decision and that they are not very smart, well that's just not very smart on your behalf. i will be reporting this post.
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Raid 5 wont Recover

Post by schumaku »

No need to blame others for the lack of backup @coxie.
Post Reply

Return to “System & Disk Volume Management”