FWIW, here's my approach for resizing an existing file-backed device,
which isn't too much harder than James's original sequence:

  sudo truncate -s +5G /var/lib/lxd/zfs.img
  sudo zpool set autoexpand=on lxd
  sudo zpool online -e lxd /var/lib/lxd/zfs.img
  sudo zpool set autoexpand=off lxd

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1648995

Title:
  Not obvious how to add more storage when you run out

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1648995/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to