LXC version: 0.9.0.0~staging~20130708-2041-0ubuntu1~ppa1~raring1
Hello, there's an inconsistency between "lxc-create --fssize" and "lxc-clone -L". "lxc-create --fssize" accepts size in GB. For example, "--fssize 2G" mease 2GB (or 2GiB, my brain hurts with all that GB vs GiB stupidity but that's another story.) "lxc-clone -L" accepts size _only_ in B. In other words, ignores G. lxc-clone -s -B lvm -L2G... returns: "Unable to create new logical volume with no extents" sysadmin@lxc0:~$ sudo lvs LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert lxc-test2-root vg_vmstorage owi-a-s- 1,95g lxc-test2x2-root vg_vmstorage swi-a-s- 2,05g lxc-test2-root 0,00 lxc-test4x2-root vg_vmstorage swi-a-s- 1,95g lxc-test2-root 0,00 test2 was created with --fssize 2G test2x2 cloned without -L (note 1,95g vs 2,05g, GB vs GiB? :-) ) test4x2 cloned with -L 2000000000 (doesn't accept -L2G) Thanks! Norberto ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users