----- Mail original ----- > De: "Caleb Everett" <[email protected]> > À: "lxc-users" <[email protected]> > Envoyé: Mardi 14 Mars 2017 14:17:52 > Objet: Re: [lxc-users] Trouble locating rootfs
> Thank you - I had done that and it was showing a mount point of: > /var/lib/lxd/storage-pools/default/containers/<container> > but there doesn't appear to be anything there. > On Tue, Mar 14, 2017 at 9:51 AM, Benoit GEORGELIN - Association Web4all < [ > mailto:[email protected] | [email protected] ] > wrote: >> ----- Mail original ----- >> > De: "Caleb Everett" < [ mailto:[email protected] | >> > [email protected] ] > >>> À: "lxc-users" < [ mailto:[email protected] | >> > [email protected] ] > >> > Envoyé: Mardi 14 Mars 2017 12:32:11 >> > Objet: [lxc-users] Trouble locating rootfs >> > I'm trying to set acl permissions on some files in the root file system >> > from the >> > host, but can't seem to find the root file systems for the containers. >> > I'm using zfs for storage. Both /var/lib/lxd/containers/<container> and >> > /var/lib/lxd/storage-pools/default/containers/<container> are empty. >> > Does anyone have any ideas on how I can locate the root file systems? >> With ZFS, you can do : zfs list >> You will see your ZFS datasets , and their mount points. >> If you need to mount a specific dataset you can do : zfs mount <DATASET> >> That should help. >> Regards So ZFS show the mount point as mounted ? What's the result of : - zfs get mountpoint <your-zfs-lxd-zpool> - zfs get mounted <your-zfs-lxd-zpool> You should be able to do the same with you container. _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
