HP 3PAR AIX and IBM Virtual I/O Server Implementation Guide
5 Removing HP 3PAR Devices on an AIX or IBM Virtual I/O
Server Host
This chapter explains how to remove the HP 3PAR StoreServ Storage VVs from the AIX or IBM
Virtual I/O Server host. Before physically disconnecting cables from the host or HP 3PAR StoreServ
Storage, remove the VVs from each device in the following sequence:
1. AIX or IBM Virtual I/O Server host.
2. HP 3PAR StoreServ Storage
NOTE: Performing a clean removal in this fashion insures the hdisk entry is removed from the
AIX device data base so that if another LUN is exported in the future with the same LUN and
characteristics, a device mismatch does not occur on the AIX or IBM Virtual I/O Server host.
Removing Fibre Channel Connected Devices on the Host
When removing HP 3PAR StoreServ Storage VVs from the AIX or IBM Virtual I/O Server host,
complete the following steps.
For the AIX host
1. Locate and verify details of the VV by issuing lsdev -Cc disk.
2. Remove the hdisk definition from the AIX host by issuing the rmdev -dl hdiskN.
NOTE: Remove the VVs from the host server before disconnecting the HP 3PAR StoreServ
Storage from the host server.
3. Issue lsdev -Cc disk on the AIX CLI to ensure the VLUN is removed.
Example:
# lsdev -Cc disk
hdisk0 Available 00-08-00 SAS Disk Drive
hdisk1 Available 07-01-01 3PAR InServ Virtual Volume
hdisk2 Available 07-01-01 3PAR InServ Virtual Volume
# rmdev -dl hdisk1
hdisk1 deleted
# lsdev -Cc disk
hdisk0 Available 00-08-00 SAS Disk Drive
hdisk2 Available 07-01-01 3PAR InServ Virtual Volume
For the IBM Virtual I/O Server
Locate and verify details of the VV by issuing lsdev -type disk.
CAUTION: This procedure removes the mapped virtual defined device from an LPAR.
NOTE: If this device has been mapped by the IBM Virtual I/O Server to another LPAR, it is highly
advisable to remove the mapping before attempting to removed the hdisk definition.
Example:
To remove hdisk22, first check to see whether hdisk22 is mapped to another LPAR by issuing
the lsmap -all command. Scan the output for any backing device that shows up as hdisk22
and remove this mapping for this virtual vdev definition.
Removing Fibre Channel Connected Devices on the Host 37