[SOLVED] share datasets from truenas to lxc

gzbenson

New Member
Oct 25, 2022
12
1
3
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 ?
 
Last edited:
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 ?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!