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. This will assign a lun id to the volume. The lun id will start from 1 and go up to 16383.
    Copied
  • 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.
    Copied
  • 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.
    Copied
  • 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
    Copied
  • 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.
    Copied
  • 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.
    Copied
  • purevol create --size 10G MY_VOLUME_001

    Create a Virtual volume called MY_VOLUME_001 of size 10GB
    Copied
  • 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
    Copied
  • purevol create --size 10G MY_VOLUME_001 MY_VOLUME_002

    Create Virtual volumes MY_VOLUME_001 and MY_VOL_SIZE_002 of size 10GB
    Copied
  • purevol create --size 1G MYPOD001::MY_VOL_001

    Create a volume of 1GiB size and include it in MYPOD001. If MYPOD001 is stretched, the same volume will be created and visible on the remote arrays too. The volume name and WWN number will appear same from each arrays.
    Copied
  • 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.
    Copied
  • 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.
    Copied
  • 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
    Copied
  • purevol disconnect MY_VOL_001 --hgroup MY-HOSTS

    Disconnect volume MY_VOL_001 from hostgroup MY-HOSTS
    Copied
  • 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.
    Copied
  • 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.
    Copied
  • 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.
    Copied
  • purevol list

    List all the Virtual Volume
    Copied
  • purevol list --filter "size='20T'"

    List all the volumes with 20TB size
    Copied
  • purevol list --pending

    List all the Virtual Volumes including destroyed but pending for eradication
    Copied
  • purevol list --pending-only

    List all the destroyed Virtual Volumes pending for eradication
    Copied
  • purevol list --snap

    List all the snap shots
    Copied
  • purevol list --sort "created-"

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

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

    List all the volumes sorted by size in descending order
    Copied
  • purevol list --sort created

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

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

    List all the volumes sorted by size in ascending order
    Copied
  • purevol list --space --sort size,total

    List all the volumes sorted by size of each volume and then total space consumed. Both fields are sorted in ascending order.
    Copied
  • purevol list MY_VOL*

    List all the Virtual Volumes prefixed with MY_VOL
    Copied
  • purevol list MY_VOL_001

    List information about MY_VOL_001
    Copied
  • purevol move MYPOD001::vol001 ""

    Move the volume vol001 out of the non-stretched pod MYPOD001. Will throw an error if trying to move from a stretched pod.
    Copied
  • purevol move vol001 MYPOD001

    Move the volume vol001 to the non-stretched pod. This will throw an error message if trying to add to a stretched pod.
    Copied
  • purevol recover MY_VOL_001

    Recover virtual volume MY_VOL_001 which is destroyed earlier.
    Copied
  • purevol remove --array PFAX70-REMOTE --with-unknown MYPOD001

    Remove array PFAX70-REMOTE with status unknown from pod MYPOD001
    Copied
  • purevol rename MY_VOL_001 MY_VOL_002

    Rename virtual volume MY_VOL_001 to MY_VOL_002
    Copied
  • purevol setattr --bw-limit 1M MY_VOL_001

    Change the bandwidth limit of MY_VOL_001 to 1MB/s
    Copied
  • 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
    Copied
  • purevol setattr --size 2G MY_VOL_001

    Increase the size of MY_VOL_001 to 2GB ( from current size of 1GB for example )
    Copied
  • purevol setattr --size 2G MY_VOL_001 MY_VOL_002

    Increase the size of MY_VOL_001 and MY_VOL_002 to 2GB ( the current size of MY_VOL_001 is 500MB and MY_VOL_002 is 1GB, for example )
    Copied
  • 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
    Copied
  • 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
    Copied
  • purevol truncate --size 1G MY_VOL_001

    Reduce the size of MY_VOL_001 to 1GB ( from current size of 8GB for example )
    Copied

[ view all commands ]