After you remove LUNs, you must clean up the operating system device tree.
To clean up the operating system device tree after removing LUNs
Enter the following command. Devices that have been removed will have Defined after the disk name.
# lsdev -Cc disk hdisk431 Defined 09-08-02 IBM 2810XIV Non-MPIO Fibre Channel Disk hdisk432 Defined 0A-08-02 IBM 2810XIV Non-MPIO Fibre Channel Disk
For each disk name, run the following command to remove it from the operating system database:
# rmdev -dl hdisk-name
In this example, the commands would be the following:
# rmdev -dl hdisk431
# rmdev -dl hdisk432
Repeat step 1 and verify that no devices are shown as Defined.