Command-line options
There are various options that are used with SnapDrive for UNIX commands.
SnapDrive for UNIX enables you to include the following options as appropriate with its commands. In certain cases, you can abbreviate these options. For example, you can use -h
instead of -help
.
Option | Description |
---|---|
|
Tells SnapDrive for UNIX to add a new, internally-generated LUN to a storage entity in order to increase its size. |
|
Used with the snapdrive storage { |
|
Used with the |
|
Used with the |
|
Clone-method to be used during |
|
used with |
|
Used with the storage {show | list} command to display all devices known to the host. |
|
Used with the |
|
Causes operations to be attempted that SnapDrive for UNIX would not undertake ordinarily. SnapDrive for UNIX prompts you to ask for confirmation before it executes the operation. |
|
The options you want passed to the host operation that creates the new file system. Depending on your host operating system, this host operation might be a command such as the The argument you supply with this option usually needs to be specified as a quoted string and must contain the exact text to be passed to the command. For example, you might enter |
|
The type of file system you want to use for the SnapDrive for UNIX operations. The file system must be a type that SnapDrive for UNIX supports for your operating system. Current values that you can set for this variable is “ext3 or ext4” You can also specify the type of file system that you want to use by using the |
|
Allows operations on a specified host-side entity to be performed even if the entity is not empty (for example, the entity might be a volume group containing one or more logical volumes). |
|
The number of bytes you want to add to a LUN or disk group in order to increase its size. |
|
The target size in bytes for a LUN, disk group, or volume group. SnapDrive for UNIX automatically calculates the number of bytes necessary to reach the target size and increases the size of the object by that number of bytes. |
|
Prints out the usage message for the command and operation. Enter this option by itself without other options. Following are the examples of possible command lines. |
|
The size of the LUN in bytes to be created by a given command. |
|
Specifies options that you want passed to the host mount command (for example, to specify file system logging behavior). Options are also stored in the host file system table file. The options allowed depend on the host file system type. The |
|
Suppresses the use of the Data ONTAP consistency group feature in creating Snapshot copies that span multiple filer volumes. In Data ONTAP 7.2 or above, you can suspend access to an entire filer volume. By using the |
|
Connects or creates a file system directly on a LUN without involving the host LVM. All commands that take this option for connecting or creating a file system directly on a LUN will not accept it for host cluster or shared resources. This option is allowed only for local resources. |
|
Connects or creates a file system, or a Snapshot copy that has a file system, without adding an entry in the host's persistent mount entry file. |
|
prefix to be used while generating cloned volume name. The format of the name of the new volume would be |
|
Used with the |
|
Suppresses prompting during command execution. By default, any operation that might have dangerous or non-intuitive side effects prompts you to confirm that SnapDrive for UNIX should be attempted. This option overrides that prompt; when combined with the |
|
Suppresses the reporting of errors and warnings, regardless of whether they are normal or diagnostic. It returns zero (success) or non-zero status. The This option will be ignored for |
|
Required for configurations with Data ONTAP 7.1 or any configuration that uses traditional volumes. Connects the NFS file or directory with read-only access. Optional for configurations with Data ONTAP 7.0 that use FlexVol volumes. Connects the NFS file or directory tree with read-only access. (Default is read/write). |
|
Enables to split the cloned volumes or LUNs during Snapshot connect and Snapshot disconnect operations. You can also split the cloned volumes or LUNs by using the |
|
Used with the |
|
Creates a Snapshot copy of |
|
Displays detailed output, wherever appropriate. All commands and operations accept this option, although some might ignore it. |
|
Used with the |
|
The type of volume manager you want to use for the SnapDrive for UNIX operations. If the user specifies the The volume manager must be a type that SnapDrive for UNIX supports for your operating system. Current values that you can set for this variable as lvm. You can also specify the type of volume manager that you want to use by using the vmtype configuration variable. |
|
The |