Skip to content

Instantly share code, notes, and snippets.

@demiurg
Last active June 27, 2018 20:04
Show Gist options
  • Save demiurg/d3d25c9e60ff9a694d753ba077c9ad4f to your computer and use it in GitHub Desktop.
Save demiurg/d3d25c9e60ff9a694d753ba077c9ad4f to your computer and use it in GitHub Desktop.
truncate -s +100G /data/containers/expand.img
sudo zpool set autoexpand=on lxd
# sudo zpool online -e lxd /data/containers/expand.img
sudo zpool add lxd /data/containers/expand.img
sudo zpool set autoexpand=off lxd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment