Configuration options and their default values
You can determine the current configurable variables and their settings by running the snapdrive config show
command.
The supported configurable items and their default settings can vary across host operating systems and the different versions of SnapDrive for UNIX. For example, on AIX the default path is /var/log/
...
The following table describes the parameters in the snapdrive.conf
file:
Variable | Description | ||||
---|---|---|---|---|---|
|
Enables you to specify how often SnapDrive for UNIX automatically fixes LUN paths. The default value is 24 hours. |
||||
|
Enables you to specify, when there are multiple Ethernet interfaces, the interfaces that you do not want to use, to reduce operation time.If the configuration has multiple Ethernet interfaces, SnapDrive for UNIX at times searches through the list of interfaces to determine if the interface can ping. If the interface fails to ping, it tries for five times before checking the next interface. Thus, the operation takes additional time to execute. If you want SnapDrive to ignore some of the interfaces, you can specify those interfaces in the |
||||
|
Specifies the access-control permissions for each host on which SnapDrive for UNIX runs by entering the permission string in an access-control file. The string that you specify controls which SnapDrive for UNIX Snapshot copy and other storage operations a host might perform on a storage system. (These access permissions do not affect the show or list operations.) Set this value to either
If you provide an access-control file, this option has no effect. |
||||
|
SnapDrive for UNIX enables you to connect to a subset of file systems or only to the host volume of the cloned disk group. Set this value to
|
||||
|
Specifies the location where SnapDrive for UNIX writes the audit log file. The default value depends on your host operating system. The path shown in the example is the default path for a AIX host. |
||||
|
Specifies the maximum size, in bytes, of the audit log file. When the file reaches this size, SnapDrive for UNIX renames it and starts a new audit log. The default value is
|
||||
|
Determines how many old audit log files SnapDrive for UNIX should save. After this limit is reached, SnapDrive for UNIX discards the oldest file and creates a new one. SnapDrive for UNIX rotates this file based on the value you specify in the
|
||||
|
Determines that the option This option is enabled by default to store the AutoSupport information in the Event Management System (EMS) log of the storage system.
|
||||
|
Specifies the number of LUNs that the host must be prepared to create when the current SnapDrive for UNIX operation completes. If few operating system resources are available to create the number of LUNs specified, SnapDrive for UNIX requests additional resources, based on the value supplied in the The default value is
|
||||
|
Specifies that the deletion of the SnapDrive generated or Non-snapdrive generated FlexClone. Set this value to either
|
||||
|
Determines that setting the NFS export permission allows/disables to create cloning in the secondary host (host which does not have export permissions on the parent volume) or storage system.
SnapDrive for UNIX does not allow cloning if there is no export permission for a volume in an NFS entity. To overcome this situation, disable this variable in the Setting the value to off enables secondary protection to work in clustered Data ONTAP. |
||||
|
Specifies the host cluster operation timeout, in seconds. You should set this value when working with remote nodes and HA pair operations to determine when the SnapDrive for UNIX operation should time out. The default value is Other than the non-master node, the host cluster master node can also be the remote node, if the SnapDrive for UNIX operation is initiated from a non-master node. If SnapDrive for UNIX operations on any node in the host cluster exceed the value you set, or the default of Remote Execution of command on slave node sfrac-57 timed out. Possible reason could be that timeout is too less for that system. You can increase the cluster connect timeout in snapdrive.conf file. Please do the necessary cleanup manually. Also, please check the operation can be restricted to lesser jobs to be done so that time required is reduced. |
||||
|
Specifies the HTTP port to use for communicating with a storage system. The default value is |
||||
|
Specifies the SSL port to use for communicating with a storage system. The default value is |
||||
|
Specifies the HTTP port to use for communicating with the SnapDrive for UNIX daemon. The default value is |
||||
|
Specifies the HTTP port to use for communicating with an Operations Manager server. The default value is |
||||
|
Specifies the SSL port to use for communicating with an Operations Manager server. The default value is |
||||
|
Specifies the number of seconds SnapDrive for UNIX waits for the DataMotion for vFiler (cutover phase) operations to complete and then retries the SnapDrive for UNIX commands. The default value is |
||||
|
Specifies the number of seconds SnapDrive for UNIX waits for the DFM API to return. The default value is |
||||
|
Specifies the number of times SnapDrive for UNIX checks access retries for an Operations Manager refresh. The default value is |
||||
|
Specifies the number of seconds SnapDrive for UNIX waits before retrying an access check for an Operations Manager refresh. The default value is |
||||
|
Specify if you want the If you change this option to onSnapDrive for UNIX does not prompt you to confirm an action requested by |
||||
|
Specifies the number of inquiries that the SnapDrive for UNIX can make about the device where the LUN resides. The default value is In normal circumstances, the default value should be adequate. In other circumstances, LUN queries for a snap create operation could fail because the storage system is exceptionally busy. If the LUN queries keep failing even though the LUNs are online and correctly configured, you might want to increase the number of retries. This variable is used on configurations that include LUNs.
|
||||
|
Specifies the number of seconds SnapDrive for UNIX waits between inquiries about the device where the LUN resides. The default value is In normal circumstances, the default value should be adequate. In other circumstances, LUN queries for a snap create operation could fail because the storage system is exceptionally busy. If the LUN queries keep failing even though the LUNs are online and correctly configured, you might want to increase the number of seconds between retries. This variable is used on configurations that include LUNs.
|
||||
|
Specifies the protocol that SnapDrive for UNIX uses as the transport type when creating storage, if a decision is required. The acceptable values are
On AIX hosts, ensure the
|
||||
|
Determines that the ALUA is supported for multipathing on the igroup. The storage systems must be HA pair and the HA pair failover state in
|
||||
|
Specifies whether to enable or disable the cache. SnapDrive maintains a cache of available active ports and the port names (WWPNs) information to send the response faster. This variable is useful in few scenario where there is no FC cables connected to the port or wrap plug is used in the port, SnapDrive for UNIX may experience long delays to fetch the information about FC interface and their corresponding WWPNs. The caching helps to resolve/improve the performance of SnapDrive operations in such environments. The default value is |
||||
|
Determines whether SnapDrive for UNIX implicitly requests host preparation for LUNs or notifies you that it is required and exits.
|
||||
|
Allows to clone/restore by using the higher version of NFS. In a pure NFSv4 environment, when snap management operations such as clone and restore are attempted with a Snapshot copy created on NFSv3, snap management operation fails. The default value is Therefore, only the NFS version for the corresponding NFS filespec is added in the
|
||||
|
Enables SnapDrive for UNIX support for the Mount Guard feature of AIX, which prevents simultaneous or concurrent mounts. If a file system is mounted on one node and the variable is enabled, AIX prevents the same file system from being mounted on another node. By default the |
||||
|
If the ICMP protocol access is disabled or ICMP packets are dropped between the host and storage system network where SnapDrive for UNIX is deployed, this variable must be set to |
||||
|
Enables splitting the cloned volumes or LUNs during Snapshot connect and Snapshot disconnect operations, if this variable is set to
If you set this value to You can also split the cloned volumes or LUNs by using the |
||||
|
Set this variable to It enhances the security of communication between the client and the SnapDrive daemon using better encryption. By default, this option is set to |
||||
|
Specifies the number of times SnapDrive for UNIX attempts to restore a Snapshot copy on a storage system if a failure occurs during the restore. The default value is In normal circumstances, the default value should be adequate. Under other circumstances, this operation could fail because the storage system is exceptionally busy. If it keeps failing even though the LUNs are online and correctly configured, you might want to increase the number of retries. |
||||
|
Specifies the number of seconds SnapDrive for UNIX waits between attempts to restore a Snapshot copy. The default value is In normal circumstances, the default value should be adequate. Under other circumstances, this operation could fail because the storage system is exceptionally busy. If it keeps failing even though the LUNs are online and correctly configured, you might want to increase the number of seconds between retries. |
||||
|
Specifies the number of seconds that SnapDrive for UNIX waits between attempts to access the file system. The default value is This variable is used only on configurations that include LUNs. |
||||
|
It can take any one of the following values:
Determines the space reservation of the FlexClone volume created. Acceptable values are
|
||||
|
Specifies the type of file system that you want to use for SnapDrive for UNIX operations. The file system must be a type that SnapDrive for UNIX supports for your operating system. AIX: The default value is
You can also specify the type of file system that you want to use by using the |
||||
|
Specifies the number of seconds between retries during attempts to bring back online a LUN after a volume-based SnapRestore operation. The default value is |
||||
|
Specifies the number of retries during attempts to bring back online a LUN after a volume-based SnapRestore operation. The default value is |
||||
|
Specifies the number of seconds SnapDrive for UNIX waits before retrying an operation on the Manage ONTAP control channel. The default value is |
||||
|
Specifies the number of seconds SnapDrive for UNIX waits before retrying an operation on the Manage ONTAP control channel after a failover error message occurs. The default value is |
||||
|
Specifies the multipathing software to use. The default value depends on the host operating system. This variable applies only if one of the following statements is true:
You can set the following values for this variable: AIX: The value you set for AIX depends on which protocol you are using.
|
||||
|
You can set the value of the By default, the value is set to |
||||
|
Specifies the search path the system uses to look for tools. You should verify that this is correct for your system. If it is incorrect, change it to the correct path. The default value might vary depending on your operating system. This path is the default for AIX host does not use this variable because they process the commands differently. |
||||
|
Specifies the location of the password file for the user login for the storage systems. The default value might vary depending on your operating system. The default path for Linux is |
||||
|
Avoids unnecessary pings through all the available interfaces in the host that might have different subnet IPs configured. If this variable is set to |
||||
|
Specifies the prefix that SnapDrive for UNIX applies to all LUN names it generates internally. The default value for this prefix is an empty string. This variable allows the names of all LUNs created from the current host, but not explicitly named on a SnapDrive for UNIX command line, to share an initial string.
|
||||
|
The string given is appended with the original storage system volume name, to create a name for the FlexClone volume. |
||||
|
Specifies how many LUNs SnapDrive for UNIX should prepare to create. SnapDrive for UNIX checks this value when it receives a request to prepare the host to create additional LUNs. The default value is
|
||||
|
Specifies the access control methods. The possible values are If the variable is set to If the variable is set to |
||||
|
Specifies whether to enable or disable cache. SnapDrive for UNIX maintains a cache of access check queries and the corresponding results. SnapDrive for UNIX uses this cache only when all the configured Operations Manager servers are down. You can set the value of the variable to either |
||||
|
Specifies the rbac cache timeout period and is applicable only when |
||||
|
Specifies where SnapDrive for UNIX writes the recovery log file. The default value depends on your host operating system. The path shown in this example is the default path for a AIX host. |
||||
|
Specifies how many old recovery log files SnapDrive for UNIX should save. After this limit is reached, SnapDrive for UNIX discards the oldest file when it creates a new one. SnapDrive for UNIX rotates this log file each time it starts a new operation. The default value is
|
||||
|
Specifies the type of clone that you can create. It can take the following values:
|
||||
|
Specifies a secure communication within the host cluster nodes for remote execution of SnapDrive for UNIX commands. You can direct SnapDrive for UNIX to use RSH or SSH by changing the value of this configuration variable. The RSH or SSH methodology adopted by SnapDrive for UNIX for remote execution is determined only by the value set in the installation directory of the
The default value of |
||||
|
Specifies the interval that the
If a storage system does not complete fencing within the time allowed, SnapDrive for UNIX creates a Snapshot copy using the methodology for Data ONTAP versions before 7.2. |
||||
|
Enables and disables the Snapshot create operation to work with a non-persistent NFS file system. Values for this variable are as follows:
You can use the |
||||
|
Specifies the number of seconds between best-effort Snapshot copy consistency retries. The default value is |
||||
|
Determines whether SnapDrive for UNIX deletes or retains the unwanted NFS directories from the FlexClone volume during the Snapshot connect operation.
If you set this variable to |
||||
|
Set this variable to SnapDrive for UNIX always attempts to write snapinfo at the root of a qtree if the LUNs are still snapped and are at the qtree. When you set this variable to
|
||||
|
Specifies the number of times SnapDrive for UNIX attempts a consistency check on a Snapshot copy after it receives a message that a consistency check failed. This variable is particularly useful on host platforms that do not include a freeze function. This variable is used only on configurations that include LUNs. The default value is |
||||
|
Set this value to This variable takes effect only during a Snapshot delete operation and is used by the recovery log file if you encounter a problem with an operation. It is best to accept the default setting. |
||||
|
Set this variable to |
||||
|
Set this variable to This option is used by the recovery log file if you encounter a problem with an operation. It is best to accept the default value. |
||||
|
Set this value to either A rollback is a copy of the data that SnapDrive makes on the storage system before it begins a Snapshot restore operation. If a problem occurs during the Snapshot restore operation, you can use the rollback Snapshot copy to restore the data to the state it was in before the operation began. If you do not want the extra security of a rollback Snapshot copy at restore time, set this option to This variable is used by the recovery log file, which you send to NetApp technical support if you encounter a problem. It is best to accept the default value. |
||||
|
Set this variable to
This variable is used by the recovery log file if you encounter a problem with an operation. It is best to accept the default value. |
||||
|
Set this variable to If the value of this configuration variable is |
||||
|
Enables space reservation when creating LUNs. By default, this variable is set to You can use this variable to disable the space reservation for LUNs created by the SnapDrive for UNIX creates LUNs, resizes storage, makes Snapshot copies, and connects or restores the Snapshot copies based on the space reservation permission that is specified in this variable or by the of |
||||
|
Set this variable to |
||||
|
Specifies the types of messages SnapDrive for UNIX writes to the trace log file. This variable accepts the following values:
The default value is
|
||||
|
Specifies where SnapDrive for UNIX writes the trace log file. The default value varies depending on your host operating system. The path shown in this example is the default path for an AIX host. |
||||
|
Specifies the maximum size of the log file in bytes. When the log file reaches this size, SnapDrive for UNIX renames it and starts a new log file.
The default value is
|
||||
|
Specifies how many old trace log files SnapDrive for UNIX should save. After this limit is reached, SnapDrive for UNIX discards the oldest file when it creates a new one. This variable works with the |
||||
|
Specifies whether you want SnapDrive for UNIX to use SSL encryption (HTTPS) to communicate with Operations Manager. The default value is |
||||
|
Specifies whether you want SnapDrive for UNIX to use SSL encryption (HTTPS) when it communicates with the storage system. The default value is
|
||||
|
Specify the type of volume manager you want to use for SnapDrive for UNIX operations. The volume manager must be a type that SnapDrive for UNIX supports for your operating system. Following are the values that you can set for this variable, and the default value varies depending on the host operating systems:
You can also specify the type of volume manager that you want to use by using the |
||||
|
Determines whether SnapDrive for UNIX should perform volume-based snap restore (vbsr) or single-file snap restore (sfsr). The following are the possible values.
|
||||
|
Specifies the number of times SnapDrive for UNIX retries the operation during the volume migration cut-over phase. The default value is |
||||
|
Specifies the number of seconds SnapDrive for UNIX waits between the volume-move-cutover-retry operation. The default value is |
||||
|
Specifies the number of times, SnapDrive for UNIX retries the operation during FlexClone creation. The default value is |
||||
|
Specifies the number of seconds, SnapDrive for UNIX waits between the retries during FlexClone creation. The default value is |