rmtab.5nfs

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 5NFS 代码 · 共 81 行

5NFS
81
字号
.\" SCCSID: @(#)rmtab.5nfs	8.1	9/11/90.TH rmtab 5nfs.SH Namermtab \- table of local file systems mounted by remote NFS clients.SH Description.NXR "rmtab file".NXR "NFS protocols" "remote hosts and".NXAM "showmount command" "rmtab file".NXAM "mount command (NFS)" "rmtab file"The.PN rmtabfile resides in the .PN /etcdirectory and contains a list of all remote hosts that have mountedlocal file systems using the NFS protocols.Whenever a client performs a remote mount,the server machine's mount daemonmakes an entry in the server machine's.PN rmtabfile.The .PN umountcommand instructs the server's mount daemon to remove the entry.The .PN nfs_umount .B \-bcommand broadcasts to all servers and informs them that they should removeall entries from.PN rmtabcreated by the sender of the broadcast message.By placing a .PN nfs_umount .B \-bcommand in .PN /etc/rc.local ,.PN rmtabtables on NFS servers can be purged of entries made by a crashedclient, who, upon rebooting, did not remount the same file systems thatit had before the system crashed.  The .PN rmtab file is a series of lines of the form:.EXhostname:directory.EE.PPRather than rewrite the rmtab file on each.PN umountrequest, the mount daemon comments out unmounted entries by placing anumber sign (#) in the first character position of the appropriate line.The mount daemon rewrites the entire file, without commented out entries, no more frequently than every 30 minutes.  The frequencydepends on the occurrence of.PN umountrequests..PPThis table is used only to preserve information between crashesand is read only by.MS mountd 8nfswhen it starts up.The .PN mountddaemon keeps an in-core table,which it uses to handle requests from programs like.MS showmount 8nfsand.MS shutdown 8 ..SH RestrictionsAlthough the.PN rmtabtable is close to the truth,it may contain erroneous information ifNFS client machines fail to execute.PN umount .B \-a when they reboot..SH Files.PN /etc/rmtab.SH See Alsomount(8nfs), umount(8nfs), mountd(8nfs), showmount(8nfs), shutdown(8)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?