NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Retired_Member
Jul 12, 2021Mounting ReadyNAS 212 RAID1 Harddrive in Linux
Dear Community, i am currently facing issues with mounting a 3,5 inch 6TB WD RED NAS Drive on a Linux system. I disabled X-RAID in the ReadyNAS UI, let the Filesystem-check run overnight, shut down ...
Retired_Member
Jul 15, 2021Does anybody of you guys have an idea? Maybe even the Netgear Support? Is the information i provided sufficient?
- StephenBJul 15, 2021Guru - Experienced User
I haven't needed to do this myself, but the normal procedure would be
# mdadm --assemble --scan
# mount -t btrfs -o ro /dev/md127 /mntSo maybe simplify what you are doing, and just try the two commands above.
- Retired_MemberJul 15, 2021
Hello StephenB
Thanks for your reply! I tried it, but i receive the same error. It also seems that the RAID1 disk gets automatically detected and md devices are created automatically since having mdadm and btrfs-progs installed.
Here is the output as screenshot (which seems not to load properly somehow):
dmesg after plugging in USB-SATA adapter
Here the output as text:
[ 42.258816] usb 2-4.1: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd [ 42.280118] usb 2-4.1: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00 [ 42.280124] usb 2-4.1: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [ 42.280128] usb 2-4.1: Product: ASM1153E [ 42.280131] usb 2-4.1: Manufacturer: asmedia [ 42.280133] usb 2-4.1: SerialNumber: 123456789012 [ 42.343793] SCSI subsystem initialized [ 42.349968] usbcore: registered new interface driver usb-storage [ 42.356211] scsi host0: uas [ 42.356332] usbcore: registered new interface driver uas [ 42.514789] scsi 0:0:0:0: Direct-Access WDC WD60 EFRX-68L0BN1 0 PQ: 0 ANSI: 6 [ 42.528123] scsi 0:0:0:0: Attached scsi generic sg0 type 0 [ 42.533359] sd 0:0:0:0: [sda] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB) [ 42.533366] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 42.533498] sd 0:0:0:0: [sda] Write Protect is off [ 42.533504] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 42.533689] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 42.533913] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (40 96 bytes) [ 42.611907] sda: sda1 sda2 sda3 [ 42.613958] sd 0:0:0:0: [sda] Attached SCSI disk [ 42.767895] md/raid1:md0: active with 1 out of 2 mirrors [ 42.767929] md0: detected capacity change from 0 to 4290772992 [ 42.772822] md/raid1:md127: active with 1 out of 2 mirrors [ 42.772845] md127: detected capacity change from 0 to 5996208979968 [ 42.776360] md/raid1:md126: active with 1 out of 1 mirrors [ 42.776382] md126: detected capacity change from 0 to 535822336 [ 42.887090] BTRFS: device label 11b7b58e:data devid 1 transid 61090 /dev/md127 scanned by systemd-udevd (819 ) [ 98.334575] BTRFS info (device md127): disk space caching is enabled [ 98.334583] BTRFS info (device md127): has skinny extents [ 98.383578] BTRFS critical (device md127): corrupt leaf: root=1 block=42369024 slot=8, invalid root flags, h ave 0x10001 expect mask 0x1000000000001 [ 98.383583] BTRFS error (device md127): block=42369024 read time tree block corruption detected [ 98.386605] BTRFS critical (device md127): corrupt leaf: root=1 block=42369024 slot=8, invalid root flags, h ave 0x10001 expect mask 0x1000000000001 [ 98.386611] BTRFS error (device md127): block=42369024 read time tree block corruption detected [ 98.390386] BTRFS error (device md127): open_ctree failed
/dev/md0 can be mounted without issues, but /dev/md127 (the btrfs data partition not).
I wonder why my ReadyNAS works with the disk, but mounting it on another system does not...
On my ReadyNAS i get the following output when using dmesg:
[ 15.077271] md: md0 stopped. [ 15.078178] md: bind<sda1> [ 15.079605] md/raid1:md0: active with 1 out of 2 mirrors [ 15.079756] md0: detected capacity change from 0 to 4290772992 [ 15.093302] md: md1 stopped. [ 15.094176] md: bind<sda2> [ 15.095569] md/raid1:md1: active with 1 out of 1 mirrors [ 15.095696] md1: detected capacity change from 0 to 535822336 [ 15.327901] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) [ 19.139325] md: md127 stopped. [ 19.140180] md: bind<sda3> [ 19.153459] md/raid1:md127: active with 1 out of 2 mirrors [ 19.153672] md127: detected capacity change from 0 to 5996208979968 [ 19.583697] Adding 523260k swap on /dev/md1. Priority:-1 extents:1 across:523260k [ 19.608040] BTRFS: device label 11b7b58e:data devid 1 transid 61090 /dev/md127 [ 19.829265] BTRFS info (device md127): has skinny extents
Mounting /dev/md127 works like a charm:
root@NAS:~# mkdir -p /mnt/readynas root@NAS:~# mount /dev/md127 /mnt/readynas/ root@NAS:~#
Do you guys have another idea?
- StephenBJul 15, 2021Guru - Experienced User
Retired_Member wrote:
Here is the output as screenshot (which seems not to load properly somehow):
Embedded screen shots are manually reviewed and approved - which can take a while.
Retired_Member wrote:
[ 42.776360] md/raid1:md126: active with 1 out of 1 mirrors
This bit is interesting. It looks like you expanded the array vertically at some point in the past. Is that the case? If so, your data volume has two RAID groups.
Retired_Member wrote:
I wonder why my ReadyNAS works with the disk, but mounting it on another system does not...
Do you guys have another idea?
You might want to run a scrub on the RN212. Might also be useful to try this experiment with the other drive.
Is it possible to connect the disk directly to SATA (ruling out any issue with the USB dock)?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!