Hello,
I built a VM (W7 Home x32) on an host (W7 Ultm x64). Virtualbox is 5.0.16. Three drives are defined for the VM : its own drive, a shared drive with the host, and a LUN drive on a target somewhere in the LAN. All work correctly. But, after a few hours without any exchange - typically during the night - the NAS on which is the LUN gets to sleep. Then, the VM freezes and must be closed and restarted.
Before I stop NAS sleeping function - easy, but energy consumer -, do you have any idea to keep the VM alive ?
Thank you.
NMe
VM and sleeping LUN
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: VM and sleeping LUN
Can you clarify what a "LUN drive on a target somwhere in the LAN" means? It sounds like you just mean (or should just mean) a VDI located on a network share?
If it's just a VDI located on a network share then I'd expect the NAS to wake up when the VMs host tries to access the VDI file. You might want to turn off I/O caching on that drive (in VM settings | Storage), just in case the asynch access is causing the problem.
If you meant something else then please explain.
If it's just a VDI located on a network share then I'd expect the NAS to wake up when the VMs host tries to access the VDI file. You might want to turn off I/O caching on that drive (in VM settings | Storage), just in case the asynch access is causing the problem.
If you meant something else then please explain.
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: VM and sleeping LUN
I'm guessing the LUN thing means that the guest believes it has a real drive on one of its ports even though the drive file exists on the NAS through the network. Having the NAS go to sleep is the equivalent of yanking a physical SATA cable off a physical drive while a physical computer is running. If the OS hasn't set the drive up as hot-swappable, the OS may crash.the NAS on which is the LUN gets to sleep. Then, the VM freezes and must be closed and restarted.
Gotta keep the NAS up, or use a shared folder instead of that LUN drive.