MAN page from RedHat EL 8 am-utils-6.2.0-38.el8.x86_64.rpm
FIXMOUNT
Section: Maintenance Commands (8)
Updated: 26 Feb 1993
Index NAME
fixmount - fix remote mount entries
SYNOPSIS
fixmount[
-adervq][
-hname]
host...
DESCRIPTION
fixmountis a variant ofshowmount(8)that can delete bogus mount entries in remotemountd(8)daemons.The actions specified by the options are performed for eachhostin turn.
OPTIONS
- -a -d -e
- These options work as inshowmount(8)except that only entries pertaining to the local host are printed.
- -r
- Removes those remote mount entries onhostthat do not correspond to current mounts, i.e., which are left-overfrom a crash or are the result of improper mount protocol.The actuality of mounts is verified using the entries in/etc/mtab.
- -v
- Verify remote mounts. Similar to-rexcept that only a notification message is printed for each bogus entryfound. The remote mount table is not changed.
- -A
- Issues a command to the remote mountd declaring that ALL of its filesystemshave been unmounted. This should be used with caution, as it removes allremote mount entries pertaining to the local system, whether or not anyfilesystems are still mounted locally.
- -q
- Be quiet.Suppresses error messages due to timeouts and "Program not registered",i.e., due to remote hosts not supporting RPC or not running mountd.
- -h name
- Pretend the local hostname isname.This is useful after the local hostname has been changed and rmtab entriesusing the old name remain on a remote machine.Unfortunately, most mountd's won't be able to successfully handle removalof such entries, so this option is useful in combination with-vonly.
This option also saves time as comparisons of remotely recorded and localhostnames by address are avoided.
FILES
- /etc/mtab
- List of current mounts.
- /etc/rmtab
- Backup file for remote mount entries on NFS server.
SEE ALSO
showmount(8),
mtab(5),
rmtab(5),
mountd(8C).
``am-utils''info(1)entry.
Linux NFS and Automounter Administrationby Erez Zadok, ISBN 0-7821-2739-8, (Sybex, 2001).
http://www.am-utils.org
Amd - The 4.4 BSD Automounter
BUGS
No attempt is made to verify the information in
/etc/mtabitself.
Since swap file mounts are not recorded in/etc/mtab,a heuristic specific to SunOS is used to determine whether such a mountis actual (replacing the string "swap" with "root" and verifying the resultingpath).
Symbolic links on the server will cause the path in the remote entry to differfrom the one in/etc/mtab.To catch those cases, a filesystem is also deemed mounted if itslocalmount point is identical to the remote entry.I.e., on a SunOS diskless client,server:/export/share/sunos.4.1.1is actually/usr/share.Since the local mount point is/usr/shareas well this will be handled correctly.
There is no way to clear a stale entry in a remote mountd after thelocal hostname (or whatever reverse name resolution returns for it)has been changed. To take care of these cases,the remote /etc/rmtab file has to be edited and mountd restarted.
The RPC timeouts for mountd calls can only be changed by recompiling.The defaults are 2 seconds for client handle creation and 5 seconds forRPC calls.
AUTHORS
Andreas Stolcke <stolckeAATTicsi.berkeley.edu>.Erez Zadok <ezkAATTcs.sunysb.edu>, Computer Science Department, Stony BrookUniversity, Stony Brook, New York, USA.Other authors and contributors to am-utils are listed in the
AUTHORSfile distributed with am-utils.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- FILES
- SEE ALSO
- BUGS
- AUTHORS
This document was created byman2html,using the manual pages.