Cleaning up the operating system device tree after removing LUNs

Article:HOWTO74821  |  Created: 2012-03-26  |  Updated: 2012-03-27  |  Article URL http://www.symantec.com/docs/HOWTO74821
Article Type
How To


Environment


Cleaning up the operating system device tree after removing LUNs

See Removing LUNs dynamically from an existing target ID

After you remove LUNs, you must clean up the operating system device tree.

To clean up the operating system device tree after removing LUNs

  1. 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
  2. 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
  3. Repeat step 1 and verify that no devices are shown as Defined.


Legacy ID



uxrt-60_v27453324_v71682875


Article URL http://www.symantec.com/docs/HOWTO74821


Terms of use for this information are found in Legal Notices