HP 3PAR Solaris Implementation Guide

HBACMD_RescanLuns: Success
# ./hbacmd RescanLuns 10:00:00:00:C9:7B:C5:D6 21:53:00:02:AC:00:00:AF
HBACMD_RescanLuns: Success
# ./hbacmd RescanLuns 10:00:00:00:C9:7B:C5:D6 20:52:00:02:AC:00:00:AF
HBACMD_RescanLuns: Success
# ./hbacmd RescanLuns 10:00:00:00:C9:7B:C5:D6 21:21:00:02:AC:00:00:AF
HBACMD_RescanLuns: Success
Example of Discovering a VLUN Using a QLogic Driver with VxVM
The following example shows how to discover a VLUN on a Solaris 10 MU6 host that is using the
QLogic qla driver and VxVM over a direct Fibre Channel connection.
After exporting a VLUN to the host, run the following command for discovery.
# /opt/QLogic_Corporation/drvutil/qla2300/qlreconfig -d qla2300
All VLUNs are now seen in format.
CAUTION: Always refer to the driver notes on the effect of issuing qlreconfig on the driver
and already discovered VLUNs.
Remove the VLUN from the host (e.g., using removevlun), then issue the format command on
the host.
You will see the same list as before but the removed LUNs are noted as offline.
To correct this listing in format, run the following command:
# scli -do all rescan
Driver rescan completed on HBA instance 0.
Driver rescan completed on HBA instance 1.
Driver rescan completed on HBA instance 2.
Driver rescan completed on HBA instance 3.
The format shows everything back as expected. Only local disks listed.
CAUTION: Always refer to the Driver notes on the effect of issuing rescan on the driver and
already discovered VLUNs.
NOTE: If a new list of LUNs are exported to the host, only the LUNs which were discovered on
the first run are seen. All others not already read by the qlreconfig on the first run are not listed in
format. This is because the /dev/dsk and /dev/rdsk links are not removed.
By default, vxvm saves a backup of all disk groups to /etc/vx/cbr/bk. This can fill up quickly
and take up disk space. The directories inside /etc/vx/cbr/bk can be removed.
Example of UFS/ZFS File System Creation
The following example shows how to create a file system.
To create a ZFS volume, issue the following commands:
# zpool create -f <name> <c050d0>
Example of Discovering a VLUN Using a QLogic Driver with VxVM 71