exportfs
exportfs primarily used to manage the current file system NFS server.
Scope of this command: RedHat, RHEL, Ubuntu, CentOS, Fedora.
1 , grammar
/usr/sbin/exportfs [-avi] [-o options,..] [client:/path ..]
/usr/sbin/exportfs -r [-v]
/usr/sbin/exportfs [-av] -u [client:/path ..]
/usr/sbin/exportfs [-v]
/usr/sbin/exportfs –f
2 , the parameter list
Options |
Explanation |
-a |
Nfs shared configuration file for all of the shared directory |
-i |
Ignore / etc / exports configuration file, just use the default value exportfs command and command-line parameters specified |
-r |
Reshare all nfs file system |
-u |
Cancel share one or more NFS shared file systems |
-v |
Show execution information |
3 , examples
|
Made a study of the Linux platform, now came up with a prototype, you can use and reference
Link: https: //pan.baidu.com/s/1GOLVU2CbpBNGtunztVpaCQ Password: n7bk