Adding host entries for new LUNs
Contributors Download PDF of this page
You can create a specific number of new LUNs using SnapDrive for UNIX. SnapDrive for UNIX provides specific commands for this purpose.
Ensure that the host is ready to create specific number of new LUNs. These LUNs reside on a storage system that is mapped to the host.
snapdrive config prepare luns -count count [-devicetype shared]
-countis the number of new LUNs for which you want the host to be prepared.
-devicetypeshared option supports on Solaris platform with SFRAC.
-devicetypeis the type of device used for SnapDrive for UNIX operations. When specified as
-devicetype shared, the
snapdrive config prepare lunscommand runs on all the nodes in the host cluster.
In an SFRAC environment, this command runs on all nodes in the host cluster.
On Solaris, this command adds entries to the file
/kernel/drv/sd.conf, if necessary, for each potential new LUN that does not have an entry. It also generates an entry for each SCSI target to which the storage system is mapped. On Solaris 8, you must reboot the host after adding
sd.confentries. This command displays a warning whenever a reboot is necessary.
If you have manually edited the
/kernel/drv/lpfc.conffile for persistent bindings, ensure that the FC-bind-WWPN entry is after
# BEGIN: LPUTIL-managed Persistent Bindings.