Quoting Papp Tamas (tom...@martos.bme.hu): > On 04/03/2013 11:43 PM, Serge Hallyn wrote: > > > >It's on the list - only trick is I need to learn how to use it :) > > I planning to make some changes like this: > > echo " -B zfs [--zfs-root PATH]" >&2 > > echo " --zfs-root PATH specify the zfs path for lxcpath (default: > tank/lxc)" >&2 > > where tank used to be the default zfs pool name for. > A typical zfs list output is like this: > > NAME USED AVAIL REFER MOUNTPOINT > tank 384G 710G 168K /tank > tank/lxc 384G 710G 256K /data/lxc > tank/lxc/camel 108G 710G 108G /data/lxc/camel > tank/lxc/common 854M 710G 854M /data/lxc/common > tank/lxc/confluence 5.84G 710G 5.84G /data/lxc/confluence > tank/lxc/demo 1.13G 710G 1.13G /data/lxc/demo > > It's mount point was set by: > > zfs set mountpoint=/data/lxc tank/lxc > > Of course it's can be anywhere on the filesystem, eg. /var/lib/lxc.
If you want to go ahead and send a full patch against the current lxc-clone.in script, that should help me reproduce what you want in the api version. Will the path used as rootfs always be a zfs mountpoint? (I.e. not a subdir?) If so that'll make it easier to detect zfs mounts automatically. -serge ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users