brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: choose where a new VM's disk image is created with Unraid's storage override

Unraid
~/tips/tip-unraid-vm-storage-override

cat ~/tips/tip-unraid-vm-storage-override.md

Lets you pick the location of a new VM's virtual disk instead of the default domains share.

VM disk images land in the domains share by default, which is a problem when you want one VM on a faster or bigger pool.

The Unraid docs say domains is the share for virtual disk images and VM configs, and isos holds installation media. Unraid 7.0.0 added a storage override: the release notes list “storage override to specify where images are created at add VM”.

In practice, when you add a VM you can point its vdisk somewhere other than the default, for example to a different pool. The same release added an SSD flag and unmap support for vdisks, which fit well when the image sits on an SSD pool.

Caveat: I am only going by the release notes and the VM docs here, which do not spell out each field of the form. Look at the Add VM screen on your version for the exact name of the setting. Also remember that a VM image placed outside the usual share needs that location to be backed up too.

The release notes also explain where the shares end up by default. VM Manager uses three predefined shares: system for the libvirt loopback image, domains for vdisk images and isos for ISO boot images. If a pool named cache exists, they are created with that pool as primary storage. Without a cache pool the first pool by name is used, and without any pool they go on the array.

That default placement is the reason an override is handy: a VM that needs a different pool doesn’t have to share the one the domains share picked. The notes give no further detail on the override itself, so treat the exact behaviour as something to confirm on your own version.

Further reading: Unraid 7.0.0 release notes, Unraid docs: VM overview and system prep

More Unraid tips Change the RAID profile of a Unraid BTRFS pool with Balance Replace a disk in a redundant Unraid pool from the Main tab Test every Unraid drive with the DiskSpeed container See the XML behind a VM with the inline XML view in Unraid 7 grep -i "Memory cgroup out of memory" /var/log/syslog All Unraid tips (77) All topics

Link