
Command Reference A-35
NAME
exportfs - export and unexport files or directories
SYNOPSIS
exportfs
[ -
aiuv
] [ -
o
options
] [
pathname
]
DESCRIPTION
If no
pathname
is specified,
exportfs
lists all currently exported directories and
files. If
pathname
is specified,
exportfs
makes the specified file or directory avail-
able or unavailable for mounting by NFS clients.
OPTIONS
-
a
Takes the list of path names to be exported or unexported from the
/etc/
exports
file. If you specify
pathname
in the command when using the
-a
option, the command ignores
pathname
.
-
i
Ignores the options in the
/etc/exports
file. Without the -
i
option, the
exportfs
command uses the options associated with the
pathname
speci-
fied in
/etc/exports
.
-
u
Unexports the specified path name. If you also include the
-a
option, the
command unexports the path names in the
/etc/exports
file and ignores
pathname
.
-
v
Prints each path name as it is exported or unexported.
-o
option
Specifies a list of comma-separated options that describe how a file or direc-
tory is exported. You can specify the option in one of the following formats:
access=
hostname
[:hostname]...
Give mount access to each host listed. Alternatively, you can specify a net-
group instead of a host in the list. The netgroup must be defined in the
/etc/
netgroup
file. Whether the hosts can mount
pathname
with root access,
read-and-write access, or read-only access depends on how you use the
root
,
rw
, and
ro
options, as described below.
anon=
uid
If a request comes from user ID of 0 (root user ID on the client), use
uid
as
the effective user ID unless the client host is included in the
root
option. The
default value of
uid
is 65534. To disable root access, set
uid
to 65535. To
grant root access to all clients, set
uid
to 0.
ro
Export the
pathname
read-only. If you do not specify this option, the
path-
name
is exported read-write.
rw=
hostname
[:hostname]...
Export the
pathname
read-only to all hosts not specified in the list and read-
write to the hosts in the list. Netgroup names are not allowed in the list.
exportfs
Summary of Contents for PowerVault 720N
Page 1: ... ZZZ GHOO FRP HOO 3RZHU9DXOW 1 1 DQG 1 6 67 0 0 1 675 725 1 200 1 5 5 1 8 ...
Page 6: ...viii ...
Page 48: ...l ...
Page 124: ...3 28 Dell PowerVault 720N 740N and 760N System Administrator and Command Reference Guide ...
Page 252: ...8 12 Dell PowerVault 720N 740N and 760N System Administrator and Command Reference Guide ...
Page 280: ...10 10 Dell PowerVault 720N 740N and 760N System Administrator and Command Reference Guide ...
Page 332: ...14 6 Dell PowerVault 720N 740N and 760N System Administrator and Command Reference Guide ...
Page 344: ...15 12 Dell PowerVault 720N 740N and 760N System Administrator and Command Reference Guide ...
Page 362: ...16 18 Dell PowerVault 720N 740N and 760N System Administrator and Command Reference Guide ...
Page 372: ...17 10 Dell PowerVault 720N 740N and 760N System Administrator and Command Reference Guide ...
Page 392: ...18 20 Dell PowerVault 720N 740N and 760N System Administrator and Command Reference Guide ...
Page 414: ...19 22 Dell PowerVault 720N 740N and 760N System Administrator and Command Reference Guide ...
Page 416: ...A 2 Dell PowerVault 720N 740N and 760N System Administrator and Command Reference Guide ...
Page 417: ...Command Reference A 3 8VHU RPPDQGV This section contains user commands ...
Page 531: ...Command ReferenceA 117 ...
Page 588: ...A 174 Dell PowerVault 720N 740N and 760N System Administrator and Command Reference Guide ...