update backing store defaults at lxc-create
Bug #1212290 reported by
Serge Hallyn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Low
|
Serge Hallyn |
Bug Description
Make a few updates to how lxc-create chooses a backing store:
1. allow '-B btrfs,zfs,dir' to specify order of preference
2. allow '-B ANY' which chooses the best available - best being somewhat subjective. Choices would be:
1. if $lxcpath is btrfs, use btrfs with subvolume
2. if a zfsroot called 'lxc' (or whatever is specified in /etc/lxc/lxc.conf) exists, use zfs
3. if a lvm vg called 'lxc' (or whatever is specified in /etc/lxc/lxc.conf) exists, use lvm with default fstype/size
4. use dir
3. It is yet to be decided whether when -B is not specified, and $lxcpath is btrfs, a btrfs subvolume should be created.
To post a comment you must log in.
This is fixed in upstream git, and will be built in the ppa in a few hours.