Recovering Data Off Netgear ReadyNAS

So I have a 4 bay Netgear ReadyNAS NVX that has stopped working.

The unit has TWO drives configured as a RAID 1 mirror (this will only work with units with two or less drives fitted).

I suspect that the power supply has failed (a common problem).

I’m going to recover the data off drive to a QNAP NAS (HS-251+ in this case).

Steps..

  1. Remove one drive from the ReadyNAS caddy
  2. Connect the drive SATA and power cables to a standard PC (remove/disconnect all other drives to avoid confusion).
  3. Boot the PC from a System Rescue CD – this can be downloaded here: https://www.system-rescue-cd.org/SystemRescueCd_Homepage
  4. Once at the command prompt you can list the drives with:
  5. fdisk -l
  6. root@sysresccd /root % fdisk -l
    Disk /dev/loop0: 353.1 MiB, 370208768 bytes, 723064 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/sda: 1.4 TiB, 1500301910016 bytes, 2930277168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 30AC9B24-F06D-4CE1-BBB5-ED9443790F5F
    
    Device Start End Sectors Size Type
    /dev/sda1 4 8388611 8388608 4G Linux RAID
    /dev/sda2 8388612 9437187 1048576 512M Linux RAID
    /dev/sda5 9437189 2930272064 2920834876 1.4T Linux RAID
    
    
    Disk /dev/sdb: 58.6 GiB, 62932647936 bytes, 122915328 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x455dc590
    
    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 * 2048 122915327 122913280 58.6G c W95 FAT32 (LBA)
    
    
    Disk /dev/md0: 4 GiB, 4294955008 bytes, 8388584 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/md1: 512 MiB, 536858624 bytes, 1048552 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/md2: 1.4 TiB, 1495467311104 bytes, 2920834592 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 16384 bytes / 16384 bytes
    
    
    Disk /dev/mapper/c-c: 1.4 TiB, 1490085216256 bytes, 2910322688 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 16384 bytes / 16384 bytes

The drive is 1.5TB and the device we are interested in is /dev/mapper/c-c

Mount this drive with:

root@sysresccd /mnt % mkdir /mnt/readynas
root@sysresccd /mnt % mount /dev/mapper/c-c /mnt/readynas

We can now look at the files on the ReadyNAS drive:

root@sysresccd /mnt % ls /mnt/readynas
aquota.group aquota.user backup home lost+found media squeezeboxserver

Next I’m going to mount the QNAP drive so that I can copy data from the ReadyNAS drive to the QNAP NAS. I need the IP address of the QNAP from the QNAP Finder application (in my case this is 172.31.1.69 – more typically 192.168.1.x).

Mount the Public folder on the  QNAP drive using:

root@sysresccd /mnt % mkdir /mnt/qnap
root@sysresccd /mnt % mount -t cifs -ousername=admin,password=YourQnapPassword //172.31.1.69/Public /mnt/qnap

I can now copy the data from the ReadyNAs drive (/mnt/readynas) to the QNAP (/mnt/qnap) e.g.:

rsync -av /mnt/readynas/media /mnt/qnap/media