:man| Alphabetical   Categories   About us 
 
FIXMOUNT (8) | System administration commands and daemons | Unix Manual Pages | :man

NAME

fixmount - fix remote mount entries

CONTENTS

Synopsis
Description
Options
Files
See Also
History
Authors
Bugs

SYNOPSIS

fixmount [-adervq] [-h name] host ...

DESCRIPTION

fixmount is a variant of showmount(8) that can delete bogus mount entries in remote mountd(8) daemons. The actions specified by the options are performed for each host in turn.

OPTIONS

-a -d -e
These options work as in showmount(8) except that only entries pertaining to the local host are printed.
-r Removes those remote mount entries on host that do not correspond to current mounts, i.e., which are left-over from 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 -r except that only a notification message is printed for each bogus entry found. The remote mount table is not changed.
-A Issues a command to the remote mountd declaring that all of its file systems have been unmounted. This should be used with caution, as it removes all remote mount entries pertaining to the local system, whether or not any file systems are still mounted locally.
-v 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 is name. This is useful after the local hostname has been changed and rmtab entries using the old name remain on a remote machine. Unfortunately, most mountd’s will not be able to successfully handle removal of such entries, so this option is useful in combination with -v only.

This option also saves time as comparisons of remotely recorded and local hostnames by address are avoided.

FILES

/etc/mtab
List of current mounts.
/etc/rmtab
Backup file for remote mount entries on NFS server.

SEE ALSO

mtab(5), rmtab(5), mountd(8), showmount(8)

HISTORY

AUTHORS

BUGS

 
Created by Blin Media, 2008-2013