Hello friends,
I need to export by NFS the home for a remote server...
The creation process was as follows:
Create the pool called 'storage'
See the pool mounted
Creation of ZFS datasets (file systems)
See the ZFS dataset
Creation of more ZFS datasets (file systems)
See the ZFS dataset
See the ZFS dataset mounted
The reason for doing it that way was to be able to control the disk quota for every user.
I am trying to share it like this:
From a remote server view the shared
Mount the shared
View the mounted data
View the data inside /home
My question is how would you go about NFS exporting the content recursively?
Thanks.
I need to export by NFS the home for a remote server...
The creation process was as follows:
Create the pool called 'storage'
# zpool create storage da1
See the pool mounted
# df -h | egrep 'Filesystem|storage '
Code:
Filesystem Size Used Avail Capacity Mounted on
storage 6.4T 628G 5.8T 10% /storage
Creation of ZFS datasets (file systems)
# zfs create - storage/home
See the ZFS dataset
# df -h | egrep 'Filesystem|storage |storage/home '
Code:
Filesystem Size Used Avail Capacity Mounted on
storage 6.4T 628G 5.8T 10% /storage
storage/home 5.8T 1.6G 5.8T 0% /storage/home
Creation of more ZFS datasets (file systems)
Code:
# zfs create - storage/home/mvilla
# zfs create - storage/home/vcordoba
See the ZFS dataset
# zfs list
Code:
NAME USED AVAIL REFER MOUNTPOINT
storage 8.58T 7.17T 628G /storage
storage/home 549G 7.18T 1.65G /storage/home
storage/home/vcordoba 96K 10.0G 96K /storage/home/vcordoba
storage/home/mvilla 41.6G 7.18T 41.6G /storage/home/mvilla
See the ZFS dataset mounted
# df -h | egrep 'Filesystem|storage |storage/home |storage/home/mvilla|vcordoba'
Code:
Filesystem Size Used Avail Capacity Mounted on
storage 6.5T 628G 5.8T 9% /storage
storage/home 5.8T 1.6G 5.8T 0% /storage/home
storage/home/vcordoba 10G 96K 10G 0% /storage/home/vcordoba
storage/home/mvilla 5.9T 42G 5.8T 1% /storage/home/mvilla
The reason for doing it that way was to be able to control the disk quota for every user.
I am trying to share it like this:
# cat /etc/exports
Code:
/storage -alldirs -network 10.2.1.10/24
From a remote server view the shared
# showmount -e alpha
Code:
Exports list on alpha:
/storage 10.2.1.10
Mount the shared
# mount_nfs -o nfsv3 alpha:/storage /mnt
View the mounted data
# ls /mnt
Code:
home
View the data inside /home
# ls /mnt/home
Code:
(none here)
My question is how would you go about NFS exporting the content recursively?
Thanks.