Cleaning up the operating system device tree after removing LUNs

Description

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.

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)