Increasing work fine from GUI and CLI. But, I would like to know, is it possible to reduce the size of the disk in vm/lxc? And, if it possible, how to do it?
In documentation I can't find about it.
Is there a way to do this while restoring a backup or cloning a VM ? I'm too interested in shrinking a big VM after moving out several gigabytes of data as it raise backup problems (large backup storing static data).
Increasing work fine from GUI and CLI. But, I would like to know, is it possible to reduce the size of the disk in vm/lxc? And, if it possible, how to do it?
In documentation I can't find about it.
If you're using a local ZFS pool with LXC on a filesystem (the default for local ZFS storage) rather than a disk image , you can shrink or grow the filesystem at any time with (adjust 100G to the desired size):
Code:
zfs set refquota=100G POOL/FILESYSTEM
Disk images or block devices can only be managed as Wolfgang indicated.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.