Installation and Reference Guide HP StorageWorks Secure Path 3.0F Service Pack 4 for HP-UX 11i v1.0 and 11i v2.0 (5697-8001, March 2009)
• autopath set_lbpolicy command
• autopath set_prefpath command
autopath delete command
The autopath delete command deletes a device, LUN, array, or an array type from Secure Path's
control. This command succeeds only if the LUN is not busy (for example, when there is no I/O
happening and when the LUN is not mounted or open).
You can also use the autopath delete command to remove those LUN, array, or an array type
that are added to the configuration, but not discovered by Secure Path. This avoids the discovery of
LUN, array, or an array type while the autopath discover command is run.
Once you run the autopath delete command, the virtual device file of the deleted device is
disassociated from the LUN.
Syntax:
# autopath delete <device path | {option} {ARRAYID | WWLUNID | Array
Type}>
description: delete LUN/Array ID/Array-Type from the SecurePath's control
Usage:
autopath delete <device path | {option} {ARRAYID | WWLUNID | Array Type}>
device path : device special file e.g./dev/dsk/c#t#d# or /hpap/dsk/hpap#
option:
-l -- for entering the WWLUNID
-a -- for entering the Array ID
-r -- for entering the Array Type
WWLUNID : World Wide Node Name of the LUN
Array Type : Array Type( XP/VA/EVA-AA)
device path is either the primary path or alternate path of the device.
Deleted LUNs are no longer under Secure Path control; this setting is persistent across reboots.
Deleted LUNs are listed in the unattached list of Secure Path Active-Active arrays. The unattached list
maintains the WWNs of all deleted LUNs. You can view this list by entering the following command:
autopath display -u
Persistence data, like load balancing policies are not kept persistent for deleted LUNs. When a LUN
is deleted, persistent data maintained for that LUN is removed.
You can delete a LUN by specifying the device path, vdsf, or LUN WWID as an argument in the
delete command, as shown below:
• Deleting a LUN using the device path:
• Syntax:
autopath delete <device path>
• Example::
autopath delete /dev/dsk/c0t0d0
• Deleting a LUN using the LUN WWID:
• Syntax:
Secure Path for Active-Active disk arrays86