Dear @ll,
I guess I have not yet understood how ZFS and NFS interact with each other. Maybe someone here can help me.
What I did:
The intention is to write the blocks of all files inside the Documents directory twice, as this directory holds business critical stuff.
I mount these directories from a Linux machine:
User and group permissions are set correctly, so that the server is accessed with normal user rights (no root user).
I can access all subdirectories inside /data without any problems. But when I try to access /home/<user> the directory cannot be found. What I want to know is if this is the to expected behaviour of the system? Is there a posibility to share the /home/<users> directories via the /home NFS share without any additional mounts on the client machine?
What is the difference between exporting via zfs set sharenfs=on and old fashioned /etc/exports?
Unfortunally I was not able to find a suitable documentation or forum post that answered this questions.
Best Regards
/dev/null
I guess I have not yet understood how ZFS and NFS interact with each other. Maybe someone here can help me.
What I did:
Code:
#> zpool create pool raidz <disk1> <disk2> <disk3>
#> zfs create pool/home
#> zfs create pool/home/<user>
#> zfs create pool/home/<user>/Documents
#> zfs set sharenfs=on pool/home
#> zfs create pool/data
#> zfs set sharenfs=on pool/data
The intention is to write the blocks of all files inside the Documents directory twice, as this directory holds business critical stuff.
I mount these directories from a Linux machine:
Code:
#> mount -t nfs 192.168.123.456:/home /home
#> mount -t nfs 192.168.123.456:/data /data
User and group permissions are set correctly, so that the server is accessed with normal user rights (no root user).
I can access all subdirectories inside /data without any problems. But when I try to access /home/<user> the directory cannot be found. What I want to know is if this is the to expected behaviour of the system? Is there a posibility to share the /home/<users> directories via the /home NFS share without any additional mounts on the client machine?
What is the difference between exporting via zfs set sharenfs=on and old fashioned /etc/exports?
Unfortunally I was not able to find a suitable documentation or forum post that answered this questions.
Best Regards
/dev/null