Unconfiguring storage adapters

Before you can remove or replace a storage adapter, you must unconfigure that adapter.

To perform these tasks, you must log in as root user.

The following steps unconfigure SCSI and Fibre Channel storage adapters.

Unconfiguring a storage adapter involves the following tasks:

  • Closing all applications that are using the adapter you are removing, replacing, or moving
  • Unmounting file systems
  • Ensuring that all devices connected to the adapter are identified and stopped
  • Listing all slots that are currently in use or a slot that is occupied by a specific adapter
  • Identifying the adapter's slot location
  • Making parent and child devices unavailable
  • Making the adapter unavailable

Unconfiguring SAS, SCSI, NVMe, and Fibre Channel adapters

Storage adapters are generally parent devices to media devices, such as disk or tape drives. Removing the parent requires that all attached child devices either be removed or placed in the define state.

To unconfigure SCSI and Fibre Channel adapters, perform the following steps:

  1. Close all applications that are using the adapter you are unconfiguring.
  2. Type lsslot-c pci to list all the hot plug slots in the system unit and display their characteristics.
  3. Type lsdev -C to list the current state of all the devices in the system unit.
  4. Type umount to unmount previously mounted file systems, directories, or files using this adapter. For additional information, see Mount a JFS or JFS2.
  5. Type rmdev -l adapter -R to make the adapter unavailable.
    Attention: Do not use the -d flag with the rmdev command for hot plug operations because this will cause your configuration to be removed.