Hi, I came across this post while trying to figure out how to mount my zfs pool to a container. I have already been through that link and mounting regular directories works great, my issue now is that I cannot see the content of the subvolumes inside the mount (in the container).
My pool is like:
root@pve:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
pool 2.73T 2.47T 170K /pool
pool/local 1.58G 2.47T 170K /mnt/local_storage
pool/local/git 1.58G 2.47T 1.58G /mnt/local_storage/git
pool/shared 2.73T 2.47T 11.2G /mnt/shared_storage
pool/shared/backups 1.16T 2.47T 610G /mnt/shared_storage/backups
pool/shared/files 47.0G 2.47T 47.0G /mnt/shared_storage/files
pool/shared/games 568G 2.47T 568G /mnt/shared_storage/games
pool/shared/media 882G 2.47T 879G /mnt/shared_storage/media
pool/shared/os 62.1G 2.47T 62.1G /mnt/shared_storage/os
pool/shared/software 38.5G 2.47T 38.5G /mnt/shared_storage/software
pool/shared/temp 526K 2.47T 298K /mnt/shared_storage/temp
...
In my .conf file I added "mp0: /mnt/shared_storage,mp=/mnt/storage" as described in the link and I can see the /mnt/storage as well as all the subvolumes inside it (backups, files...), the issue is that they are all empty. If I mount the subvolume itself (like I did for "pool/shared/media" in my plex container), I can see all the files inside it.
Is there any option for some kind of a recursive bind mount or something?