HP StorageWorks Secure Path V2.0D Service Pack 2 for IBM AIX Release Notes (T3034-98201, May 2004)

Operating considerations
15Secure Path v2.0D Service Pack 2 for IBM AIX Release Notes
Deleting storage units
Note: Before deleting storage units you must stop I/O to that unit, unmount the Logical
Volume, and export the Volume Groups that have been created on the designated unit
to be deleted. Refer to
Appendix A
,
Removing Secure Path Software
in the
HP
StorageWorks Secure Path v2.0D for IBM AIX Installation Guide
.
You only need to remove Volume Groups from the storage unit to be deleted.
To delete (remove) storage units use the following steps:
1. Establish a connection to the storage system either through a serial port
connection using the CLI or through the SWCC agent.
Note: The following example uses the CLI Commands only.
2. Enter the CLI command SHOW UNITS to list the LUNs and the storage units
are assigned to. From this information determine which LUN is to be deleted.
3. List the hdisks using the IBM AIX command as follows:
# lsdev -Cc disk
4. Remove any Volume Groups on the storage unit to be deleted.
5. Remove the hdisk assigned to the LUN to be deleted using the IBM AIX
system command:
#rmdev –dl hdiskn
n is a sequence number assigned by AIX during configuration.
6. Enter the CLI command DEL and the LUN (unit designation), such as DEL
UNIT D9. This removes the LUN D9 from the storage system.
For example, if you have LUNs D1 through D12 defined in the storage
system, IBM AIX may assign hdisk4 to LUN D1 and go up to hdisk15
assigned to LUN D12 as shown in Table 2.