× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

How to mount USB drive in tech support mode to recover data ReadyNAS RND4000 NV+ v1

richfromm
Follower

How to mount USB drive in tech support mode to recover data ReadyNAS RND4000 NV+ v1

I have an old RND4000 ReadyNAS NV+ v1. I believe this is an old SPARC-based system. It is running RAIDiator 4.1.15

 

The power supplied died. I've hacked a standard 20pin ATX power supply by modifying the wiring as needed. See my previous post asking about this: https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/ReadyNAS-NV-RND4000-power-supply-re...

 

Now when I boot it, it gets stuck trying to sync one of the drives. (I left it run for a VERY long time, like more than a day.) Booting and skipping the filesystem check doesn't help -- the sync is after that, and there's no way that I know of to skip the sync.

 

I briefly thought about just pulling out the disk that it's trying to sync, but I've read enough other articles suggesting that that's a bad idea.

 

I followed the instructions here to boot into tech support mode, connect via telnet, and mount the drives:
https://thorsten-wagener.de/readynas-pro4-stuck-booting/
These are very close to the instructions here:
https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/Enable-rsync-ssh-frontview-from-tec...

I *am* able to see my shares, and the data in them. I obviously can't easily tell if everything is totally fine with no corruption, but at first glance things look good.

 

So now I'd like to be able to copy the data elsewhere. I have no plans to use this as a NAS in the future, I just want to retrieve my data so that I can copy it to new hardware.

I have multiple modern, Western Digital, 1TB external USB 3.0 drives. I can test that they all work on a different machine.

My problem is that I can't figure out how to get the ReadyNAS to recognize these when in tech support mode. The instructions I'm following say:

 

> First thing is to figure out which name your USB-Disk got by the environment. Normally it is the last device in the list. Try to mount it > to /mnt and check the contents… in my case it was /dev/sdf, because it is a 4-Bay NAS and sda,sdb,sdc,sdd are the internal storage > disks, sde is the internal flash and sdf the external hard disk.

> mount /dev/sdf1 /mnt/

I have no /dev/sdXX at all in /dev. It's mostly /dev/hdXX. I've tried everything, and nothing works. I'm limited in being able to debug this, as there's no lsusb. dmesg output is somewhat interesting, but nothing useful in this case. Comparing /dev contents before and after plugging in the drives show no difference.

 

Here's the current mount output:

 

# mount
/dev/root on / type ext2 (rw)
proc on /proc type proc (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/c/c on /data type ext3 (ro,data=ordered)

Seeing that, as well as this note:
> If you have found your external disk, copy your previously mounted data and your are fine. Be aware of FS-Types (you’ll need the right filesystem type on the target device)

made me think that the problem might be ext4 vs. ext3 (the first drive I tried was ext4). So I took one of my external drives, completely wiped it, made a totally new partition, formatted that for ext3, and tried again. Still no luck.

 

The modern drives are USB 3.0. It's possible that's a problem, although my understanding is it's supposed to just fall back to USB 2.0 if that's all that's available.

The external drives also do *not* have their own power supplies, I assume they're powered over USB. It's also possible that that's a problem, although the light on the drive *does* go on.

 

I'd like to try with an older, USB 2.0, external drive, that supplies its own power, but I don't currently have one. I'm seeing if I can track one down, or at least such an enclosure that I can try putting a drive in.

I'd be happy to just mount something over the network, but I'm not sure if that's possible with the ancient busybox on the ReadyNAS. I tried mounting an NFS drive, but `mount -t nfs` gives "Invalid argument". 

 

This support article:
https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/Enable-rsync-ssh-frontview-from-tec...


talks about mounting a USB drive, but doesn't say how.

It also talks about using rsync, but I don't see how that's possible. There's not a lot availble in `/bin`, and definitely not `rsync`:

# ls -al /bin
lrwxrwxrwx 1 0 0 7 ping -> busybox
-rwxr-xr-x 1 0 0 105240 dbclient
-rwxr-xr-x 1 0 0 118 start_raid.sh
lrwxrwxrwx 1 0 0 7 mkswap -> busybox
lrwxrwxrwx 1 0 0 7 swapoff -> busybox
lrwxrwxrwx 1 0 0 7 swapon -> busybox
lrwxrwxrwx 1 0 0 7 find -> busybox
lrwxrwxrwx 1 0 0 3 pvdisplay -> lvm
lrwxrwxrwx 1 0 0 3 pvscan -> lvm
lrwxrwxrwx 1 0 0 7 tftp -> busybox
lrwxrwxrwx 1 0 0 7 wget -> busybox
lrwxrwxrwx 1 0 0 7 ps -> busybox
lrwxrwxrwx 1 0 0 7 logger -> busybox
lrwxrwxrwx 1 0 0 7 dmesg -> busybox
-rwxr-xr-x 1 0 0 27792 dd_rescue
lrwxrwxrwx 1 0 0 7 mv -> busybox
lrwxrwxrwx 1 0 0 7 route -> busybox
lrwxrwxrwx 1 0 0 7 login -> busybox
lrwxrwxrwx 1 0 0 7 ls -> busybox
lrwxrwxrwx 1 0 0 7 telnetd -> busybox
lrwxrwxrwx 1 0 0 7 ln -> busybox
-rwxr-xr-x 1 0 0 3704 get_part_offset
-rwxr-xr-x 1 0 0 29024 get_ata_errors
lrwxrwxrwx 1 0 0 7 awk -> busybox
lrwxrwxrwx 1 0 0 7 unlzma -> busybox
lrwxrwxrwx 1 0 0 7 usleep -> busybox
-rwxr-xr-x 1 0 0 13076 rmmod
lrwxrwxrwx 1 0 0 7 killall -> busybox
lrwxrwxrwx 1 0 0 7 chown -> busybox
-rwxr-xr-x 1 0 0 434584 busybox
lrwxrwxrwx 1 0 0 7 cat -> busybox
lrwxrwxrwx 1 0 0 7 udhcpc -> busybox
lrwxrwxrwx 1 0 0 7 kill -> busybox
lrwxrwxrwx 1 0 0 7 sleep -> busybox
-rwxr-xr-x 1 0 0 14952 raidard
lrwxrwxrwx 1 0 0 7 tr -> busybox
-rwxr-xr-x 1 0 0 12912 fstyp
-rwxr-xr-x 1 0 0 13044 blockdev
-rwx--x--x 1 98 98 5524 blink_init
-rwx--x--x 1 0 0 452 blink
lrwxrwxrwx 1 0 0 7 printf -> busybox
-rwxr-xr-x 1 0 0 28660 od
lrwxrwxrwx 1 0 0 7 ifconfig -> busybox
lrwxrwxrwx 1 0 0 7 mknod -> busybox
-rwxr-xr-x 1 0 0 473552 lvm
lrwxrwxrwx 1 0 0 3 vgchange -> lvm
lrwxrwxrwx 1 0 0 3 lvcreate -> lvm
lrwxrwxrwx 1 0 0 3 lvscan -> lvm
lrwxrwxrwx 1 0 0 3 vgdisplay -> lvm
lrwxrwxrwx 1 0 0 7 umount -> busybox
lrwxrwxrwx 1 0 0 7 test -> busybox
lrwxrwxrwx 1 0 0 7 tar -> busybox
-rwxr-xr-x 1 0 0 55456 sfdisk
lrwxrwxrwx 1 0 0 7 sed -> busybox
lrwxrwxrwx 1 0 0 7 rm -> busybox
lrwxrwxrwx 1 0 0 3 vgcreate -> lvm
lrwxrwxrwx 1 0 0 7 pivot_root -> busybox
-rwx------ 1 0 0 8908 new-flasher
lrwxrwxrwx 1 0 0 7 mount -> busybox
lrwxrwxrwx 1 0 0 7 mke2fs -> busybox
lrwxrwxrwx 1 0 0 7 mkdir -> busybox
-rwxr-xr-x 1 0 0 107202 mdconfig
lrwxrwxrwx 1 0 0 7 md5sum -> busybox
lrwxrwxrwx 1 0 0 3 vgscan -> lvm
lrwxrwxrwx 1 0 0 3 pvcreate -> lvm
-rwxr-xr-x 1 0 0 10992 insmod
-rwx------ 1 0 0 9744 hwcp
-rwxr-xr-x 1 0 0 1785 hotplug
lrwxrwxrwx 1 0 0 7 halt -> busybox
lrwxrwxrwx 1 0 0 7 gzip -> busybox
-rwxr-xr-x 1 0 0 60616 grep
lrwxrwxrwx 1 0 0 7 e2fsck -> busybox
lrwxrwxrwx 1 0 0 7 dd -> busybox
lrwxrwxrwx 1 0 0 7 cut -> busybox
lrwxrwxrwx 1 0 0 7 cp -> busybox
lrwxrwxrwx 1 0 0 7 chroot -> busybox
-rwxr-xr-x 1 0 0 86900 chpasswd
lrwxrwxrwx 1 0 0 7 chmod -> busybox
lrwxrwxrwx 1 0 0 7 hdparm -> busybox
lrwxrwxrwx 1 0 0 7 ash -> busybox
lrwxrwxrwx 1 0 0 7 chattr -> busybox
lrwxrwxrwx 1 0 0 4 zcat -> gzip
lrwxrwxrwx 1 0 0 3 sh -> ash
lrwxrwxrwx 1 0 0 7 reboot -> busybox
lrwxrwxrwx 1 0 0 7 stat -> busybox
lrwxrwxrwx 1 0 0 7 [ -> busybox
drwxr-xr-x 17 0 0 1024 ..
drwxr-xr-x 2 0 0 2048 .
#


The original article I was following mentioned copying a more modern busybox to `/bin`, but I'm in a bit of a Catch-22. Without a way to recognize a USB drive, I don't see how that's possible.

I also have a smaller (16 GB) USB thumb drive (again, that I know works), but it's not able to recognize that either.

I've tried both the one USB port on the front, as well as both USB ports on the back.

Anyone have any ideas?

Attn @StephenB

Model: RND4000|ReadyNAS NV+ Chassis only
Message 1 of 3
Sandshark
Sensei

Re: How to mount USB drive in tech support mode to recover data ReadyNAS RND4000 NV+ v1

I'm not sure where you read that booting with a missing drive is a bad idea, but that's exactly what I suggest if you know which drive is creating the problem unless you are running RAID0.  The volume may come up, though degraded (not redundant), but should allow you to access it and download everything over the LAN connection (which is far faster on a NV+ than the USB ports) if it does.  Of course, that drive could just be the long pole and another problem comes up once it's gone.  But I don't believe any damage will be done to your volume if you try.

 

Just don't put the drive back in with power applied if it does come up, as the NAS will attempt to re-sync it and you already have suspicion it's got problems.

Message 2 of 3
StephenB
Guru

Re: How to mount USB drive in tech support mode to recover data ReadyNAS RND4000 NV+ v1


@Sandshark wrote:

I'm not sure where you read that booting with a missing drive is a bad idea, but that's exactly what I suggest if you know which drive is creating the problem unless you are running RAID0.  The volume may come up, though degraded (not redundant), but should allow you to access it and download everything over the LAN connection (which is far faster on a NV+ than the USB ports) if it does.  Of course, that drive could just be the long pole and another problem comes up once it's gone.  But I don't believe any damage will be done to your volume if you try.

 


In addition to booting w/o one drive, I'd also suggest telling the NAS to skip the file system check via the boot menu.  See pages 23-24 here: https://www.downloads.netgear.com/files/GDC/RND2110/Duov1_NV+v1_HW_en_06Dec11.pdf

 

Message 3 of 3
Discussion stats
  • 2 replies
  • 1164 views
  • 0 kudos
  • 3 in conversation
Announcements