Removing a Cache or Log Device from an Existing Storage Pool (CLI)

Use the following task to remove a read cache or log device from an existing storage pool. This capability is useful when preparing for a system update that requires the removal of certain cache devices.

Note:

Meta devices cannot be removed from a storage pool.

If a pool has cache devices on both controllers of a clustered configuration, you must perform this procedure on each controller.

To add a device to a different, existing storage pool, see Adding a Cache, Meta, or Log Device to an Existing Storage Pool (CLI).

Before You Begin

Do not perform a pool configuration operation while a disk firmware upgrade is occurring. To check if an upgrade is in progress, navigate to maintenance system updates.

  1. Go to configuration storage.
  2. If you have multiple pools, a default pool is displayed and selected. If this is not the pool to which you want to add the device, enter set pool= and specify another online pool.

    Note:

    If you have a single pool, the pool name is not displayed, but it is selected.
    hostname:configuration storage (pool0)> set pool=pool1
                                pool = pool1
  3. Enter show to see the device information for the pool.
    hostname:configuration storage (pool1) verify> show
    ID STATUS  ALLOCATION  DATA   LOG      CACHE   META     RPM
    0      ok     custom      0   0          0/4    0/4    1.86T
    1      ok     custom      0   0/2  34G     0      0    15000
    2      ok     custom      0   0/2  34G   0/2      0    15000
  4. Enter remove.
    hostname:configuration storage (pool1)> remove
  5. Specify the controller or disk shelf, and the number of log or cache devices to remove.

    ID 0 is the controller, and the remaining IDs are the disk shelves. In the following example, 1-log=2 removes two log devices from the first disk shelf:

    hostname:configuration storage (pool1) remove> set 1-log=2
                                1-log = 2

    This example removes one cache device from the controller:

    hostname:configuration storage (pool1) remove> set 0-cache=1
                                0-cache = 1
  6. Enter done.
    hostname:configuration storage (pool1) remove> done

    Note:

    If the log devices use a mirrored profile, a message reminds you to select an even number of log devices to remove. If the log devices use a striped profile, you may remove an even or odd number of devices.