[lxc-users] Trouble locating rootfs

Benoit GEORGELIN - Association Web4all benoit.georgelin at web4all.fr
Tue Mar 14 16:51:38 UTC 2017


----- Mail original -----
> De: "Caleb Everett" <caleb at calebeverett.io>
> À: "lxc-users" <lxc-users at lists.linuxcontainers.org>
> 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


More information about the lxc-users mailing list