Provisioning NFS share
1) Create Directory:
mkdir <path>
2) Create Quota
isi quota quotas create --path <path> --type directory --hard-threshold 1G --advisory-threshold 750 G --container yes --enforced true
--include-snapshots false --thresholds-include-overhead false
Advisory threshold is 70 percent of hard threshold
Example
isi quota quotas create --path /ifs/test_2 --type directory --hard-threshold 2G --advisory-threshold 1G --container yes --include-snapshots false
--thresholds-include-overhead false --enforced true
3) Create NFS Export
isi nfs exports create <paths> --clients <string> --clients <string2> --root-clients <string> --root-clients <string2> --description <string>
--map-root root --security-flavors unix --force no --all-dirs yes
example:
isi nfs exports create /ifs/test_2 --clients 10.xx.xx.xx --clients 10.xx.xx.xx --root-clients 10.xx.xx.xx --root-clients 10.252.9.134
--description "test nfs export" --map-root root --security-flavors unix --all-dirs yes
No comments:
Post a Comment