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