Why should you add external hard drive to VM
External hard drive is a device that you plug into a computer port which is nestled firmly outside your computer unlike internal hard drive. It is used to be the storage device that provides additional space for data.
Installing VM or storing VM files on a computer takes up a lot of disk space. For those who want to run multiple virtual machines on a single computer, connecting an external hard drive to virtual machine seems necessary.
- It ensures the safe operation of the physical computer and the virtual machines since virtual machines does not take up too much internal disk space of the computer.
- You can store your private data in a very safe space, free from the threat of system crashes or virus intrusion.
- The virtual machine in the external hard disk is mobile and portable.
Next, I will explain in detail how to add an external hard drive to a virtual machine in VMware and Hyper-V.
How to connect external hard drive to VMware VM
This section focuses on how to connect an external USB drive to a virtual machine in VMware Workstation. If you are running ESXi virtual machines, you can go to VM >> Edit Settings to add hardware which contributes to copy ESXi VM to USB hard drive.
1. Verify the USB controller is present. Go to VM >> Settings >> Add Hardware >> USB Controller >> Finish.
2. Plug the USB device into the USB port of the physical computer.
3. Access to VMware Workstation and click VM >> Removable devices >> your external hard drive, then click Connect.
4. If you want to access to the content in USB device, please go to This PC, right-click the hard drive to look through the content.
You can use the external hard drive to store the data of virtual machines or run virtual machines off it.
How to connect Hyper-V VM to external hard drive
Basically, there are 3 ways to connect USB to Hyper-V VM.
- Take the USB disk offline and attach to a Hyper-V VM
- Access USB device in Hyper-V VM in Enhanced Session Mode
- Enable Hyper-V USB passthrough via Remote Desktop Protocol
In this section. I will explain how to attach USB hard drive to a Hyper-V virtual machine.
1. Type diskmgmt.msc in Disk Management console.
2. Right-click the USB disk and select Offline.
3. Access to Hyper-V manager. Right-click a virtual machine and select Settings.
Tips: You don’t need to power off the virtual machine.
4. Select SCSI Controller >> Hard Drive >> Add.
Tips: If you do not have a SCSI controller yet, you need to first select Add Hardware at the top of the navigation pane and add a SCSI Controller to your virtual machine.
5. Click the Hard Drive >> Physical hard disk. Then select the offline USB hard drive.
After connecting external hard drive to Hyper-V VM, you can back up virtual machines to USB directly.
How to backup VM to external hard drive
With external hard drive, you are able to backup virtual machines to the new location conveniently that saves the internal disk space. An external drive that has higher storage capacity that scales to your lab would be the most optimal.
For VMware Workstation backup, you can plug the .vmdk files into USB hard drive or export virtual machine to it. For VMware ESXi, there are 3 methods to back up VM to external hard drive such as downloading VM files from datastore, exporting VM as OVF/OVA template or a third-party tool.
For user with large amounts of virtual machines, it is wiser to use a professional backup software to back up VM to external hard drive such as AOMEI Cyber Backup. It can back up numerous virtual machines to external hard drive within several clicks and create a scheduled backup task to reduce the human errors.
Procedures to back up VM to external hard drive
1. Install AOMEI Cyber Backup, and add ESXi/Hyper-V device.
2. Click Backup Task >> Create New Task.
3. Select one or more virtual machines in the backup task. Then go to specify the location for backup files, locate the USB hard drive and select it.
4. Schedule the backup task with flexible strategies.
5. Set up the retention policy to clean up the unwanted VM backups that save the storage of USB hard drive.
Within a few clicks, you can set up an automatic backup plan that protects the data security of your virtual machines. Meanwhile, you can Restore the VM from USB to another host easily.
Whether you are running virtual machine in VMware or Hyper-V, external hard drive can provide its convenience to your virtual environment. In this article, I have shared the methods of how to connect external hard drive to virtual machine.
However, using external hard drive may lose some speed and performance for virtual machine. If you want to use an SSD to improve the operating speed, this can cause extra financial burden. So, you can try copying files to network location.