Static Volume Recovery

From QNAPedia
Revision as of 11:00, 26 October 2015 by Glenn (talk | contribs) (+Category:Troubleshooting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Recovery Tool for Single / RAID 1 static volume

Please use this guide if you need to read the data of a Single Disk or RAID 1 static volume in a PC.

This guide is only intended for recovery of the data in case of the NAS being non-operational.


  • This tool is for recovering data from a Single or RAID1 static volume when the NAS unit is non-operational
  • This tool will mount the data in READ-ONLY mode, to prevent accidental data corruption
  • This tool is used entirely at your own risk and QNAP does not take responsibilty for any adverse consequences of using this tool
  • Legacy volume or Storage Pool cannot be recovered with this tool
    • For Legacy volume (Single or RAID1) you can use EXT driver for Windows to read data directly in a PC:
    • For Storage Pool, you must recover the volume in a QNAP NAS.
  • This tool will not recover from faulty RAID array, filesystem errors, or deleted files

Requirements for recovery

  • A Windows PC
  • HDD from a QNAP NAS which contained Single or RAID1 static volume
  • External USB HDD enclosure (installed with the HDD from a QNAP NAS)
  • The network should have a DHCP server (most home routers have this built-in, if you don't know what this is don't worry about it)

Steps to recover

  1. Download and install VMWare Player:
  2. Download the recover tool:
  3. Unzip the file
      Core folder.png
  4. Connect the USB HDD enclosure to the PC
    Important!: If Windows asks to format/initialise the disk, select Cancel/NO
      Format cancel.png
  5. Open the VMware Player application which was installed in Step 1
  6. Click "Open a Virtual Machine"
      Vplayer open.png

  7. Browse to the unzip location of Step 3 and select the "core.vmx" file
  8. Click "Play virtual machine"

    Note: If a prompt about virtual machine being moved or copied will appear, click "I copied it"
      Vm note1.png

    Note: If a prompt about VMware Tools appears, click "Remind Me Later"
      Vm note2.png
  9. In the VMware Player menu bar, click Player > Removable Devices > USB Device > Connect to connect the USB HDD enclosure to the Virtual Machine
      Vm usbconnect.png

    Click OK, to confirm unplug from physical host and plugin to virtual machine
      File:Vm usbnote.png

    : If you only see a "Disconnect" button, it means the USB device is already connected to the Virtual Machine
      Vm usbdisconnect.png

  10. Press <Enter> at the boot screen
      Core boot.png
  11. After you see a prompt "tc@box:~$", type the below command to run the recover script:
    sudo /mnt/sda1/
  12. If the script is successful, it will display an IP address
      Core ipaddress.png

  13. From the Windows PC, open Windows Explorer and type \\ip-address in the address bar, where "ip-address" is the address displayed in the previous step
      Find ip.png
  14. You will see a folder "data" which contains the recovered data volume


  • If necessary to reset the VM, type the below command:
    sudo reboot