Raid 5 Volume gone.

Questions about SNMP, Power, System, Logs, disk, & RAID.

Raid 5 Volume gone.

Postby some1else » Thu Aug 09, 2012 6:39 pm

Need some help with my TS439.

Yesterday i saw that one of the drives was blinking red, i looked thru the logs and it said that it needed to be changed. Then i looked at the Disk Management - > SMART and the HDD was marked as "GOOD".

I then tougth that i could just take it out and then put it in for a rebuild and everything would be just fine. Something that did not happend. It was woring on something that looked like a raid rebuild, but when i should log on to the NAS GUI today i coul'nt access it at all and i cannot access the folders/shares.

I have no experience when it comes to telnet so i need some help. I have looked at other topics here, but are a bit scared to screw things up.

Hope this can help?
Code: Select all
admin@nas1's password:
[~] # /proc/mdstat
-sh: /proc/mdstat: Permission denied
[~] # cat /etc/mtab
/proc /proc proc rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
sysfs /sys sysfs rw 0 0
tmpfs /tmp tmpfs rw,size=64M 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/sda4 /mnt/ext ext3 rw 0 0
/dev/md9 /mnt/HDA_ROOT ext3 rw 0 0
tmpfs /.eaccelerator.tmp tmpfs rw,size=32M 0 0
none /sys/kernel/config configfs rw 0 0
[~] # cls
[~] # mdadm -E /dev/md0
mdadm: No md superblock detected on /dev/md0.
[~] # mdadm -E /dev/sda3
/dev/sda3:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 5f60caca:44a63b3f:beb8b3fc:e2dd991b
  Creation Time : Wed Jan  6 16:38:37 2010
     Raid Level : raid5
  Used Dev Size : 1951945600 (1861.52 GiB 1998.79 GB)
     Array Size : 5855836800 (5584.56 GiB 5996.38 GB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 0

    Update Time : Thu Aug  9 07:22:26 2012
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0
       Checksum : fe89f6cf - correct
         Events : 0.1079

         Layout : left-symmetric
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     0       8        3        0      active sync   /dev/sda3

   0     0       8        3        0      active sync   /dev/sda3
   1     1       8       19        1      active sync   /dev/sdb3
   2     2       8       35        2      active sync   /dev/sdc3
   3     3       8       51        3      active sync   /dev/sdd3
[~] # cat /etc/raidtab
raiddev /dev/md0
        raid-level      5
        nr-raid-disks   4
        nr-spare-disks  0
        chunk-size      4
        persistent-superblock   1
        device  /dev/sda3
        raid-disk       0
        device  /dev/sdb3
        raid-disk       1
        device  /dev/sdc3
        raid-disk       2
        device  /dev/sdd3
        raid-disk       3
[~] # mdadm -E /dev/sda3
/dev/sda3:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 5f60caca:44a63b3f:beb8b3fc:e2dd991b
  Creation Time : Wed Jan  6 16:38:37 2010
     Raid Level : raid5
  Used Dev Size : 1951945600 (1861.52 GiB 1998.79 GB)
     Array Size : 5855836800 (5584.56 GiB 5996.38 GB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 0

    Update Time : Thu Aug  9 07:22:26 2012
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0
       Checksum : fe89f6cf - correct
         Events : 0.1079

         Layout : left-symmetric
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     0       8        3        0      active sync   /dev/sda3

   0     0       8        3        0      active sync   /dev/sda3
   1     1       8       19        1      active sync   /dev/sdb3
   2     2       8       35        2      active sync   /dev/sdc3
   3     3       8       51        3      active sync   /dev/sdd3
[~] # /proc/mdstat
-sh: /proc/mdstat: Permission denied
[~] # /dev/md0
-sh: /dev/md0: Permission denied
[~] # mount /dev/md0
some1else
Starting out
 
Posts: 37
Joined: Wed Dec 16, 2009 5:29 am
NAS Model: TS-459 Pro

Re: Raid 5 Volume gone.

Postby Nick57 » Mon Aug 13, 2012 12:01 am

Hi,

Partly right what you did... but you forgot something very essential, each disk contains info about the raid set, therefore the disk was recognised as used before!

You should have done as follow, take that drive out and ZEROWIPE it in other PC, then check the SMART info, check if the disk is ok, YES, then you are lucky. BUT.... you can only put it back when you completely DBAN [ZEROWIPE] the drive, because the raid set will otherwise detect the drive as being used and it won't restart to rebuild the raid config.

Hope this helps.

Nick
TS-410U firmware 3.7.1 Build 20120615
4 x WD2002FYPS 2TB, RAID 5, 3 drives + 1 Spare.
Nick57
Starting out
 
Posts: 30
Joined: Mon Jul 05, 2010 12:12 am
NAS Model: SS-839 Pro

Re: Raid 5 Volume gone.

Postby some1else » Mon Aug 13, 2012 12:07 am

aha, tnx for the input. :)
great info if this happends again.
some1else
Starting out
 
Posts: 37
Joined: Wed Dec 16, 2009 5:29 am
NAS Model: TS-459 Pro

Re: Raid 5 Volume gone.

Postby Nick57 » Mon Aug 13, 2012 12:19 am

Your welcome ;-)
TS-410U firmware 3.7.1 Build 20120615
4 x WD2002FYPS 2TB, RAID 5, 3 drives + 1 Spare.
Nick57
Starting out
 
Posts: 30
Joined: Mon Jul 05, 2010 12:12 am
NAS Model: SS-839 Pro


Return to System & Disk Volume Management

Who is online

Users browsing this forum: ShadeTek and 2 guests