How to Recover Virtual Machine Files from Unraid OS NAS

In this article, we’ll discuss Unraid OS NAS data storage system, show you how to create a virtual machine, configure it, and recover its files if necessary.

How to Recover Virtual Machine Files from Unraid OS NAS

Unraid is built-in operating system developed to provide full control of your equipment. It doesn’t only operate as a reliable network-attached storage, but it can also work as an application server and virtual machine host. Unraid is installed and boots from a USB pen drive, and then is put into the RAM file system.

Unraid OS website

The main point of Unraid OS is that it is a hardware-independent solution capable of turning any 64-bit system into a network-attached storage (NAS). What is more, this operating system is designed to work as a virtualization host. It uses a hypervisor to divide resources between virtual clients in a safe and isolated way, so that users can run several operating systems and apps on a single physical server and optimize the use of its resources.

Unraid OS virtual machine support

Virtualization in Unraid is based on KVM, which includes modern versions of QEMU, libvirt, VFIO*, VirtIO and VirtFS. It also supports Open Virtual Machine Firmware (OVMF) which provides UEFI support for virtual machines (by adding support for SecureBoot, and simplified support for pass-through feature on graphics processors). This lets users assign a wide range of resources to such virtual machines. Also, such virtualization technologies do not let any negative effects from their use influence the reliability of the main operating system.

In today’s article, we will explore the functionality available for creating a virtual machine on this operating system, and how virtual disk files can be recovered when you lose access to the server.

Go to view
Top Tools for Data Recovery From RAID

Top Tools for Data Recovery From RAID

How to create a virtual machine on Unraid OS NAS

In order to create a virtual machine on Unraid OS, you will need an image of the operating system which should be installed on such virtual machine. Download an ISO image and upload it to the Unraid server.

Download an ISO image and upload it to the Unraid server

After that, open Web ManagerVMS. Here, click on Add VM button, and specify the operating system version. The settings page will open.

Web Manager – VMS – Add VM

Give this machine a name, select CPU settings, the system memory size, choose the ISO image, and give the path to the image file which you have uploaded to the Unraid server.

Enter virtual machine settings

Now choose the virtual disk size – in my case, 30 Gb will be enough – and its type. After that, give the path to the directory where virtual machine files should be stored.

Virtual machine disk settings

Change network settings, the bridge mode, and the adapter model. After you have finished with the settings, click Create.

Creating a virtual machine on Unraid OS

If you haven’t unchecked the box for virtual machine automatic start, the machine will start booting immediately. This is followed by a typical process of installing the operating system. After the operating system is installed, the virtual machine is ready for work.

Virtual machine is ready for work

How to recover virtual machine files from Unraid OS

In some situations, you may have to recover virtual machine files from the NAS storage with Unraid operating system. For example, it may happen when you accidentally delete certain files or a folder containing virtual disks, after an operating system error or NAS failure, which results in losing access to your virtual machine.

A specialized data recovery tool – Hetman RAID Recovery (Partition Recovery) – will help you restore all virtual machine files. This tool supports all popular file systems and can recover files used by various hypervisor types.

Recover data from damaged RAID arrays inaccessible from a computer.

For recovery, take the disks out of the storage system and connect them to a Windows computer. Download, install and start the program. Hetman RAID Recovery will automatically scan the disks and display them in the main window.

Hetman RAID Recovery

To search for files, right-click on the disk and choose Open. After that, select the scan type – Fast scan or Full analysis. For starters, we recommend a Fast scan – this will take less time, and it can find lost files easily in most typical recovery scenarios.

Full analysis

If the program can’t find the missing files after the Fast scan, then go for Full analysis. To do it, go back to the main window, right-click on the disk and choose – Analyze againFull analysis – specify the file system and click Next. After that, open the folder where virtual machine files used to be stored. If you don’t know the exact path, you can see it in the virtual machine manager settings, by opening the Unraid OS web manager.

Open the corresponding directory, select the files to restore and hit Recovery.

Recover Unraid OS virtual machine files

Specify where to save the data (choose the disk and folder), and click Recovery again. When the process is over, you will find the virtual machine files in the folder you have chosen for saving them.

How to recover data from an Unraid OS virtual machine disk

Besides recovering virtual disk files, you can also recover data inside the virtual machine, by mounting an image into the program and recovering files from such virtual disk image. In the program’s window, open the Tools tab – Mount Disk.

Tools - Mount Disk

Select a virtual disk type and click Next. After that, specify the folder where the virtual disk image is stored – click OK.

Select the directory where the virtual disk is stored

Select the image file – Next – and it will appear in the program’s window.

Connecting a virtual disk

Then start the scan by clicking Open. Choose the scan type and when it’s over, open the folder where the lost files used to be, and recover them.

Conclusion

Summing up, we can say that even though loss of data can cause certain difficulties and make you worry, now you know there are methods and tools to help you recover the precious data. With Hetman RAID Recovery, you’ll be able to recover the lost files of your virtual machine disks from Unraid OS.

Vladimir Artiukh

Author: , Technical Writer

Vladimir Artiukh is a technical writer for Hetman Software, as well as the voice and face of their English-speaking YouTube channel, Hetman Software: Data Recovery for Windows. He handles tutorials, how-tos, and detailed reviews on how the company’s tools work with all kinds of data storage devices.

Oleg Afonin

Editor: , Technical Writer

Oleg Afonin is an expert in mobile forensics, data recovery and computer systems. He often attends large data security conferences, and writes several blogs for such resources as xaker.ru, Elcomsoft and Habr. In addition to his online activities, Oleg’s articles are also published in professional magazines. Also, Oleg Afonin is the co-author of a well-known book, Mobile Forensics - Advanced Investigative Strategies.

Recommended For You

Hello! This is AI-based Hetman Software virtual assistant, and it will answer any of your questions right away.
Start Chat