Deleting virtual volumes and group pools via XCLI

A group pool, used by virtual volumes, can be deleted only after its VVols are removed via XCLI.

This procedure details how to use XCLI to delete virtual volumes, as they are not visible in the Spectrum Connect GUI. When the virtual volumes are removed, you can delete a group pool, which was used by VVols as well.

To delete the virtual volumes and group pools via XCLI:

  1. Launch the XIV® XCLI tool and log in as a storage integration administrator (storageintegrationadmin). Make sure that you are allowed to manage the current domain.
  2. List all existing virtual volumes, by using the vol_list command.
    XIV hostdev31c>>vol_list managed=yes domain=test
    Name   Size (GB) Master Name Consistency Group  Pool       Creator   Compressed  Compression Ratio (%)  Used Capacity (GB)  Compression Saving (GB) Managed
    test_1 17                                       gp_1_meta  tester_1  no          0                                                                  yes
    test_2 18                                       gp_2_meta  tester_1  no          0                                                                  yes
    
  3. Delete the required virtual volume, by using the vol_delete command.
    XIV hostdev31c>>vol_delete vol=test_1 -y
    Warning:   This is a managed object. Performing manual operations on it may cause severe problems to the managing software. Are you sure you want to perform 
    the operation on this managed object? y/n: y
  4. List all group pools in the domain, by using the gp_list command.
    XIV hostdev31c>>gp_list domain=test
    Name                    Meta Pool Name               Thin Pool Name               Thick Pool Name               
    gp_1                    gp_1_meta                    gp_1_thin                    gp_1_thick   
    gp_2                    gp_2_meta                    gp_2_thin                    gp_2_thick
  5. List all pools in the group pool, by using the pool_list command.
    pool_list gp=gp_1 managed=yes
    Name        Size (GB) Soft Vols (GB) Snap Size (GB) Soft Empty (GB) Hard Size (GB) Hard Vols (GB) Locked Hard Snaps (GB) Hard Empty (GB) Domain Create Compressed Volumes Managed   
    gp_1_thin   653       0              34             619             309            0              no     0               309             test   no                        yes       
    gp_1_meta   0         0              0              0               0              0              no     0               0               test   no                        yes       
    gp_1_thick  34        0              34             0               34             0              no     0               34              test   no                        yes
  6. Delete the group pool, by using the gp_delete command.
    XIV hostdev31c>>gp_delete gp=gp_1 -y
  7. Delete the all pools that belonged to the deleted group pool, by using the pool_delete command.
    XIV hostdev31c>>pool_delete pool=gp_1_thin -y
    XIV hostdev31c>>pool_delete pool=gp_1_thick -y
    XIV hostdev31c>>pool_delete pool=gp_1_meta -y