Hi
I have the following commercial nas Netgear ReadyNas 104. My network shares disappeared, when I enter the web application to manage the nas there is nothing. I get a message about a degraded disk.
So possibly this is the problem, log in via ssh to get some more information.
Any ideas?
Thanks.
I have the following commercial nas Netgear ReadyNas 104. My network shares disappeared, when I enter the web application to manage the nas there is nothing. I get a message about a degraded disk.
So possibly this is the problem, log in via ssh to get some more information.
I can see that there are only two active raids, supposedly the base one that hosts the system, and the one for the swap partitions.4.4.218.armada.1 #1 SMP Mon Mar 14 21:47:14 UTC 2022
We can see how a piece is missing in the md0 raid, apparently some partitions are damaged.~# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md1 : active raid10 sda2[0] sdc2[3] sdd2[2] sdb2[1]
1044480 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
md0 : active raid1 sda1[0] sdb1[5] sdc1[4]
4192192 blocks super 1.2 [4/3] [UUU_]
The partitions *3 of each disk is where I have the alleged raid 5 with all the information, but apparently it is not mounted.~# mdadm --assemble --scan -v
mdadm: looking for devices for further assembly
mdadm: no recogniseable superblock on /dev/md/1
mdadm: no recogniseable superblock on /dev/md/0
mdadm: /dev/sdd2 is busy - skipping
mdadm: Cannot read superblock on /dev/sdd1
mdadm: no RAID superblock on /dev/sdd1
mdadm: No super block found on /dev/sdd (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sdd
mdadm: /dev/sdc2 is busy - skipping
mdadm: /dev/sdc1 is busy - skipping
mdadm: No super block found on /dev/sdc (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sdc
mdadm: /dev/sdb2 is busy - skipping
mdadm: /dev/sdb1 is busy - skipping
mdadm: No super block found on /dev/sdb (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sdb
mdadm: /dev/sda2 is busy - skipping
mdadm: /dev/sda1 is busy - skipping
mdadm: No super block found on /dev/sda (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/sda
mdadm: No super block found on /dev/mtdblock4 (Expected magic a92b4efc, got ffffffff)
mdadm: no RAID superblock on /dev/mtdblock4
mdadm: No super block found on /dev/mtdblock3 (Expected magic a92b4efc, got 22d44a6e)
mdadm: no RAID superblock on /dev/mtdblock3
mdadm: No super block found on /dev/mtdblock2 (Expected magic a92b4efc, got 2a00000a)
mdadm: no RAID superblock on /dev/mtdblock2
mdadm: No super block found on /dev/mtdblock1 (Expected magic a92b4efc, got 00000000)
mdadm: no RAID superblock on /dev/mtdblock1
mdadm: No super block found on /dev/mtdblock0 (Expected magic a92b4efc, got 2b023063)
mdadm: no RAID superblock on /dev/mtdblock0
mdadm: /dev/sdd3 is identified as a member of /dev/md/data-0, slot -1.
mdadm: /dev/sdc3 is identified as a member of /dev/md/data-0, slot 2.
mdadm: /dev/sdb3 is identified as a member of /dev/md/data-0, slot 1.
mdadm: /dev/sda3 is identified as a member of /dev/md/data-0, slot 0.
mdadm: added /dev/sdb3 to /dev/md/data-0 as 1
mdadm: added /dev/sdc3 to /dev/md/data-0 as 2 (possibly out of date)
mdadm: no uptodate device for slot 3 of /dev/md/data-0
mdadm: added /dev/sdd3 to /dev/md/data-0 as -1
mdadm: added /dev/sda3 to /dev/md/data-0 as 0
mdadm: /dev/md/data-0 assembled from 2 drives and 1 spare - not enough to start the array.
mdadm: looking for devices for further assembly
mdadm: /dev/sdd2 is busy - skipping
mdadm: /dev/sdc2 is busy - skipping
mdadm: /dev/sdc1 is busy - skipping
mdadm: /dev/sdb2 is busy - skipping
mdadm: /dev/sdb1 is busy - skipping
mdadm: /dev/sda2 is busy - skipping
mdadm: /dev/sda1 is busy - skipping
mdadm: No arrays found in config file or automatically
mdadm -D /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Tue Jun 25 01:22:54 2013
Raid Level : raid1
Array Size : 4192192 (4.00 GiB 4.29 GB)
Used Dev Size : 4192192 (4.00 GiB 4.29 GB)
Raid Devices : 4
Total Devices : 3
Persistence : Superblock is persistent
Update Time : Sat Feb 4 16:16:52 2023
State : clean, degraded
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0
Consistency Policy : unknown
Name : 0e345282:0 (local to host 0e345282)
UUID : e22023fd:0e9aac50:725bf721:0f84047e
Events : 967102
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
4 8 33 1 active sync /dev/sdc1
5 8 17 2 active sync /dev/sdb1
- 0 0 3 removed
mdadm -D /dev/md1
/dev/md1:
Version : 1.2
Creation Time : Thu Feb 2 16:41:00 2023
Raid Level : raid10
Array Size : 1044480 (1020.00 MiB 1069.55 MB)
Used Dev Size : 522240 (510.00 MiB 534.77 MB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Update Time : Thu Feb 2 17:25:49 2023
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : near=2
Chunk Size : 512K
Consistency Policy : unknown
Name : 0e345282:1 (local to host 0e345282)
UUID : de5ad081:1c7d2a99:0618a920:625f66ba
Events : 19
Number Major Minor RaidDevice State
0 8 2 0 active sync set-A /dev/sda2
1 8 18 1 active sync set-B /dev/sdb2
2 8 50 2 active sync set-A /dev/sdd2
3 8 34 3 active sync set-B /dev/sdc2
Apparently the sdd3 partition has bad sectors, I'm not familiar with btrfs, but because it is not capable of raising the raid with the data and the *3 partitions, it would have to have redundancy.mdadm --examine /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3
/dev/sda3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : d8a15531:745d2545:2333dc4d:419eb9b7
Name : 0e345282:data-0 (local to host 0e345282)
Creation Time : Tue Jun 25 01:22:54 2013
Raid Level : raid5
Raid Devices : 4
Avail Dev Size : 3897325681 (1858.39 GiB 1995.43 GB)
Array Size : 5845987968 (5575.17 GiB 5986.29 GB)
Used Dev Size : 3897325312 (1858.39 GiB 1995.43 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=369 sectors
State : clean
Device UUID : a2770411:80e5fbaf:b11d7184:d43723dc
Update Time : Thu Dec 15 15:01:47 2022
Checksum : a79232df - correct
Events : 84389
Layout : left-symmetric
Chunk Size : 64K
Device Role : Active device 0
Array State : AA.. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdb3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : d8a15531:745d2545:2333dc4d:419eb9b7
Name : 0e345282:data-0 (local to host 0e345282)
Creation Time : Tue Jun 25 01:22:54 2013
Raid Level : raid5
Raid Devices : 4
Avail Dev Size : 3897325681 (1858.39 GiB 1995.43 GB)
Array Size : 5845987968 (5575.17 GiB 5986.29 GB)
Used Dev Size : 3897325312 (1858.39 GiB 1995.43 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=369 sectors
State : clean
Device UUID : 3f21d155:5fec0ece:7a7b7907:b8a6e495
Update Time : Thu Dec 15 15:01:47 2022
Checksum : 473bc1e9 - correct
Events : 84389
Layout : left-symmetric
Chunk Size : 64K
Device Role : Active device 1
Array State : AA.. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : d8a15531:745d2545:2333dc4d:419eb9b7
Name : 0e345282:data-0 (local to host 0e345282)
Creation Time : Tue Jun 25 01:22:54 2013
Raid Level : raid5
Raid Devices : 4
Avail Dev Size : 3897325681 (1858.39 GiB 1995.43 GB)
Array Size : 5845987968 (5575.17 GiB 5986.29 GB)
Used Dev Size : 3897325312 (1858.39 GiB 1995.43 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=369 sectors
State : clean
Device UUID : a4172ab0:bf85504a:8817884d:1939a351
Update Time : Thu Dec 15 14:56:59 2022
Checksum : 1fa17124 - correct
Events : 83531
Layout : left-symmetric
Chunk Size : 64K
Device Role : Active device 2
Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdd3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x8
Array UUID : d8a15531:745d2545:2333dc4d:419eb9b7
Name : 0e345282:data-0 (local to host 0e345282)
Creation Time : Tue Jun 25 01:22:54 2013
Raid Level : raid5
Raid Devices : 4
Avail Dev Size : 3897325681 (1858.39 GiB 1995.43 GB)
Array Size : 5845987968 (5575.17 GiB 5986.29 GB)
Used Dev Size : 3897325312 (1858.39 GiB 1995.43 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=261864 sectors, after=369 sectors
State : clean
Device UUID : 160d3f60:27b10fef:e0b8a1f2:43d3f6e8
Update Time : Thu Dec 15 15:01:47 2022
Bad Block Log : 512 entries available at offset 264 sectors - bad blocks present.
Checksum : b0eccbad - correct
Events : 84389
Layout : left-symmetric
Chunk Size : 64K
Device Role : spare
Array State : AA.. ('A' == active, '.' == missing, 'R' == replacing)
Any ideas?
Thanks.