nfs share using zfs and mounts options
1. Create a zfs volume and mount as /data_stuff
zfs create -o mountpoint=/data_stuff rpool/data_stuff
2. set quota for 20GB - This volume has restricted to 20GB not more than that
zfs set quota=20G rpool/data_stuff
3. Reserved dedicated 20GB space in rpool for the zfs data_stuff, other volumes cannot use this space
zfs set refquota=20G rpool/data_stuff
3. Share the zfs as nfs
zfs set sharenfs=on rpool/data_stuff
4. Set nfs permisssion for the zfs
zfs set share=name=some_description,path=/data_stuff,prot=nfs,anon=0,sec=sys, \
rw=@192.168.0.1:@192.168.0.2,root=@192.168.0.2:@192.168.0.2 rpool/data_stuff
5. View the config updated automatically in /etc/dfs/sharetab
/data_stuff some_description nfs anon=0,sec=sys,rw=@192.168.0.1:@192.168.0.2,root=@192.168.0.2:@192.168.0.2
6. Entry in vfstab to mount a nfs share
judi-test-01:/vol/Oracle_migration/Oracle - /Oracle_migration nfs - yes -
~Judi~
~
nfs in zfs
nfs share in zfs
nfs - Sharing and Unsharing ZFS File Systems
How to share ZFS as NFS in solaris 11
Creating a ZFS network share over NFS
zfs performance
zpool
zfs share
zfs set sharenfs
zfs share nfs
~
No comments:
Post a Comment