A-124Dell PowerVault 720N, 740N, and 760N System Administrator and Command Reference Guide
In an export entry, you can specify that a file or directory be exported to a subnet
instead of individual hosts. The export entry for exporting to subnets can use the
ro, rw, or root option; you cannot specify a subnet in the list for the access
option.
Instead of specifying a host name or netgroup name in the entry, specify the sub-
net in one of the following formats:
dotted_IP/num_bits The
dotted_IP field is either an IP address or a subnet
number. The num_bits field specifies the size of the sub-
net by the number of leading bits of the netmask.
[ network ] subnet [ netmask ] netmask
The subnet field is the subnet number. The netmask field
is the netmask.
In UNIX, it is illegal to export a directory that has an exported ancestor in the
same file system. Data ONTAP 5.3 does not have this restriction. For example,
you can export both the / directory and the /home directory. In determining per-
missions, the filer uses the longest matching prefix.
EXAMPLES
In the following example, all network clients can mount the /home directory but
only the adminhost can mount the / directory:
/ -access=adminhost,root=adminhost
/home
The following examples show different ways of specifying an export entry
that exports the /home directory to the 123.45.67.0 subnet with the
255.255.255.0 netmask:
/home -rw=123.45.67.0/24
/home -rw=123.45.67/24
/home -rw=network 123.45.67.0 netmask 255.255.255.0
/home -rw=123.45.67.0 255.255.255.0
FILES
/etc/exports directories and files exported to NFS clients
/etc/hosts host name database
SEE ALSO
exportfs, reboot, hosts, netgroup, rc
exports