Information required for the storage create operation
You must supply some information when you complete the storage create operation.
The following table lists the information you need to supply when you use the snapdrive storage create
command to create storage:
Requirement |
Argument |
Decide the type of storage you want to provision. Based on the command you enter, you can create any of the following:
|
|
|
|
lun_name (long or short form)
|
|
disk or volume group name
|
SnapDrive for UNIX creates a disk or volume group to hold the LUNs based on the value you enter with the -dg option. The name you supply for the group must not exist.
|
|
Host or logical volume name
|
|
|
|
|
Required: If you are creating a file system that resides directly on a LUN, specify the -nolvm option.
|
|
|
|
|
Specify the size in bytes or some other data unit for each entity being created. The size of the LVM entity depends on the aggregated size of the LUNs you request.
To control the size of the host entity, use the -dgsize option to specify the size in bytes of the underlying disk group.
|
|
|
|
|
Specify the storage system and its volume where you want SnapDrive for UNIX to create the LUNs automatically.
|
File system type (-fstype )
|
|
If you are creating a file system, supply the string representing the file system type.
For Solaris, SnapDrive for UNIX accepts: vxfs or ufs .
|
By default, SnapDrive for UNIX supplies this value if there is only one file system type for your host platform. In that case, you do not need to enter it.
|
|
|
|
Optional: Specifies the type of volume manager to be used for SnapDrive for UNIX operations.
|
|
|
|
|
|
|
|
|
Optional: If you are creating a file system, you can specify the following options:
-
Use -fsopts to specify options you want to pass to the host command used to create the file systems. For example, you might supply options that the mkfs command would use. The value you supply usually needs to be a quoted string and must contain the exact text to be passed to the command.
-
Use -mntopts to specify options that you want to pass to the host mount command (for example, to specify host system logging behavior). The options you specify are stored in the host file system table file. Allowed options depend on the host file system type.
The -mntopts argument is a file system -type option that is specified using the mount command -o flag. Do not include the -o flag in the -mntopts argument. For example, the sequence -mntopts tmplog passes the string -o tmplog to the mount command, and inserts the text tmplog on a new command line.
|
If you pass any invalid -mntopts options for storage and snap operations, SnapDrive for UNIX does not validate those invalid mount options.
|
-
Use -nopersist to create the file system without adding an entry to the file system mount table file on the host. By default, the snapdrive storage create command creates persistent mounts. When you create an LVM storage entity on a Solaris host, SnapDrive for UNIX automatically creates the storage, mounts the file system, and then places an entry for the file system in the host file system table.
-
Use -reserve | -noreserve to create the storage with or without creating a space reservation.
|
|
|
The -devicetype option specifies the type of device to be used for SnapDrive for UNIX operations. The type can be either shared, which specifies the scope of the LUN, disk group, and file system as host cluster-wide, or dedicated, which specifies the scope of the LUN, disk group, and file system as local.
Although the storage creation process is initiated from the host cluster master node, the discovery of LUNS and host preparation of LUNS must be performed on each host cluster node. Therefore, you should ensure that the rsh or ssh access-without-password-prompt for SnapDrive for UNIX is allowed on all the host cluster nodes.
You can find the current cluster master node using the SFRAC management commands. The -devicetype option specifies the type of device to be used for SnapDrive for UNIX operations. If you do not specify the -devicetype option in SnapDrive for UNIX commands that supports this option, it is equivalent to specifying -devicetype dedicated .
|
|
|
Optional: NetApp recommends that you use the default igroup for your host instead of supplying an igroup name.
|