monarchdodra
Explorer
- Joined
- Feb 15, 2012
- Messages
- 79
I'm not really sure how specific to FreeNas this is, but I'm trying to share all datasets under a ZPool over NFS.
Eg:
/mnt/Tank
/mnt/Tank/Dataset1
/mnt/Tank/Dataset2
The issue is if I share just "/mnt/Tank", then the "DatasetX" directories show up as empty directories.
I tried doing an NFS share with multiple paths, sharing both:
/mnt/Tank/Dataset1
/mnt/Tank/Dataset2
But I get an error that says "You cannot share a mount point and subdirectories all at once", which doesn't make much sense to me, as sharing just 1 works fine, and neither is a subdirectory of the other... Is this a bug?
What is the best solution here? I wouldn't want to have to create an NFS share per dataset, as that would create a LOT of shares, and be cumbersome to configure client side.
CIFS doesn't seem to have this problem. How am I supposed to tackle this "issue" with NFS?
Eg:
/mnt/Tank
/mnt/Tank/Dataset1
/mnt/Tank/Dataset2
The issue is if I share just "/mnt/Tank", then the "DatasetX" directories show up as empty directories.
I tried doing an NFS share with multiple paths, sharing both:
/mnt/Tank/Dataset1
/mnt/Tank/Dataset2
But I get an error that says "You cannot share a mount point and subdirectories all at once", which doesn't make much sense to me, as sharing just 1 works fine, and neither is a subdirectory of the other... Is this a bug?
What is the best solution here? I wouldn't want to have to create an NFS share per dataset, as that would create a LOT of shares, and be cumbersome to configure client side.
CIFS doesn't seem to have this problem. How am I supposed to tackle this "issue" with NFS?