WD Community

EX 4100, RAID 5 failure after adding new Disk as spare

Hello All,

I have a EX4100 NAS with 3 x 6TB WD Red Hdd, with RAID 5 configuration. since 2019 was working perfect. Because of the 3 years non stop working, I decided to add a spare disk at bay 4. I started the procedure to add the spare disk (also a 6TB WD Red Hdd), the NAS checked the disk, and started to create the spare disk. All gone well, except the message I got from the NAS Portal page for a damaged Volume. I checked my data, even the iSCSI disk, and all was there and I worked like that for few days.
Last week I had to make a shut down of the NAS. When it come up again, all disks was red led, and the information page of the NAS say there is no volume, all disks are healthy, but the RAID 5 Volume disappeared. I tried to remove the spare disk while the NAS was shutdown, but nothing change. I have run mdadm to see things, and I can see the raid 5 with 3 disks, I have a feeling that NAS messed the order of the disks. Any help will be welcome and appreciated to bring back my Volume

Dimitris

Results from mdadm (Taygetos is the name of the Volume)

root@Taygetos ~ # mdadm --examine /dev/sd*2
/dev/sda2:
Magic : a92b4efc
Version : 1.0
Feature Map : 0x1
Array UUID : ------
Name : 1
Creation Time : Sat Jun 1 18:42:42 2019
Raid Level : raid5
Raid Devices : 3

Avail Dev Size : 11712653280 (5585.03 GiB 5996.88 GB)
Array Size : 11712652928 (11170.06 GiB 11993.76 GB)
Used Dev Size : 11712652928 (5585.03 GiB 5996.88 GB)
Super Offset : 11712653296 sectors
Unused Space : before=0 sectors, after=360 sectors
State : clean
Device UUID : ------

Internal Bitmap : 2 sectors from superblock
Update Time : Mon Mar 14 18:49:37 2022
Bad Block Log : 512 entries available at offset -8 sectors
Checksum : 4eaa15f2 - correct
Events : 9372

     Layout : left-symmetric
 Chunk Size : 64K

Device Role : spare
Array State : AAA (‘A’ == active, ‘.’ == missing, ‘R’ == replacing)
/dev/sdb2:
Magic : a92b4efc
Version : 1.0
Feature Map : 0x1
Array UUID : ----
Name : 1
Creation Time : Sat Jun 1 18:42:42 2019
Raid Level : raid5
Raid Devices : 3

Avail Dev Size : 11712653040 (5585.03 GiB 5996.88 GB)
Array Size : 11712652928 (11170.06 GiB 11993.76 GB)
Used Dev Size : 11712652928 (5585.03 GiB 5996.88 GB)
Super Offset : 11712653296 sectors
Unused Space : before=0 sectors, after=368 sectors
State : clean
Device UUID : —

Internal Bitmap : 2 sectors from superblock
Update Time : Tue Mar 15 18:11:55 2022
Checksum : 3ef597ec - correct
Events : 9372

     Layout : left-symmetric
 Chunk Size : 64K

Device Role : Active device 2
Array State : AAA (‘A’ == active, ‘.’ == missing, ‘R’ == replacing)
/dev/sdc2:
Magic : a92b4efc
Version : 1.0
Feature Map : 0x1
Array UUID : ----
Name : 1
Creation Time : Sat Jun 1 18:42:42 2019
Raid Level : raid5
Raid Devices : 3

Avail Dev Size : 11712653040 (5585.03 GiB 5996.88 GB)
Array Size : 11712652928 (11170.06 GiB 11993.76 GB)
Used Dev Size : 11712652928 (5585.03 GiB 5996.88 GB)
Super Offset : 11712653296 sectors
Unused Space : before=0 sectors, after=368 sectors
State : clean
Device UUID : ----

Internal Bitmap : 2 sectors from superblock
Update Time : Tue Mar 15 18:11:55 2022
Checksum : 19042eb - correct
Events : 9372

     Layout : left-symmetric
 Chunk Size : 64K

Device Role : Active device 0
Array State : AAA (‘A’ == active, ‘.’ == missing, ‘R’ == replacing)
/dev/sdd2:
Magic : a92b4efc
Version : 1.0
Feature Map : 0x1
Array UUID : ----
Name : 1
Creation Time : Sat Jun 1 18:42:42 2019
Raid Level : raid5
Raid Devices : 3

Avail Dev Size : 11712653040 (5585.03 GiB 5996.88 GB)
Array Size : 11712652928 (11170.06 GiB 11993.76 GB)
Used Dev Size : 11712652928 (5585.03 GiB 5996.88 GB)
Super Offset : 11712653296 sectors
Unused Space : before=0 sectors, after=368 sectors
State : clean
Device UUID : —

Internal Bitmap : 2 sectors from superblock
Update Time : Tue Mar 15 18:11:55 2022
Checksum : 4d9a1a33 - correct
Events : 9372

     Layout : left-symmetric
 Chunk Size : 64K

Device Role : Active device 1
Array State : AAA (‘A’ == active, ‘.’ == missing, ‘R’ == replacing)


root@Taygetos ~ # more /proc/partitions | grep 2$
31 2 5120 mtdblock2
8 2 5856326656 sda2
8 18 5856326656 sdb2
8 34 5856326656 sdc2
8 50 5856326656 sdd2
259 3 1529839 md0p2

          Name : Taygetos:0  (local to host Taygetos)
          UUID : ---
        Events : 2

Number   Major   Minor   RaidDevice State
   0       8       33        0      active sync   /dev/sdc1
   1       8       49        1      active sync   /dev/sdd1
   2       8       17        2      active sync   /dev/sdb1
   3       8        1        3      active sync   /dev/sda1

root@Taygetos ~ # more /proc/partitions | grep 2$
31 2 5120 mtdblock2
8 2 5856326656 sda2
8 18 5856326656 sdb2
8 34 5856326656 sdc2
8 50 5856326656 sdd2
259 3 1529839 md0p2


root@Taygetos ~ # e2fsck -n -f -v /dev/md*2
e2fsck 1.44.5 (15-Dec-2018)
Warning! /dev/md0p2 is mounted.
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks…
e2fsck: Bad magic number in super-block while trying to open /dev/md0p2

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193
or
e2fsck -b 32768

/dev/md0p2 contains a swap file system

Hi @DimGrim,

Based on the shared information, we request you to check the link below for further assistance.

Title: RAID Volume Not Seen (No Raid Roaming) When Moving Hard Drives From a My Cloud to Another My Cloud

https://support-en.wd.com/app/answers/detail/a_id/18771

Title: My Cloud OS 5: Volume Failure, No Access to Shares, No Volume Created, 0 KB Free After Update to OS 5

https://support-en.wd.com/app/answers/detail/a_id/30020

Hello Keerti,

Thank you for your response, but my case isn’t any of these, I just added a new disk as spare disk, and after the creation, the volume had a flag of DAMAGE, but I was working with it, after a normal shutdown I lost the RAID5 Volume !!! any idea how can I bring it back

I have to mention that, the new disk is different model from the others, the 3 disks are WD60EFRX - 68L0BN1, and the new one is WD60EFAX - 68JH4N1, all are 6TB .

Hi,

Please contact the WD Technical Support team for the best assistance and troubleshooting:
https://support-en.wd.com/app/ask

Hi,
I’ve done that already, it was my first move, I open a case at WD Support, and I got a very general response, like the one you send me here. None of them are my case, I didn’t transfer the disks from another NAS, neither I got the problem after the OS update. I send also the listings of mdadm.
The questions are :

  1. Is there a solution to bring back the Volume ?
  2. Does the problem come up from the Different Model and Firmware of the new disk ?
  3. Is there a way to update the firmware of all my Disks ?

Thank you very much for your Response
Dimitris.

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.