HP 3PAR SUSE Linux Enterprise Implementation Guide

NOTE: Exporting VLUNs to an iSCSI host is the same as exporting VLUNs to a host that has a
Fibre Channel connection to the HP 3PAR StoreServ Storage.
The showvlun output is different for hosts with iSCSI connection. For example:
# showvlun
Active VLUNs
Lun VVName HostName --------Host_WWN/iSCSI_Name-------- Port Type
0 TESTLUNS.0 sqa-dl145-04 iqn.1994-05.com.suse:a3df53b0a32d 0:3:1 host
1 TESTLUNS.1 sqa-dl145-04 iqn.1994-05.com.suse:a3df53b0a32d 0:3:1 host
2 TESTLUNS.2 sqa-dl145-04 iqn.1994-05.com.suse:a3df53b0a32d 0:3:1 host
3 TESTLUNS.3 sqa-dl145-04 iqn.1994-05.com.suse:a3df53b0a32d 0:3:1 host
4 TESTLUNS.4 sqa-dl145-04 iqn.1994-05.com.suse:a3df53b0a32d 0:3:1 host
0 TESTLUNS.0 sqa-dl145-04 iqn.1994-05.com.suse:a3df53b0a32d 1:3:1 host
1 TESTLUNS.1 sqa-dl145-04 iqn.1994-05.com.suse:a3df53b0a32d 1:3:1 host
2 TESTLUNS.2 sqa-dl145-04 iqn.1994-05.com.suse:a3df53b0a32d 1:3:1 host
3 TESTLUNS.3 sqa-dl145-04 iqn.1994-05.com.suse:a3df53b0a32d 1:3:1 host
4 TESTLUNS.4 sqa-dl145-04 iqn.1994-05.com.suse:a3df53b0a32d 1:3:1 host
---------------------------------------------------------------------------
10 total
Restrictions on Volume Size and Number
Follow the guidelines for creating virtual volumes (VVs) and virtual LUNs (VLUNs) in the HP 3PAR
Command Line Interface Administrator’s Manual while adhering to these cautions and guidelines:
This configuration supports sparse LUNs (meaning that LUNs may be skipped). LUNs may
also be exported in non-ascending order (e.g. 0, 5, 7, 3).
The HP 3PAR StoreServ Storage supports the exportation of VLUNs with LUNs in the range
from 0 to 65535.
The maximum LUN size that can be exported to a SUSE host is 16 TB when the installed
HP 3PAR OS version is 2.3.x or later. A LUN size of 16 TB on a SUSE host is dependent on
the installed SUSE version and update since some older versions of SUSE will not support a
volume greater than 2 TB.
Discovering New Devices/New Partitioned Devices without rebooting
Use rescan-scsi-bus.sh to scan for new devices, as recommended in the SUSE Enterprise
Linux Server Storage Administration Guide.
rescan-scsi-bus.sh --help
Usage: rescan-scsi-bus.sh [options] [host [host ...]]
Options:
-l activates scanning for LUNs 0-7 [default: 0]
-L NUM activates scanning for LUNs 0--NUM [default: 0]
-w scan for target device IDs 0 .. 15 [default: 0-7]
-c enables scanning of channels 0 1 [default: 0]
-r enables removing of devices [default: disabled]
-i issue a FibreChannel LIP reset [default: disabled]
--remove: same as -r
--issue-lip: same as -i
--forcerescan: Rescan existing devices
--forceremove: Remove and readd every device (DANGEROUS)
--nooptscan: don't stop looking for LUNs is 0 is not found
--color: use coloured prefixes OLD/NEW/DEL
--hosts=LIST: Scan only host(s) in LIST
--channels=LIST: Scan only channel(s) in LIST
--ids=LIST: Scan only target ID(s) in LIST
--luns=LIST: Scan only lun(s) in LIST
Host numbers may thus be specified either directly on cmd line (deprecated) or with the --hosts=LIST parameter (recommended).
LIST: A[-B][,C[-D]]... is a comma-separated list of single values and ranges (No spaces allowed.)
1. Scan all targets for a host to make its new device known to the middle layer of SCSI subsystem.
# rescan-scsi-bus.sh [options]
48 Allocating Storage for Access by the SUSE Host