ADVERTISEMENT

purevol commands

The purevol command displays and manage Virtual volumes and Snapshots in Pure Flash Storage Array

Below list contains some of the most useful purevol commands.

  • purevol connect MY_VOL_001 --hgroup MY-HOSTS

    Connect volume MY_VOL_001 to hostgroup MY-HOSTS
  • purevol connect MY_VOL_001 --host MY-SERVER-001

    Connect volume MY_VOL_001 to host MY-SERVER-001. This will Provide the R/W access to the volume.Next available lun address will used by default.
  • purevol connect MY_VOL_001 --host MY-SERVER-001 --lun 10

    Connect volume MY_VOL_001 to host MY-SERVER-001 and assign LUN id 10. This will Provide the R/W access to the volume.
  • 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 create --size 1G MYPOD001::MY_VOL_001

    Create a volume of 1GB size and include it in MYPOD001.
  • 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 disconnect MY_VOL_001 --host MY-SERVER-001

    Disconnect volume MY_VOL_001 from host MY-SERVER-001. This will remove the visibility of the volume to the host.
  • 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 --filter "size='20T'"

    List all the volumes with 20TB size
  • 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 --sort created

    List all the volumes sorted by create time in descending order
  • purevol list --sort serial

    List all the volumes sorted by serial number descending order
  • purevol list --sort size

    List all the volumes sorted by size in descending order
  • 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

    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_002

    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

[ view all commands ]