Public bug reported:

For whatever reason I chose overly conservatively when asked how much
space I wanted to allocate during 'lxd init'.  When I then ran out, it
wasn't super obvious (at least to me) how to fix the situation.

(Even when googling for help, most of the ZFS documentation
 (reasonably) assumes you're dealing with drives not a file backed
 disk image.)

I ended up doing this:

 * dd if=/dev/zero of=/var/lib/lxd/zfs1.img bs=1k count=1 seek=20M
 * zpool add lxd /var/lib/lxd/zfs1.img 

Which ... appears to work?  It'd be nice if lxd had some documentation
around how to manage storage.

And/or perhaps lxd itself could help you manage your storage?

** Affects: lxd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to