update backing store defaults at lxc-create

Bug #1212290 reported by Serge Hallyn
6
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.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

This is fixed in upstream git, and will be built in the ppa in a few hours.

Changed in lxc (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxc - 1.0.0~alpha1-0ubuntu2

---------------
lxc (1.0.0~alpha1-0ubuntu2) saucy; urgency=low

  * Add allow-stderr to autopkgtst restrictions as the Ubuntu template
    uses policy-rc.d to disable some daemons and that causes a message to
    be printed on stderr when the service tries to start.
 -- Stephane Graber <email address hidden> Thu, 12 Sep 2013 13:57:17 -0400

Changed in lxc (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.