A-36 Dell PowerVault 720N, 740N, and 760N System Administrator and Command Reference Guide
root=hostname[:hostname]...
Give root access only to the specified hosts. By default, no hosts are granted
root access. Netgroup names are not allowed in the list.
When you export a file or directory using the ro, rw, or root option, you can spec-
ify that the file or directory be exported to a subnet instead of individual hosts.
You cannot export to a subnet when using the access option.
Instead of specifying a host name or netgroup name in the exportfs command,
specify the subnet 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 subnet 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:
exportfs -o access=adminhost,root=adminhost /home
exportfs /
The following examples show different forms of the exportfs command that
export the /home directory to the 123.45.67.0 subnet with the 255.255.255.0
netmask:
exportfs -o rw=123.45.67.0/24 /home
exportfs -o rw=123.45.67/24 /home
exportfs -o rw=network 123.45.67.0 netmask 255.255.255.0
exportfs -o rw=123.45.67.0 255.255.255.0
FILES
/etc/exports directories and files exported to NFS clients
/etc/hosts host name data base
/etc/netgroup network groups data base
SEE ALSO
exports, hosts, netgroup
NOTES
Data ONTAP 5.3 supports a maximum of 255 host names in each rw and root
option. There is no limit on the number of host names in the list following the
access option, but the maximum size of the /etc/exports file is about 64 KB.
exportfs