Where is exportfs in linux




















NFS directory mounts. Blank lines are ignored, comments can be made by starting a line with the hash mark , and long lines can be wrapped with a backslash. NFS needs to be able to identify each filesystem that it exports. Normally it will use a UUID for the filesystem if the filesystem has such a thing or the device number of the device holding the filesystem if the filesystem is stored on the device.

A Network File System NFS allows remote hosts to mount file systems over a network and interact with those file systems as though they are mounted locally. This enables system administrators to consolidate resources onto centralized servers on the network. Run the showmount command with the server name to check which NFS exports are available. In this example, localhost is the server name. Any clients that are active will get new entries added by mountd when they make their next request.

When displaying the current export list, also display the list of export options. When using exportfs -a , all directories in exports 5 are added to xtab and the resulting list is pushed into the kernel.

In addition, the administrator may overide any options from these sources using the -o argument which takes a comma-separated list of options in the same fashion as one would specify them in exports 5. Setting the value of the anon option to -1 disables anonymous access. Thus, by default, secure NFS accepts nonsecure requests as anonymous, and users who want more security can disable this feature by setting anon to a value of The chnfsexp command, mknfsexp command, rmnfsexp command, showmount command.

Unexports the directories you specify. Specifies optional characteristics for the exported directory. You can enter more than one variable by separating them with commas. The syntax of this file is:. The value hostname should be a client hostname that can be resolved into an IP address. The options value is used to specify how the resource should be shared. A common mistake of novice administrators is to provide an entry like the following:.



0コメント

  • 1000 / 1000