Is it possible to remove devices from storage pools?

Solution In Progress - Updated -

Issue

  • Storage pool created from multipath devices:

    virsh # pool-list
    
    Name                 State      Autostart
    -----------------------------------------
    default              active     yes
    myStoragePool        active     yes
    
    virsh # vol-list myStoragePool
    Name                 Path
    -----------------------------------------
    dm-2                 /dev/mapper/mpathi
    dm-3                 /dev/mapper/mpathl
    dm-4                 /dev/mapper/mpathm
    dm-5                 /dev/mapper/mpathk
    dm-6                 /dev/mapper/mpathj
    dm-7                 /dev/mapper/mpatho
    dm-8                 /dev/mapper/mpathn
    
  • would like to remove dm-7 and dm-8, so they are not used by the storage pool.

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content