david kennedy
Explorer
- Joined
- Dec 19, 2013
- Messages
- 98
OK, no hits on my original question so perhaps I was unclear so let me try this from another angle.
I have a SUN X4500 i am looking to convert from Solaris 11.1 to FreeNas 9.
On this box i have the following structure.
z01/home/A
z01/home/B
z01/home/C
z01/home/D
z01/home/E
z01/Share
z01/Share/A
z01/Share/B
etc
Now when i created a similar structure in FreeNas (using the gui) i found a few oddities.
1) lets say i put Share into a jail (mounted on /media). The jail can see "A", "B" etc.
If i make a folder under /media/Share/A/MyNewFolder this is NOT visible under the non-jail account but is visible on the NFS share (using the real ip, not the jails). If i set the NFS permissions correctly i can create files and folders under /media/Share/A/ and they are visible in the jail, but not the "host".
2) the storage accounting also seems weird. items stored in /media/Share/A/MyNewFolder are reported under /media/Share/ and not /media/Share/A which shows like 127 bytes or such.
As I am totally new to FreeNas i just need a bit of guidance on the best practices on creating / sharing ZFS filesystems under Freenas. For what it is worth the file systems are shared out over NFS under solaris and work exactly as one would expect but only because they are shared out at the "child" level, IE:
MyBox:/z01/Share/A on /mnt/ShareA
MyBox:/z01/Share/B on /mnt/ShareB
etc
Instead of sharing MyBox:/z01/Share to /mnt/Share which i think is causing the issue (nested sharing in Solaris isn't really supported).
So, should I create file systems like :
z01/Share/A
z01/Share/B
But mount them as /media/A and /media/B instead?
Hopefully this is more clear and someone can give me a hand. The X4500 is a solid machine, but solaris is a little heavy for what it needs to do (NAS).
I have a SUN X4500 i am looking to convert from Solaris 11.1 to FreeNas 9.
On this box i have the following structure.
z01/home/A
z01/home/B
z01/home/C
z01/home/D
z01/home/E
z01/Share
z01/Share/A
z01/Share/B
etc
Now when i created a similar structure in FreeNas (using the gui) i found a few oddities.
1) lets say i put Share into a jail (mounted on /media). The jail can see "A", "B" etc.
If i make a folder under /media/Share/A/MyNewFolder this is NOT visible under the non-jail account but is visible on the NFS share (using the real ip, not the jails). If i set the NFS permissions correctly i can create files and folders under /media/Share/A/ and they are visible in the jail, but not the "host".
2) the storage accounting also seems weird. items stored in /media/Share/A/MyNewFolder are reported under /media/Share/ and not /media/Share/A which shows like 127 bytes or such.
As I am totally new to FreeNas i just need a bit of guidance on the best practices on creating / sharing ZFS filesystems under Freenas. For what it is worth the file systems are shared out over NFS under solaris and work exactly as one would expect but only because they are shared out at the "child" level, IE:
MyBox:/z01/Share/A on /mnt/ShareA
MyBox:/z01/Share/B on /mnt/ShareB
etc
Instead of sharing MyBox:/z01/Share to /mnt/Share which i think is causing the issue (nested sharing in Solaris isn't really supported).
So, should I create file systems like :
z01/Share/A
z01/Share/B
But mount them as /media/A and /media/B instead?
Hopefully this is more clear and someone can give me a hand. The X4500 is a solid machine, but solaris is a little heavy for what it needs to do (NAS).