ADVERTISEMENT
Full list of Articles and Utilities
- BCV Creationemc
- Dynamic Vs Static SRDFemc
- EMC Quick Linksemc
- Simple Clone Operationsemc
- Solution Enabler Symcli Commandsemc
- Solution Enabler Symcli Question Bankemc
- SRDF Operationsemc
- Symdev Command to BIND and UNBINDemc
- Virtual Provisioning in VMaxemc
- VMax Allocation Stepsemc
- VMax3 and PowerMax Allocation Stepsemc
- VMax3 and PowerMax Deallocation Stepsemc
- CONVERT - Cylinders «-» GBemc
- CONVERT - Hex «-» Decimalemc
- DECODE - EMC FA WWPNemc
- DECODE - SYMM Device NAAemc
- ENCODE - EMC FA WWPNemc
- ENCODE - SYMM Device NAAemc
- GENERATE - Device Rangesemc
- GENERATE - Hex Numbersemc
- REMOVE - Duplicate Devicesemc
- SEPARATE - Devices By Commasemc
- SORT - Hex Numbersemc
- WWN - Remove or Add Colonsemc
- CREATE - Bindingemc
- CREATE - Initiator Groupemc
- CREATE - Mappingemc
- CREATE - Masking Viewemc
- CREATE - Meta Deviceemc
- CREATE - Port Goupemc
- CREATE - Storage Groupemc
- CREATE - Thin Deviceemc
- CREATE - Thin Device RDFemc
- DELETE - All Groupsemc
- DELETE - Bindingemc
- DELETE - Deviceemc
- DELETE - Mappingemc
- DELETE - Masking Viewemc
- DELETE - Thin Deviceemc
- DISOLVE - Meta Headsemc
- UPDATE - Device Attributeemc
- UPDATE - Device Groupemc
- UPDATE - Device Statusemc
- UPDATE - Storage Groupemc
- VMAX-3 Allocationemc
- Pure Flash Storage Provisioningpure
- Pure FlashArray Modelspure
- Pure Storage CLI Commandspure
- Pure Storage CLI Question Bankpure
- CREATE - Hostpure
- CREATE - Volumepure
- CREATE - Volume Connectionpure
- DELETE - Volumepure
- DELETE - Volume Connectionpure
- CISCO MDS CLI Question Bankcisco
- CISCO MDS Show Commandscisco
- Cisco MDS Zoning Quick Reference Guidecisco
- CREATE - Zoningcisco
Pure Storage CLI Question Bank
The How to guide for Pure Storage CLI Commands
-
How to display serial number of a specific hardware component of a Pure Flash Array
purehw list CT0 --specDisplay model, part number, and serial number of Controller 0 -
How to change the password for a user in Flash Array
pureadmin setattr testuser --passwordChange the password for the user testuser -
How to list all the HBA WWNs logged in to a Flash Array target FC port
pureport list --initiator --raw --filter "name='CT0.FC0'"Display all HBA WWNs logged to the FC port CT0.FC0 -
How to list all the hardware components of a Pure Flash Array along with part and serial number
purehw list --specList all the hardware components along with information like Model name, Part number and serial number -
How to list all the destroyed Virtual Volumes pending for eradication in a Pure Flash Array
purevol list --pending-onlyList all the destroyed Virtual Volumes pending for eradication -
How to check the Remote Assist is active or inactive in a Pure Flash Array
purearray remoteassist --statuscheck the Remote Assist is active or inactive -
How to generate API token for a user in Flash Array
pureadmin create testuser --api-tokenGenerate an API token for the user testuser -
How to list all the Host initiators and connected volumes
purehost list --allList all the hosts in a Flash Array along with its member initiators connected to volumes through target ports -
How to list all the hardware components of a Pure Flash Array
purehw listList all the hardware components along with information like status, temperature, voltage etc. -
How to eradicate multiple Virtual Volumes in Pure Flash Array
purevol eradicate MY_VOL_001 MY_VOL_002Eradicate 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. -
How to set the syslog servers for Pure Flash Array
purearray setattr --syslogserver log.server.comset the syslog server for pure array -
How to set the NTP server for Pure Flash Array
purearray setattr --ntpserver time.google.comSet the NTP server -
How to set the personality for a host
purehost setattr MY-SERVER-001 --personality esxiSet the personality of host MY-SERVER-001 to esxi. Some other values are aix, solaris etc.. -
How to list all the Controllers in a Pure Flash Array
purehw list --type ctList all the Controller in an Array -
How to display the replication throttle limit of a Pure Flash Array
purearray list --connect --throttleDisplay the replication throttle limit -
How to display all the FC Ports in the Flash Arrays
pureport list --raw --filter "name='*FC*'"Display all the Fibre Channel Ports with its WWNs in the Flash Arrays -
How to display all the host initiators know to the Flash Array
pureport list --initiatorDisplay all the host initiator WWNs, IQNs, NQNs known for the Flash Array. This also shows the target ports on which the initiators are eligible to communicate. -
How to add new HBA wwn to a host object in Pure Flash Array
purehost setattr MY-SERVER-001 --addwwnlist 1000000000000003Add new HBA wwn 1000000000000003 to host MY-HOST-001. 1000000000000003 should not be part of any other host. -
How to rename a Pure Flash Array
purearray rename MYARRAY001Set the name of the array to MYARRAY001 -
How to connect volume to host with specific LUN id in Pure Flash Array
purevol connect MY_VOL_001 --host MY-SERVER-001 --lun 10Connect volume MY_VOL_001 to host MY-SERVER-001 and assign LUN id 10. This will Provide the R/W access to the volume. -
How to unstretch a POD
purepod remove --array PFAX70-REMOTE MYPOD001Remove the remote array PFAX70-REMOTE from the POD MYPOD001. This will unstretch the POD and volume data inside the POD no longer synchronously replicated between two arrays. Volumes within the POD will be only visible in local array. -
How to list all the Ethernet ports in a Pure Flash Array
purehw list --type ethList all the Ethernet ports in an Array -
How to display the NTP servers configured in a Pure Flash Array
purearray list --ntpserverList the NTP servers configured -
How to increase the size of a Volume in Pure Flash Array
purevol setattr --size 2G MY_VOL_001Increase the size of MY_VOL_001 to 2GB -
How to search for HBA WWN and on which FC port its been logged in to on Flash Array
pureport list --initiator --raw --filter "initiator.wwn='1000000000000001'"Search for HBA WWN 1000000000000001 and on which FC port its been logged in to. -
How to create a user in Flash Array
pureadmin create testuser --role storage_adminCreate user testuser with storage_admin role. Possible roles are readonly, ops_admin, storage_admin, array_admin -
How to display the historical capacity and usage statistics information of a Pure Flash Array
purearray list --space --historical 30dDisplay the capacity and usage statistics information of the Array since last 30 days -
How to remove all the hosts from a hostgroup in Pure Flash Array
purehgroup setattr MY-HOSTS --hostlist ""Remove all the hosts from hostgroup MY-HOSTS -
How to display audit log records in Pure Flash Storage
pureaudit listDisplay the list of audit records. Audit trail records are created whenever administrative actions are perfromed by a user (for eg: creating, destroying, eradicating a volume) -
How to unlock a locked user in Flash Array
pureadmin reset testuser --lockoutUnlock locked user testuser -
How to expose the api token for the current user
pureadmin list --api-token --exposeList all the users with api tokens configured and expose the api token for the current user loggedin. -
How to display all the FC Ports in a controller within the Flash Arrays
pureport list --raw --filter "name='CT0.FC*'"Display all the Fibre Channel Ports in Controller 0 with its WWNs in the Flash Arrays -
How to stretch a POD
purepod add --array PFAX70-REMOTE MYPOD001Add the remote array PFAX70-REMOTE to the POD MYPOD001. This will stretch the POD and volume data inside the POD synchronously replicated between two arrays. The arrays in a stretched POD are considered as peers, there is no concept of source and target. Volumes within the POD will be visible in each arrays with same serial numbers. -
How to connect multiple volumes to host in a Pure Flash Array
purevol connect MY_VOL_001 MY_VOL_002 --host MY-SERVER-001Connect volumes MY_VOL_001 and MY_VOL_002 to host MY-SERVER-001 -
How to list all the FC ports in a Pure Flash Array
purehw list --type fcList all the FC ports in an Array with status and speed information -
How to list all the users with api tokens configured in the Flash Array
pureadmin list --api-tokenList all the users with api tokens configured -
How to rename a host object in a Pure Flash Array
purehost rename MY-SERVER-001 YOUR-SERVER-001Rename host MY-SERVER-001 to YOUR-SERVER-001 -
How to list all the hostgroups and connected volumes in Pure Flash Array
purehgroup list --connectList all the hostgroups and connected volumes -
How to display the connection key that can be used to connect to a Pure Flash Array
purearray list --connection-keyDisplay the connection key that can be used to connect to the array -
How to display all the iSCSI Ports in aFlash Array
pureport list --raw --filter "name='*ETH*'"Display all the iSCSI Ports with its IQNs in the Flash Arrays -
How to remove all the wwns from a host object in Pure Flash Array
purehost setattr MY-SERVER-001 --wwnlist ""Remove all wwns from MY-HOST-001 -
How to remove hba wwn from a host object in Pure Flash Array
purehost setattr MY-SERVER-001 --remwwnlist 1000000000000003Remove HBA wwn 1000000000000003 from host MY-SERVER-001 -
How to destroy multiple Virtual Volumes in Pure Flash Array
purevol destroy MY_VOL_001 MY_VOL_002Destroy 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. -
How to display the syslog server setting for a Pure Flash Array
purearray list --syslogserverList the syslog server names configured to push the logs in pure array -
How to disconnect multiple volumes from a host in Pure Flash Array
purevol discconnect MY_VOL_001 MY_VOL_002 --host MY-SERVER-001Disconnect volumes MY_VOL_001 and MY_VOL_002 from host MY-SERVER-001 -
How to list all flash drives and NVRAM modules in a Pure Flash Array with total capacity
puredrive list --totalList all the flash drive modules in an Array with the total capacity figure -
How to delete host object in a Pure Flash Array
purehost delete MY-SERVER-001Delete host MY-SERVER-001 -
How to eradicate a POD
purepod eradicate MYPOD001Completely delete or eradicate POD MYPOD001. The POD will not recover after this. -
How to create a hostgroup with existing hosts in Pure Flash Array
purehgroup create MY-HOSTS --hostlist MY-HOST-001,MY-HOST-002Create hostgroup MY-HOSTS and add existing hosts MY-HOST-001 and MY-HOST-002 in to it -
How to display the Dial Home status of a Pure Flash Array
purearray list --phonehomeDisplay the dial home configuration status of the Array -
How to copy data from one Volume to another in a Pure Flash Array
purevol copy MY_VOL_001 MY_VOL_002 --overwriteCopy data from MY_VOL_001 to an existing volume MY_VOL_002. Contents of MY_VOL_002 will be overwritten. -
How to disconnect volume from hostgroup in Pure Flash Array
purehgroup disconnect MY-HOSTS --vol MY_VOL_001Disconnect volume MY_VOLUME_001 from hostgroup MY-HOSTS -
How to connect a volume to multiple hosts in Pure Flash Array
purehost connect MY-SERVER-001 MY-SERVER-002 --vol MY_VOL_001Connect volume MY_VOL_001 to hosts MY-SERVER-001 and MY-SERVER-002 -
How to connect volume to hostgroup with specific lun id in Pure Flash Array
purehgroup connect MY-HOSTS --vol MY_VOL_001 --lun 100Connect volume MY_VOLUME_001 to hostgroup MY-HOSTS and assign LUN id 100 -
How to enable phonehome in a Pure Flash Array
purearray enable phonehomeEnable phonehome or dialhome feature of array. -
How to list the audit record for a particular command executed in Pure Flash Array
pureaudit list --filter 'command="purepod"'List all the audit records for purepod command executed in the array -
How to list all the controllers connected to a Pure Flash Array
purearray list --controllerList all the controllers connected to the Array. This will also display the model and status of each controller -
How to list all the volumes sorted by size in a Flash Array
purevol list --sort sizeList all the volumes sorted by size in descending order -
How to display the name serial number and firmware version of Pure Flash Array
purearray listDisplay the array name,serial number and firmware version -
How to create multiple PODs
purepod create MYPOD001 MYPOD002Create PODs named MYPOD001 and MYPOD002 -
How to list all the connected volumes for a hostgroup
purehgroup list --connect MY-HOSTSList all the connected volumes for hostgroup MY-HOSTS -
How to list all flash drives and NVRAM modules in a Pure Flash Array along with protocol info
puredrive list --specList all the flash drive modules in an Array along with Protocol( SAS/NVME) information -
How to recover a Volume in Pure Flash Array
purevol recover MY_VOL_001Recover virtual volume MY_VOL_001 which is destroyed earlier. -
How to list all the volumes sorted by serial number in a Flash Array
purevol list --sort serialList all the volumes sorted by serial number descending order -
How to rename a Volume in Pure Flash Array
purevol rename MY_VOL_001 MY_VOL_002Rename virtual volume MY_VOL_001 to MY_VOL_002 -
How to connect volume to hostgroup in Pure Flash Array
purevol connect MY_VOL_001 --hgroup MY-HOSTSConnect volume MY_VOL_001 to hostgroup MY-HOSTS -
How to display all the Flash Array Target Ports
pureport listDisplay all the target ports within the Flash Array. This includes FC, iSCSI and NVME ports. This command also displays WWNs of FC ports iSCSI Qualified Names(IQNs) for iSCSI ports and NVMe Qualified Names(NQNs) for NVMe ports. -
How to destroy a POD
purepod destroy MYPOD001Destroy or delete POD MYPOD001. The POD must be empty and unstretched to destroy. POD will not be destructed immediately, but placed under 24hr eradication pending period. -
How to display the details of all the hosts with a particular name
purehost list MY-SERVER*Display the details of all the Hosts those name start with MY-SERVER -
How to eradicate multiple PODs
purepod eradicate MYPOD001 MYPOD002Completely delete or eradicate PODs MYPOD001 MYPOD002. The PODs will not recover after this. -
How to disable phonehome in a Pure Flash Array
purearray disable phonehomeDisable phonehome or dialhome feature of array. -
How to display the arraywide IO performance of a Pure Flash Array
purearray monitor --interval 4 --repeat 5Display the array-wide IO performance of a Flash Array in every 4 seconds for 5 times. -
How to add hosts to existing hostgroups in Pure Flash Array
purehgroup setattr MY-HOSTS --addhostlist MY-HOST-002,MY-HOST-003Add MY-HOST-002 and MY-HOST-003 to existing hostgroup MY-HOSTS -
How to delete API Token for a specific user in Flash Array
pureadmin delete testuser --api-tokenDelete API Token for user testuser -
How to connect volume to host in Pure Flash Array
purevol connect MY_VOL_001 --host MY-SERVER-001Connect 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. -
How to disconnect a specific volume from the host in Pure Flash Array
purehost disconnect MY-SERVER-001 --vol MY_VOL_001Disconnect volume MY_VOL_001 from host MY-SERVER-001. This will remove the visibility of the volume to the host. -
How to remove all the NTP servers configured for Pure Flash Array
purearray setattr --ntpserver ''Remove all the NTP servers configured for pure array -
How to display remotely connected arrays for replication
purearray list --connectDisplay remotely connected arrays for replication -
How to list all flash drives and NVRAM modules in a Pure Flash Array
puredrive listList all the flash drive modules in an Array. This will also display the capacity of each module. -
How to display information about a specific Pure Flash Array drive
puredrive list CH0.BAY10Display information about flash drive BAY10 in CH0 -
How to create a hostgroup in Pure Flash Array
purehgroup create MY-HOSTSCreate a hostgroup called MY-HOSTS -
How to delete a user from Flash Array
pureadmin delete testuserDelete user testuser from Flash Array -
How to list the audit record for a particular command and subcommand executed in Pure Flash Array
pureaudit list --filter 'command="purepod" and subcommand="create"'List all the audit records for purepod create command executed in the array -
How to eradicate a Volume in Pure Flash Array
purevol eradicate MY_VOL_001Eradicate virtual volume MY_VOL_001 which is destroyed earlier. This will fully destroy the volume and not be able to recover further. -
How to create multiple host objects in a Pure Flash Array
purehost create MY-SERVER-001 MY-SERVER-002Create hosts MY-SERVER-001 and MY-HOST-002 -
How to list all the PODs including destroyed
purepod list --pendingList all the PODs including destroyed, but not eradicated -
How to list the audit record for a particular command executed in Pure Flash Array by a specific user
pureaudit list --filter 'command="purepod" and user="pureuser"'List all the audit records for purepod commands executed by pureuser in the array -
How to remove hosts from hostgroups in Pure Flash Array
purehgroup setattr MY-HOSTS --remhostlist MY-HOST-002,MY-HOST-003Remove MY-HOST-002 and MY-HOST-003 from hostgroup MY-HOSTS -
How to list all the volumes sorted by created time in a Flash Array
purevol list --sort createdList all the volumes sorted by create time in descending order -
How to list all the drive modules in a Pure Flash Array
purehw list --type bayList all the Drive modules in an Array -
How to disconnect volume from host in Pure Flash Array
purevol disconnect MY_VOL_001 --host MY-SERVER-001Disconnect volume MY_VOL_001 from host MY-SERVER-001. This will remove the visibility of the volume to the host. -
How to disconnect a volume from multiple hosts in Pure Flash Array
purehost disconnect MY-SERVER-001 MY-SERVER-002 --vol MY_VOL_001Disconnect volume MY_VOL_001 from hosts MY-SERVER-001 and MY-SERVER-002 -
How to delete a hostgroup in Pure Flash Array
purehgroup delete MY-HOSTSDelete empty hostgroup MY-HOSTS. -
How to change the role of a user in Flash Array
pureadmin setattr testuser --role array_adminChange the role of the user testuser to array_admin role. Possible roles are readonly, ops_admin, storage_admin, array_admin -
How to list the Virtual Volumes with a specific prefix in Pure Flash Array
purevol list MY_VOL*List all the Virtual Volumes prefixed with MY_VOL -
How to create a volume and include in POD
purevol create --size 1G MYPOD001::MY_VOL_001Create a volume of 1GB size and include it in MYPOD001. -
How to display the capacity report for hostgroups in a Pure Flash Array
purehgroup list --spaceList all the hostgroups with the total capacity of volumes provisioned to each and the consumption -
How to list the hosts and personality assigned to each
purehost list --personalityDisplay the list hosts along with the personality set against each. The personality is define using the purehost setattr command. -
How to display the capacity and usage statistics information of a Pure Flash Array
purearray list --spaceDisplay the capacity and usage statistics information of the Array. -
How to display first few rows of audit records
pureaudit list --limit 10Display the first 10 rows of audit records -
How to list all the arrays included in a POD
purepod listobj --type array MYPOD001List all the arrays included in MYPOD001 -
How to display information about a specific Pure Flash Array drive and all other drives in same pack
puredrive list CH0.BAY10 --packDisplay information about flash drive BAY10 in CH0 and all other drives in the same pack -
How to destroy multiple PODs
purepod destroy MYPOD001 MYPOD002Destroy or delete PODs MYPOD001 MYPOD002. The PODs must be empty and unstretched to destroy. PODs will not be destructed immediately, but placed under 24hr eradication pending period. -
How to create snap shot of a Volume with a specific suffix in a Pure Flash Array
purevol snap MY_VOL_001 --suffix PRDCreate snap shot of MY_VOL_001 with PRD as a suffix. MY_VOL_001.PRD will be created -
How to replace hostgroup members with other hosts in Pure Flash Array
purehgroup setattr MY-HOSTS --hostlist MY-HOST-002,MY-HOST-003Replace members of MY-HOSTS with new hosts MY-HOST-002 and MY-HOST-003 -
How to list all the volumes connected to a Host
purehost list MY-SERVER-001 --connectList all the volumes connected to Host MY-SERVER-001 -
How to list all the Hosts in a Flash Array
purehost listList all the hosts in a Flash Array with its member WWNs or IQNs or NQNs. This will also show the Host Groups if it part of any. -
How to create a POD
purepod create MYPOD001Create a POD called MYPOD001 -
How to list all the volumes included in a POD
purepod listobj --type vol MYPOD001List all the volumes included in MYPOD001 -
How to rename hostgroup in Pure Flash Array
purehgroup rename MY-HOSTS YOUR-HOSTSRename hostgroup MY-HOSTS with YOUR-HOSTS -
How to list only the destroyed PODs
purepod list --pending-onlyList only the PODs which are destroyed, but not eradicated -
How to connect host with volume in Pure Flash Array
purehost connect MY-SERVER-001 --vol MY_VOL_001Connect 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. -
How to delete multiple hostgroups in Pure Flash Array
purehgroup delete MY-HOSTS_1 MY-HOSTS-2Delete empty hostgroups MY-HOSTS-1 and MY-HOSTS-2 -
How to list all the hostgroups in Pure Flash Array
purehgroup listList all the hostgroups a with member hosts -
How to display information about a specific hardware component of a Pure Flash Array
purehw list CT0.FC0Display information about FC port 0 on controller 0. Port status and speed also be displayed. -
How to display the audit records sorted by user
pureaudit list --sort userDisplay the list of audit records sorted by the user field. By default the records are sorted by the time field -
How to connect volume with hostgroup in Pure Flash Array
purehgroup connect MY-HOSTS --vol MY_VOL_001Connect volume MY_VOLUME_001 to hostgroup MY-HOSTS -
How to list all the PODs in the Pure Flash array
purepod listList all the PODs in the Pure Flash array. This will shows the arrays in POD and status of each. -
How to display the host with a specified WWN
purehost list --filter "wwn='1000000000000003'"Display the host with WWN 1000000000000003 as a member -
How to list all the snap shots in a Pure Flash Array
purevol list --snapList all the snap shots -
How to delete multiple host objects in a Pure Flash Array
purehost delete MY-SERVER-001 MY-SERVER-002Delete hosts MY-SERVER-001 MY-SERVER-002 -
How to create multiple Volume in a Pure Flash Array
purevol create --size 10G MY_VOLUME_001 MY_VOLUME_002Create Virtual volumes MY_VOLUME_001 and MY_VOL_SIZE_002 of size 10GB -
How to create a host object and add HBA wwns in a Pure Flash Array
purehost create MY-SERVER-001 --wwnlist 1000000000000001,10:00:00:00:00:00:00:01Create a host object called MY-SERVER-001 and add HBA wwns to it -
How to connect host to volume with a specific LUN id in Pure Flash Array
purehost connect MY-SERVER-001 --vol MY_VOL_001 --lun 10Connect volume MY_VOL_001 to host MY-SERVER-001 and assign LUN id 10. This will Provide the R/W access to the volume. -
How to display all the commands to reproduce the entire configuration of a Pure Flash Array
pureconfig listDisplay list of commands to reproduce the volumes, hosts, host groups, connections, network, alert and array configurations. Copying this and running in another array will create an exact copy. -
How to list all the Hosts with connected volumes
purehost list --connectList all the hosts in a Flash Array which have connected volumes -
How to list all the hosts with shared volumes assigned through hostgroup in a Flash Array
purehost list --connect --sharedList all the hosts with shared volumes assigned through hostgroup -
How to recover a POD that is destroyed earlier
purepod recover MYPOD001Recover MYPOD001 which is destroyed earlier. -
How to change the bandwidth a Volume in Pure Flash Array
purevol setattr --bw-limit 1M MY_VOL_001Change the bandwidth limit of MY_VOL_001 to 1MB/s -
How to display the personality of a host
purehost list MY-SERVER-001 --personalityDisplay the personality of host MY-SERVER-001 -
How to list all the Volumes in a Pure Flash Array
purevol listList all the Virtual Volume -
How to remove all the syslog servers configured for Pure Flash Array
purearray setattr --syslogserver ''Remove all the syslog server servers configured for pure array -
How to list the information about a specific Virtual Volume in Pure Flash Array
purevol list MY_VOL_001List information about MY_VOL_001 -
How to list all the volume with a specific size in a Flash Array
purevol list --filter "size='20T'"List all the volumes with 20TB size -
How to list all the hosts with non shared volumes
purehost list --connect --privateList all the hosts with non shared volumes. Volumes are not assigned through hostgroup. -
How to change the bandwidth of multiple Volume in Pure Flash Array
purevol setattr --bw-limit 1M MY_VOL_001 MY_VOL_002Change the bandwidth limit of MY_VOL_001 and MY_VOL_002 to 1MB/s -
How to list all the destroyed volumes pending for eradication in a Pure Flash Array
purevol list --pendingList all the Virtual Volumes including destroyed but pending for eradication -
How to create snap shot of a Volume in a Pure Flash Array
purevol snap MY_VOL_001Create snap shot of MY_VOL_001. If it is first snap then MY_VOL_001.2 will be created -
How to update the content of a host object in a Pure Flash Array
purehost setattr MY-SERVER-001 --wwnlist 1000000000000003Update the contents of an existing host with new wwn 1000000000000003 -
How to list all the drive modules in a Pure Flash Array along with part number and serial number
purehw list --type bay --specList all the Drive modules in an Array along with part number and serial number -
How to destroy Volume in Pure Flash Array
purevol destroy MY_VOL_001Destroy virtual volume MY_VOL_001. This volume can be recovered within 24hrs. After that, physical storage occupied this volume will be reclaimed. -
How to create a host object in Pure Flash Array
purehost create MY-SERVER-001Create a host object called MY-SERVER-001. HBA wwns can be added later using purehost setattr command. -
How to rename a POD
purepod rename MYPOD001 YOURPOD001Change the name of POD from MYPOD001 to YOURPOD001 -
How to increase the size of multiple Volume in Pure Flash Array
purevol setattr --size 2G MY_VOL_001 MY_VOL_002Increase the size of MY_VOL_001 and MY_VOL_002 to 2GB -
How to display the details of a Host
purehost list MY-SERVER-001Display the details of Host MY-SERVER-001 -
How to remove all the members from a hostgroup
purehgroup setattr MY-HOSTS --hostlist ""Remove all the hosts from hostgroup MY-HOSTS -
How to create a Volume in a Pure Flash Array
purevol create --size 10G MY_VOLUME_001Create a Virtual volume called MY_VOLUME_001 of size 10GB -
How to create API Token for a user valid with a limited timeframe in Flash Array
pureadmin create testuser --api-token --timeout 2hCreate API Token for testuser valid for 2 hours -
How to display a HostGroup with a specific Host as member
purehgroup list --filter "host_list='MY-SERVER-001'"Display the Host Group where Host MY-SERVER-001 is a member -
How to create a copy of Volume in Pure Flash Array
purevol copy MY_VOL_001 MY_VOL_002Create a copy MY_VOL_001 and name it as MY_VOL_002. If MY_VOL_002 already exists this will throw and error. -
How to list the details of a specific POD
purepod list MYPOD001List the detail of POD MYPOD001 -
How to list all the users configured in the Flash Array
pureadmin listList all the users configured in the Flash Array -
How to create a Volume in a Pure Flash Array with limited bandwidth
purevol create --size 10G MY_VOLUME_001 --bw-limit 10MCreate a Virtual volume MY_VOLUME_001 of size 10GB and limit is bandwidth to 10MB/s -
How to delete API Token for current user in Flash Array
pureadmin delete --api-tokenDelete API Token for current user -
How to display the audit records for a specific user
pureaudit list --filter 'user = "root"'Display the list of audit records for the root user -
How to reduce the size of a Volume in Pure Flash Array
purevol truncate --size 1G MY_VOL_001Reduce the size of MY_VOL_001 to 1GB -
How to disconnect volume from hostgroup in Pure Flash Array
purevol disconnect MY_VOL_001 --hgroup MY-HOSTSDisconnect volume MY_VOL_001 from hostgroup MY-HOSTS
Most viewed articles
- Pure Storage CLI CommandsA list of the most useful Purity CLI com ...
- Pure Storage ProvisioningStorage Allocation procedure for a Pure ...
- Pure FlashArray ModelsA quick reference to all the Flash Array ...