Manual Pages

Table of Contents


na_snapmirror.allow - List of allowed destination nodes




The /etc/snapmirror.allow file provides for one of two ways for controlling SnapMirror access to a source node.

The snapmirror.access option is the preferred method for controlling SnapMirror access on a SnapMirror source node. See na_options(1) and na_protocolaccess (8) for information on setting the option. If the option snapmirror.access is set to "legacy", the snapmirror.allow file defines the access permissions.

The snapmirror.allow file exists on the source node used for SnapMirror. It contains a list of allowed destination nodes to which you can replicate volumes or qtrees from that node.

The file format is line-based. Each line consists of the hostname of the allowed destination node.

The snapmirror.checkip.enable option controls how the allow check is performed. When the option is off, which is the default, the entries in the allow file must match the hostname of the destination node as reported by the hostname command. When the option is on, the source node resolves the names in the snapmirror.allow to IP addresses and then checks for a match with the IP address of the requesting destination node. In this mode, literal IPv4 addresses (e.g., literal IPv6 addresses (e.g. fe:dc:ba:98:76:54:32:10) and fully qualified names (e.g. may be valid entries in the allow file.

Note that the allow file entry must map to the IP address of the originating network interface on the destination node. For example, if the request comes from the IP address of a Gbit Ethernet interface e10 which is given the name "toaster-e10", then the allow file must contain "toaster-e10" or "" so the name resolves to the correct IP address.

A local SnapMirror, between two volumes or qtrees on the same node, does not require an entry in the allow file.


The following snapmirror.allow file on a node allows nodes named toaster and fridge to replicate volumes or qtrees from it:


na_snapmirror(1), na_options(1), na_snapmirror.conf(5) na_protocolaccess(8)

Table of Contents