Public bug reported:

Hi,

I'm currently migrating containers from a 16.04 host with lxc to 18.04
with lxd, and ran into a particular problem.

I have a huge zfs pool and plenty of data. There's one zfs filesystem
mounted in /data, and several (and changing) subfilesystems mounted
under /data, e.g. /data/one, /data/two, and so on.

Under 16.04 & lxc it was sufficient to pass /data through to the
container to make them all available.


Under 18.04 & lxd the subfilesystems are not visible inside the container 
(empty directories, wrong uid/gid, not mounted). 


As far as I know there's different methods under Linux to mount one directory 
as a mirror to somewhere else, and depending on the mount options 
subfilesystems are mounted as well or not. 

Unfortunately I did not find any way to specify the mount options with
lxd to have it mounted the directory with all subfilesystems mounted
somewhere under it into the guest container.

** Affects: lxd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1782022

Title:
  lxd does not mount subdirectories into guest container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1782022/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to