share datasets from truenas to pve-lxc

BensonHo

Cadet
Joined
Oct 10, 2022
Messages
9
i'm the newer for proxmox and truenas , I'd like to share my datasets from truenas VM ( 13.0 U2) to lxc on proxmox (7.2-11) , such as

Storage Pool - 01
-- dataset A <----- exports this path
directory 1
directory 2
directory 3
-- sub dataset A1
directory xx
-- sub dataset A2
directory xxxx
directory xxx
-- sub dataset A3
-- sub dataset A3-1
-- sub dataset A3-2
-- sub dataset A3-3
-- sub dataset A3-4

i tried to use NFS sharing to client ( LXC - Turnkey-core , apt install nfs-common) , i can listed the dataset A , sub-dataset A1 A2 A3 when i mounted the exports path but can't ls & access all directory from sub-dataset ( i already clicked the paths of setting: all_dirs )

i need to exports the paths one by one for dataset & sub-dataset ?

if i have many sub-datasets , should i still use nfs sharing or use Samba sharing instead of nfs , client can ls and access all sub-dataset and dirs when SMB just set the parent dataset ?
 

BensonHo

Cadet
Joined
Oct 10, 2022
Messages
9
nfsv4 support “ Export:All exports can be mounted together in a directory tree structure as part of a pseudo-filesystem “ ?

client should use mount -t nfs4 ?
 
Top