ADVERTISEMENT

purevol commands

List and manage VIrtual volumes and Snapshots

[ view all commands ]

  • purehgroup list --space
    List all the hostgroups with the total capacity of volumes provisioned to each and the consumption
  • purehgroup setattr MY-HOSTS --hostlist ""
    Remove all the hosts from hostgroup MY-HOSTS
  • purevol connect MY_VOL_001 --hgroup MY-HOSTS
    Connect volume MY_VOL_001 to hostgroup MY-HOSTS
  • purevol connect MY_VOL_001 MY_VOL_002 --host MY-SERVER-001
    Connect volumes MY_VOL_001 and MY_VOL_002 to host MY-SERVER-001
  • purevol copy MY_VOL_001 MY_VOL_002
    Create a copy MY_VOL_001 and name it as MY_VOL_002. If MY_VOL_002 already exists this will throw and error.
  • purevol copy MY_VOL_001 MY_VOL_002 --overwrite
    Copy data from MY_VOL_001 to an existing volume MY_VOL_002. Contents of MY_VOL_002 will be overwritten.
  • purevol create --size 10G MY_VOLUME_001
    Create a Virtual volume called MY_VOLUME_001 of size 10GB
  • purevol create --size 10G MY_VOLUME_001 --bw-limit 10M
    Create a Virtual volume MY_VOLUME_001 of size 10GB and limit is bandwidth to 10MB/s
  • purevol create --size 10G MY_VOLUME_001 MY_VOLUME_002
    Create Virtual volumes MY_VOLUME_001 and MY_VOL_SIZE_002 of size 10GB
  • purevol destroy MY_VOL_001
    Destroy virtual volume MY_VOL_001. This volume can be recovered within 24hrs. After that, physical storage occupied this volume will be reclaimed.
  • purevol destroy MY_VOL_001 MY_VOL_002
    Destroy virtual volumes MY_VOL_001 and MY_VOL_001. These volumes can be recovered within 24hrs. After that, physical storage occupied these volumes will be reclaimed.
  • purevol discconnect MY_VOL_001 MY_VOL_002 --host MY-SERVER-001
    Disconnect volumes MY_VOL_001 and MY_VOL_002 from host MY-SERVER-001
  • purevol disconnect MY_VOL_001 --hgroup MY-HOSTS
    Disconnect volume MY_VOL_001 from hostgroup MY-HOSTS
  • purevol eradicate MY_VOL_001
    Eradicate virtual volume MY_VOL_001 which is destroyed earlier. This will fully destroy the volume and not be able to recover further.
  • purevol eradicate MY_VOL_001 MY_VOL_002
    Eradicate virtual volumes MY_VOL_001 and MY_VOL_002 which are destroyed earlier. This will fully destroy the volumes and not be able to recover further.
  • purevol list
    List all the Virtual Volume
  • purevol list --pending
    List all the Virtual Volumes including destroyed but pending for eradication
  • purevol list --pending-only
    List all the destroyed Virtual Volumes pending for eradication
  • purevol list --snap
    List all the snap shots
  • purevol list MY_VOL*
    List all the Virtual Volumes prefixed with MY_VOL
  • purevol list MY_VOL_001
    List information about MY_VOL_001
  • purevol recover MY_VOL_001
    Recover virtual volume MY_VOL_001 which is destroyed earlier.
  • purevol rename MY_VOL_001 MY_VOL_002
    Rename virtual volume MY_VOL_001 to MY_VOL_002
  • purevol setattr --bw-limit 1M MY_VOL_001 MY_VOL_001
    Change the bandwidth limit of MY_VOL_001 to 1MB/s
  • purevol setattr --bw-limit 1M MY_VOL_001 MY_VOL_002
    Change the bandwidth limit of MY_VOL_001 and MY_VOL_002 to 1MB/s
  • purevol setattr --size 2G MY_VOL_001
    Increase the size of MY_VOL_001 to 2GB
  • purevol setattr --size 2G MY_VOL_001 MY_VOL_001
    Increase the size of MY_VOL_001 and MY_VOL_002 to 2GB
  • purevol snap MY_VOL_001
    Create snap shot of MY_VOL_001. If it is first snap then MY_VOL_001.2 will be created
  • purevol snap MY_VOL_001 --suffix PRD
    Create snap shot of MY_VOL_001 with PRD as a suffix. MY_VOL_001.PRD will be created
  • purevol truncate --size 1G MY_VOL_001
    Reduce the size of MY_VOL_001 to 1GB