david kennedy
Explorer
- Joined
- Dec 19, 2013
- Messages
- 98
So I have started looking at FreeNas as an alternative to Solaris and have a few basic questions based on a few hours of playing with freenas.
1) what is the correct way to nest file systems and share them via NFS and a jail?
I created a pool (mypool) and a file system (MyFilesystem). I then created another subfilesysetm on this such as:
/MyFilesystem/A
/MyFilesystem/B
/MyFilesystem/C
I then shared /mnt/mypool/MyFilesystem to /media on the jail.
when I go to the jail it looks correct and /media has A, B and C
If i touch /media/A/Myfile is NOT visible outside the jail, but is via NFS (i also shared mypool/MyFilesystem out).
So remote machine sees IPofbox NOTJAIL:NFSAHARE\A\Myfile correctly but under the non-jail account there is nothing in /mnt/mypool/MyFilesystem/A
Next, the accounting seems off.
If i do a zfs list all the space allocated is under /mnt/mypool/MyFilesystem and not /mnt/mypool/MyFilesystem/A
This is not what the current zfs file systems behave under solaris and was wondering what i have done incorrectly.
Thanks.
1) what is the correct way to nest file systems and share them via NFS and a jail?
I created a pool (mypool) and a file system (MyFilesystem). I then created another subfilesysetm on this such as:
/MyFilesystem/A
/MyFilesystem/B
/MyFilesystem/C
I then shared /mnt/mypool/MyFilesystem to /media on the jail.
when I go to the jail it looks correct and /media has A, B and C
If i touch /media/A/Myfile is NOT visible outside the jail, but is via NFS (i also shared mypool/MyFilesystem out).
So remote machine sees IPofbox NOTJAIL:NFSAHARE\A\Myfile correctly but under the non-jail account there is nothing in /mnt/mypool/MyFilesystem/A
Next, the accounting seems off.
If i do a zfs list all the space allocated is under /mnt/mypool/MyFilesystem and not /mnt/mypool/MyFilesystem/A
This is not what the current zfs file systems behave under solaris and was wondering what i have done incorrectly.
Thanks.