It looks ok. You should try to stop the container, umount , mount and check the directory. I have no ideas if that does not work .
> here is the output from: zfs get mountpoint top/lxd/containers/<container> > NAME PROPERTY VALUE SOURCE > top/lxd/containers/<container> mountpoint > /var/lib/lxd/storage-pools/default/containers/<container> local > and from: zfs get mounted top/lxd/containers/<container> > NAME PROPERTY VALUE SOURCE > top/lxd/containers<container> mounted no - > On Tue, Mar 14, 2017 at 11:30 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 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: [ mailto:[email protected] | [email protected] >>> ] | [ >> > mailto:[email protected] | [email protected] ] ] > >> > wrote: >> >> ----- Mail original ----- >>>> > De: "Caleb Everett" < [ mailto: [ mailto:[email protected] | >>>> > [email protected] ] | [ mailto:[email protected] | >> >> > [email protected] ] ] > >>>>> À: "lxc-users" < [ mailto: [ mailto:[email protected] | >> >>> [email protected] ] | >>>> > [ 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 >> [ mailto:[email protected] | >> [email protected] ] >> [ http://lists.linuxcontainers.org/listinfo/lxc-users | >> http://lists.linuxcontainers.org/listinfo/lxc-users ] > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
