There is some information that you need to supply when you use the snapdrive storage connect command. This information helps you to use the command correctly.
Requirement | Argument |
---|---|
Specify the LUNs, the file system created directly on a LUN, or the LVM entity that you want to connect to the host.
|
|
A LUN (-lun) | long_lun_name |
The first value you supply with the -lun option must include the storage system name, volume, and LUN name. To connect multiple LUNs on the same volume, you can use relative path names for the -lun option after you supply the complete information in the first path name. When SnapDrive for UNIX encounters a relative path name, it looks for the LUN on the same volume as the previous LUN. To connect additional LUNs that are not on the same volume, enter the full path name to each LUN. | |
Additional LUNs | lun_name (long or short form) |
The file_spec given to -fs is the name of the file system mountpoint when connecting a file system created directly on a LUN. | |
A file system (-fs file-spec) | filesystem_name |
To connect a file system that is created on a LUN without activating the host LVM. | |
-nolvm | |
To connect a file system on a host volume: The -fs file_spec and -hostvol file_spec you supply identify the LVM file system, disk group, and host volumes that you want to connect to a new host. The storage hierarchy that you connect must contain a disk group, host volume, and file system. You must specify a value for -fs and -hostvol. The -hostvol value must include the name of the disk group. |
|
Host volume (-hostvol file-spec) | disk_group_name and host_volume_name |
Optional: Use the -nopersist option to connect the storage to a new location without creating an entry in the host file system table (for example, fstab on Linux). By default the storage connect command creates persistent mounts. This means that when you create an LVM storage entity on a Linux 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. |
|
-nopersist | ~ |
Optional: It is recommended that you use the default igroup for your host instead of supplying an igroup name. |
|
Igroup name (-igroup) | ig_name |
-fstype | type |
vmtype | type |
Optional: Specifies the type of file system and volume manager to be used for SnapDrive for UNIX operations. |
|
-mntopts | ~ |
Optional: If you are creating a file system, you can specify the following options:
|