Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.38 KB

concept_connecting_lunswith_disk_groups_host_volumes_andfile_systems.adoc

File metadata and controls

36 lines (29 loc) · 1.38 KB
permalink sidebar keywords summary
linux-administration/concept_connecting_lunswith_disk_groups_host_volumes_andfile_systems.html
sidebar
snap, snapdrive, lun, disk, host, volumes, file
To use the snapdrive storage connect command to connect LUNs that have disk groups, host volumes and file systems, you need to follow the syntax.

Connecting LUNs with disk groups, host volumes, and file systems

To use the snapdrive storage connect command to connect LUNs that have disk groups, host volumes and file systems, you need to follow the syntax.

Enter the following command:

snapdrive storage connect-fs file_spec -hostvol file_spec -lun long_lun_name [lun_name…​] [-igroup ig_name [ig_name…​]] [-nopersist] [-mntopts options] [-fstype type] [-vmtype type]`

Example: Connecting a file system created on a LUN

# snapdrive storage connect -fs /mnt/fs -lun f270-221-189:/vol/vol0/lun111 -nolvm
mapping lun(s) ... done
discovering lun(s) ... done
LUN f270-221-189:/vol/vol0/lun111 connected
- device filename(s): /dev/vx/dmp/fas2700_939

Example: Connecting a file system created on a RDM LUN

# snapdrive storage connect -fs /mnt/fs -lun lech:/vol/vol1/lun1 -nolvm
exporting new lun(s) to Guest OS ... done
discovering lun(s) ... done
LUN lech:/vol/vol1/lun1 connected
- device filename(s): /dev/sdb