CONTENT
  • CHANGES
Szukaj
counter

#top showmount


showmount - show mount information for an NFS server

Powiązane:
exportfs, rpcinfo, showmount,

SYNOPSIS
/usr/sbin/showmount [ -adehv ] [ --all ] [ --directories ] [ --exports ] [ --help ] [ --version ] [ host ]


DESCRIPTION



OPTIONS
-a or --all
List both the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable. See the notes on rmtab in rpc.mountd(8).

-d or --directories
List only the directories mounted by some client.

-e or --exports
Show the NFS server's export list.

-h or --help
Provide a short help summary.

-v or --version
Report the current version number of the program.

--no-headers
Suppress the descriptive headings from the output.



EXAMPLES
showmount -e 10.5.5.5
Rezultat:
/mnt/iso/CentOS064x64/DVD2  10.0.0.0/10
/mnt/iso/CentOS064x64/DVD1  10.0.0.0/10
/mnt/iso/CentOS062/DVD2     10.0.0.0/10
/mnt/iso/CentOS060x64/DVD2  10.0.0.0/10
/mnt/iso/CentOS060x64/DVD1  10.0.0.0/10
/mnt/iso/CentOS060/LiveCD   10.0.0.0/10
/mnt/iso/CentOS057/LiveCD   10.0.0.0/10
/mnt/iso/CentOS057/8of8     10.0.0.0/10
/mnt/iso/CentOS057/7of8     10.0.0.0/10
/mnt/iso/OpenBSD46/install  10.0.0.0/10
/mnt/iso/CentOS057/6of8     10.0.0.0/10
/mnt/iso/CentOS057/5of8     10.0.0.0/10
/mnt/iso/CentOS057/4of8     10.0.0.0/10
/mnt/iso/CentOS057/3of8     10.0.0.0/10
/mnt/iso/CentOS057/2of8     10.0.0.0/10
/mnt/iso/CentOS057/1of8     10.0.0.0/10
/mnt/iso/CentOS055/LiveCD   10.0.0.0/10
/mnt/iso/CentOS055/7of7     10.0.0.0/10
/mnt/iso/CentOS055/6of7     10.0.0.0/10
/mnt/iso/CentOS055/5of7     10.0.0.0/10
/mnt/iso/CentOS055/4of7     10.0.0.0/10
/mnt/iso/CentOS055/3of7     10.0.0.0/10
/mnt/iso/CentOS055/2of7     10.0.0.0/10
/mnt/iso/CentOS055/1of7     10.0.0.0/10
/mnt/iso/CentOS053x64/DVD   10.0.0.0/10
/mnt/iso/CentOS053/LiveCD   10.0.0.0/10
/mnt/iso/CentOS053/6of6     10.0.0.0/10
/mnt/iso/CentOS053/5of6     10.0.0.0/10
/mnt/iso/CentOS062/DVD1     10.0.0.0/10
/mnt/iso/CentOS053/4of6     10.0.0.0/10
/mnt/iso/CentOS053/3of6     10.0.0.0/10
/mnt/iso/CentOS053/2of6     10.0.0.0/10
/mnt/iso/CentOS053/1of6     10.0.0.0/10

showmount -d 10.5.5.5
(see contents /var/lib/nfs/rmtab)
/mnt/iso/CentOS053/1of6
/mnt/iso/CentOS053/2of6
/mnt/iso/CentOS053/3of6
/mnt/iso/CentOS053/4of6
/mnt/iso/CentOS053/5of6
/mnt/iso/CentOS053/6of6

showmount -a 10.5.5.5
Rezultat:
10.41.0.50:/mnt/data1/siso1
10.41.0.50:/mnt/data1/temp
10.41.0.50:/mnt/iso/CentOS053/1of6
10.41.0.50:/mnt/iso/CentOS053/2of6
10.41.0.50:/mnt/iso/CentOS053/3of6
10.41.0.50:/mnt/iso/CentOS053/4of6
10.41.0.50:/mnt/iso/CentOS053/5of6
10.41.0.50:/mnt/iso/CentOS053/6of6
10.41.0.50:/srv/vmware
10.41.0.50:/srv/vmwarework




Zmodyfikowany ostatnio: 2014/05/15 15:19:48 (9 lat temu), textsize: 3,37 kB, htmlsize: 4,02 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników