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 Commands
A list of useful Purity CLI commands to manage Pure Flash Storage arrays.
-
pureadmin commands
The pureadmin command displays and manage administrative accounts in Pure Flash Storage Array22 Commands-
pureadmin create testuser --api-tokenGenerate an API token for the user testuserCopied
-
pureadmin create testuser --api-token --timeout 2hCreate API Token for testuser valid for 2 hoursCopied
-
pureadmin create testuser --role storage_adminCreate user testuser with storage_admin role. Possible roles are readonly, ops_admin, storage_admin, array_adminCopied
-
pureadmin delete --api-tokenDelete API Token for current userCopied
-
pureadmin delete testuserDelete user testuser from Flash ArrayCopied
-
pureadmin delete testuser --api-tokenDelete API Token for user testuserCopied
-
pureadmin global disable --single-sign-onThis will disable single sign-on on the current array. Enabling single sign-on gives LDAP users the ability to navigate seamlessly from Pure1 Manage to the current array through a single login.Copied
-
pureadmin global enable --single-sign-onThis enables single sign-on on the current array. Enabling single sign-on gives LDAP users the ability to navigate seamlessly from Pure1 Manage to the current array through a single login.Copied
-
pureadmin global listList the global administration attributes like Lockout Duration, Maximum Login Attempts, Minimum Password Length, etc..Copied
-
pureadmin global setattr --lockout-duration 1mSet the lockout duration to 1 minute after maximum unsuccessful login attempts.Copied
-
pureadmin global setattr --max-login-attempts 3Set the maximum failed login attempts to 3 before the user get locked out.Copied
-
pureadmin global setattr --min-password-length 8Set the minimum length of characters required for all the local user account passwords to 8. Minimum length allowed is 1. This will not affect the existing user accounts, but all future password assignment must meet the new value.Copied
-
pureadmin listList all the users configured in the Flash ArrayCopied
-
pureadmin list --api-tokenList all the users with api tokens configuredCopied
-
pureadmin list --api-token --exposeList all the users with api tokens configured and expose the api token for the current user loggedin.Copied
-
pureadmin list --lockoutList all the user accounts that are currently lockoutCopied
-
pureadmin refresh --clearClears the permission cache for all the usersCopied
-
pureadmin refresh --clear testuserClears the permission cache for testuserCopied
-
pureadmin refresh testuserRefresh the permission cache for testuserCopied
-
pureadmin reset testuser --lockoutUnlock locked user testuserCopied
-
pureadmin setattr testuser --passwordChange the password for the user testuserCopied
-
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_adminCopied
-
-
purealert commands
The purealert command manages alert history and the list of designated email addresses for alert notifications8 Commands-
purealert flag 121212Flag an alert with ID 121212. This will appear in the flagged alert list.Copied
-
purealert listList all the alerts generated in the Pure Flash ArrayCopied
-
purealert list --filter "issue='failure'"List all the alerts generated for failuresCopied
-
purealert list --filter "severity='critical'"List all the alerts with Critical severity.Copied
-
purealert list --filter "state='closed'"List all the closed alertsCopied
-
purealert list --filter "state='open'"List all the alerts in Open stateCopied
-
purealert list --flaggedList all the alerts that are flagged. By default all alerts are flagged. We can unflag command once those are resolved.Copied
-
purealert unflag 121212Unflag alert with ID 121212. This will not appear in the flagged alert list.Copied
-
-
purearray commands
The purearray command displays attributes and monitors I/O performance in Pure Flash Storage Array24 Commands-
purearray connect --management-address 10.0.0.1 --type async-replication --connection-keyConnects the local array to remote array 10.0.0.1 for asynchronous replication using the connection key. The Connection key will be prompted to enter.Copied
-
purearray connect --management-address 10.0.0.1 --type sync-replication --connection-keyConnects the local array to remote array 10.0.0.1 for synchronous replication using the connection key. The Connection key will be prompted to enter.Copied
-
purearray connect --management-address 10.0.0.1 --type sync-replication --replication-transport ip -- connection-keyConnects the local array to remote array 10.0.0.1 for synchronous replication via Ethernet transport using the connection key. The Connection key will be prompted to enter.Copied
-
purearray disable phonehomeDisable phonehome or dialhome feature of array.Copied
-
purearray disconnect 10.0.0.1Disconnects array 10.0.0.1 from the local array connected for remote replication.Copied
-
purearray enable phonehomeEnable phonehome or dialhome feature of array.Copied
-
purearray listDisplay the array name,serial number and firmware versionCopied
-
purearray list --connectDisplay remotely connected arrays for replicationCopied
-
purearray list --connect --pathDisplay arrays connected for remote replication along with connection pathsCopied
-
purearray list --connect --throttleDisplay the replication throttle limitCopied
-
purearray list --connection-keyDisplay the connection key that can be used to connect to the arrayCopied
-
purearray list --controllerList all the controllers connected to the Array. This will also display the model and status of each controllerCopied
-
purearray list --ntpserverList the NTP servers configuredCopied
-
purearray list --phonehomeDisplay the dial home configuration status of the ArrayCopied
-
purearray list --spaceDisplay the capacity and usage statistics information of the Array.Copied
-
purearray list --space --historical 30dDisplay the capacity and usage statistics information of the Array since last 30 daysCopied
-
purearray list --syslogserverList the syslog server names configured to push the logs in pure arrayCopied
-
purearray monitor --interval 4 --repeat 5Display the array-wide IO performance of a Flash Array in every 4 seconds for 5 times.Copied
-
purearray remoteassist --statuscheck the Remote Assist is active or inactiveCopied
-
purearray rename MYARRAY001Set the name of the array to MYARRAY001Copied
-
purearray setattr --ntpserver ''Remove all the NTP servers configured for pure arrayCopied
-
purearray setattr --ntpserver time.google.comSet the NTP serverCopied
-
purearray setattr --syslogserver ''Remove all the syslog server servers configured for pure arrayCopied
-
purearray setattr --syslogserver log.server.comset the syslog server for pure arrayCopied
-
-
pureaudit commands
The pureaudit command displays and manages the audit logs record details in Pure Flash Storage Array7 Commands-
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)Copied
-
pureaudit list --filter 'command="purepod" and subcommand="create"'List all the audit records for purepod create command executed in the arrayCopied
-
pureaudit list --filter 'command="purepod" and user="pureuser"'List all the audit records for purepod commands executed by pureuser in the arrayCopied
-
pureaudit list --filter 'command="purepod"'List all the audit records for purepod command executed in the arrayCopied
-
pureaudit list --filter 'user = "root"'Display the list of audit records for the root userCopied
-
pureaudit list --limit 10Display the first 10 rows of audit recordsCopied
-
pureaudit list --sort userDisplay the list of audit records sorted by the user field. By default the records are sorted by the time fieldCopied
-
-
pureconfig commands
The pureconfig command provides commands to reproduce the current Pure Flash Storage Array configuration4 Commands-
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.Copied
-
pureconfig list --allDisplays all the commands required to reproduce the current FlashAarray configuration of hosts, host groups, pods, protection groups, volumes, volume groups, connections, file systems and directories, alert, network, policies, and support.Copied
-
pureconfig list --objectDisplays the object configuration of the FlashArray including hosts, host groups, pods, protection groups, volumes, volume groups, and connections, as well as file systems and directories if file services are enabled.Copied
-
pureconfig list --systemDisplays the system configuration of the flah array including network, policies, alert and supportCopied
-
-
puredns commands
The puredns command manages the DNS attributes for an arrays administrative network.4 Commands-
puredns listDisplay the current DNS parameters configured in the array. This includes the domain suffixes and IP addresses of the name serversCopied
-
puredns setattr --domain ""Removes the domain suffix from Purity//FA DNS queriesCopied
-
puredns setattr --domain test.com --nameservers 192.168.0.10,192.168.2.11Add the IPv4 addresses of two DNS servers for Array to use to resolve hostnames to IP addresses, and the domain suffix test.com for DNS searches.Copied
-
puredns setattr --nameservers""Unassigns DNS server IP addresses from the DNS entry. This will stop making DNS entries.Copied
-
-
puredrive commands
The puredrive command provides information about the Flash Drives and NVRAM modules in Pure Flash Storage Array6 Commands-
puredrive admitAdmit all drive modules that have been added or connected but not yet admitted to the array. Once successfully admitted, the status of the drive modules will change from unadmitted to healthy.Copied
-
puredrive listList all the flash drive modules in an Array. This will also display the capacity of each module.Copied
-
puredrive list --specList all the flash drive modules in an Array along with Protocol( SAS/NVME) informationCopied
-
puredrive list --totalList all the flash drive modules in an Array with the total capacity figureCopied
-
puredrive list CH0.BAY10Display information about flash drive BAY10 in CH0Copied
-
puredrive list CH0.BAY10 --packDisplay information about flash drive BAY10 in CH0 and all other drives in the same packCopied
-
-
purehgroup commands
The purehgroup command displays and manages HostGroup objects in Pure Flash Storage Array18 Commands-
purehgroup connect MY-HOSTS --vol MY_VOL_001Connect volume MY_VOLUME_001 to hostgroup MY-HOSTS. This will assign a lun id to the volume. The lun id will start from 254 and go down up to 1If all LUNs in the [1...254] range are taken, Purity//FA starts at LUN 255 and counts up to the maximum LUN 16383, assigning the first available LUN to the connection.Copied
-
purehgroup connect MY-HOSTS --vol MY_VOL_001 --lun 100Connect volume MY_VOLUME_001 to hostgroup MY-HOSTS and assign LUN id 100Copied
-
purehgroup create MY-HOSTSCreate a hostgroup called MY-HOSTSCopied
-
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 itCopied
-
purehgroup delete MY-HOSTSDelete empty hostgroup MY-HOSTS.Copied
-
purehgroup delete MY-HOSTS_1 MY-HOSTS-2Delete empty hostgroups MY-HOSTS-1 and MY-HOSTS-2Copied
-
purehgroup disconnect MY-HOSTS --vol MY_VOL_001Disconnect volume MY_VOLUME_001 from hostgroup MY-HOSTSCopied
-
purehgroup listList all the hostgroups a with member hostsCopied
-
purehgroup list --connectList all the hostgroups and connected volumesCopied
-
purehgroup list --connect MY-HOSTSList all the connected volumes for hostgroup MY-HOSTSCopied
-
purehgroup list --filter "host_list='MY-SERVER-001'"Display the Host Group where Host MY-SERVER-001 is a memberCopied
-
purehgroup list --spaceList all the hostgroups with the total capacity of volumes provisioned to each and the consumptionCopied
-
purehgroup rename MY-HOSTS YOUR-HOSTSRename hostgroup MY-HOSTS with YOUR-HOSTSCopied
-
purehgroup setattr MY-HOSTS --addhostlist MY-HOST-002,MY-HOST-003Add MY-HOST-002 and MY-HOST-003 to existing hostgroup MY-HOSTSCopied
-
purehgroup setattr MY-HOSTS --hostlist ""Remove all the hosts from hostgroup MY-HOSTSCopied
-
purehgroup setattr MY-HOSTS --hostlist ""Remove all the hosts from hostgroup MY-HOSTSCopied
-
purehgroup setattr MY-HOSTS --hostlist MY-HOST-002,MY-HOST-003Replace members of MY-HOSTS with new hosts MY-HOST-002 and MY-HOST-003Copied
-
purehgroup setattr MY-HOSTS --remhostlist MY-HOST-002,MY-HOST-003Remove MY-HOST-002 and MY-HOST-003 from hostgroup MY-HOSTSCopied
-
-
purehost commands
The purehost command displays and manage Host objects in Pure Flash Storage Array27 Commands-
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.Copied
-
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.Copied
-
purehost connect MY-SERVER-001 MY-SERVER-002 --vol MY_VOL_001Connect volume MY_VOL_001 to hosts MY-SERVER-001 and MY-SERVER-002Copied
-
purehost create MY-SERVER-001Create a host object called MY-SERVER-001. HBA wwns can be added later using purehost setattr command.Copied
-
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 itCopied
-
purehost create MY-SERVER-001 MY-SERVER-002Create hosts MY-SERVER-001 and MY-HOST-002Copied
-
purehost delete MY-SERVER-001Delete host MY-SERVER-001Copied
-
purehost delete MY-SERVER-001 MY-SERVER-002Delete hosts MY-SERVER-001 MY-SERVER-002Copied
-
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.Copied
-
purehost disconnect MY-SERVER-001 MY-SERVER-002 --vol MY_VOL_001Disconnect volume MY_VOL_001 from hosts MY-SERVER-001 and MY-SERVER-002Copied
-
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.Copied
-
purehost list --allList all the hosts in a Flash Array along with its member initiators connected to volumes through target portsCopied
-
purehost list --connectList all the hosts in a Flash Array which have connected volumesCopied
-
purehost list --connect --privateList all the hosts with non shared volumes. Volumes are not assigned through hostgroup.Copied
-
purehost list --connect --sharedList all the hosts with shared volumes assigned through hostgroupCopied
-
purehost list --filter "wwn='1000000000000003'"Display the host with WWN 1000000000000003 as a memberCopied
-
purehost list --personalityDisplay the list hosts along with the personality set against each. The personality is define using the purehost setattr command.Copied
-
purehost list MY-SERVER*Display the details of all the Hosts those name start with MY-SERVERCopied
-
purehost list MY-SERVER-001Display the details of Host MY-SERVER-001Copied
-
purehost list MY-SERVER-001 --connectList all the volumes connected to Host MY-SERVER-001Copied
-
purehost list MY-SERVER-001 --personalityDisplay the personality of host MY-SERVER-001Copied
-
purehost rename MY-SERVER-001 YOUR-SERVER-001Rename host MY-SERVER-001 to YOUR-SERVER-001Copied
-
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.Copied
-
purehost setattr MY-SERVER-001 --personality esxiSet the personality of host MY-SERVER-001 to esxi. Some other values are aix, solaris etc..Copied
-
purehost setattr MY-SERVER-001 --remwwnlist 1000000000000003Remove HBA wwn 1000000000000003 from host MY-SERVER-001Copied
-
purehost setattr MY-SERVER-001 --wwnlist ""Remove all wwns from MY-HOST-001Copied
-
purehost setattr MY-SERVER-001 --wwnlist 1000000000000003Update the contents of an existing host with new wwn 1000000000000003Copied
-
-
purehw commands
The purehw command displays hardware components and updates visual identifications in Pure Flash Storage Array9 Commands-
purehw listList all the hardware components along with information like status, temperature, voltage etc.Copied
-
purehw list --specList all the hardware components along with information like Model name, Part number and serial numberCopied
-
purehw list --type bayList all the Drive modules in an ArrayCopied
-
purehw list --type bay --specList all the Drive modules in an Array along with part number and serial numberCopied
-
purehw list --type ctList all the Controller in an ArrayCopied
-
purehw list --type ethList all the Ethernet ports in an ArrayCopied
-
purehw list --type fcList all the FC ports in an Array with status and speed informationCopied
-
purehw list CT0 --specDisplay model, part number, and serial number of Controller 0Copied
-
purehw list CT0.FC0Display information about FC port 0 on controller 0. Port status and speed also be displayed.Copied
-
-
purepod commands
The pureaudit command create and Manage PODs for Synchronous replication in Pure Flash Storage Array29 Commands-
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.Copied
-
purepod clone MYPOD001 MYPOD002Clone pod MYPOD001 and create MYPOD002. MYPOD002 inherits the entire history and configuration of the MYPOD001 including its protection groups, PG snap shots and replication policies. volumes, volume snapshots etc. However Serial number(WWN) of the volumes will be different from the source POD volumes.Copied
-
purepod create MYPOD001Create a POD called MYPOD001Copied
-
purepod create MYPOD001 MYPOD002Create PODs named MYPOD001 and MYPOD002Copied
-
purepod demote MYPOD001Demote the pod MYPOD001Copied
-
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.Copied
-
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.Copied
-
purepod eradicate MYPOD001Completely delete or eradicate POD MYPOD001. The POD will not recover after this.Copied
-
purepod eradicate MYPOD001 MYPOD002Completely delete or eradicate PODs MYPOD001 MYPOD002. The PODs will not recover after this.Copied
-
purepod listList all the PODs in the Pure Flash array. This will shows the arrays in POD and status of each.Copied
-
purepod list --failover-preferenceList all the pods with its failover preferences. Failover preference determines which array within a stretched pod should give preference to stay online if the arrays ever lose contact with each other. If both arrays reach mediator, the failover preference determines which array get to be online. But if only one array reach to mediator, then that array will be online regardless of the preference.Copied
-
purepod list --footprintDisplay all the pods along with the maximum physical capacity that each will take on the arrayCopied
-
purepod list --mediatorList all the pods along with connectivity status from each array to the mediator.Copied
-
purepod list --on ARRAY02Display all the pods on the connected arry ARRAY02 and not stretched to the current array( ARRAY001)Copied
-
purepod list --pendingList all the PODs including destroyed, but not eradicatedCopied
-
purepod list --pending-onlyList only the PODs which are destroyed, but not eradicatedCopied
-
purepod list MYPOD001List the detail of POD MYPOD001Copied
-
purepod listobj --type array MYPOD001List all the arrays included in MYPOD001Copied
-
purepod listobj --type vol MYPOD001List all the volumes included in MYPOD001Copied
-
purepod recover MYPOD001Recover MYPOD001 which is destroyed earlier.Copied
-
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.Copied
-
purepod rename MYPOD001 YOURPOD001Change the name of POD from MYPOD001 to YOURPOD001Copied
-
purepod replica-link create PRDPOD001 --remote ARRAY002 --remote-pod DRPOD001Create a replica link between PRDPOD001 on current array(ARRY001) and DRPOD001 on remote array ARRAY002.Copied
-
purepod replica-link delete PRDPOD001 --remote-pod DRPOD001Delete the replica link between PRDPOD001 and remote pod DRPOD001Copied
-
purepod replica-link listList the replica links in the current arrayCopied
-
purepod replica-link monitor --replicationMonitor the data transfer speed on the replica links on the array. If the replication link is pause, the speed will show as 0Copied
-
purepod replica-link pause PRDPOD001 --remote ARRAY002 --remote-pod DRPOD001Pause the Active/DR replication by pausing the replica link connection between local and remote array. To continue the replication resume the replica linkCopied
-
purepod replica-link resume PRDPOD001 --remote ARRAY002 --remote-pod DRPOD001Resume the Active/DR replication by resuming the replica link connection between local and remote array. To continue the replication resume the replica linkCopied
-
purepod setattr --failover-preference ARRAY002 MYPOD001Set the failover preference for pod MYPOD001 on current array ARRAY01.MYPOD001 has arrays ARRAY01 and ARRAY02. If the arrays lose contact each other ARRY002 should get priority over ARRAY001 to reach the mediator first.Copied
-
-
pureport commands
The pureport command displays Flash Array Host Connection Ports in Pure Flash Storage Array7 Commands-
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.Copied
-
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.Copied
-
pureport list --initiator --raw --filter "initiator.wwn='1000000000000001'"Search for HBA WWN 1000000000000001 and on which FC port its been logged in to.Copied
-
pureport list --initiator --raw --filter "name='CT0.FC0'"Display all HBA WWNs logged to the FC port CT0.FC0Copied
-
pureport list --raw --filter "name='*ETH*'"Display all the iSCSI Ports with its IQNs in the Flash ArraysCopied
-
pureport list --raw --filter "name='*FC*'"Display all the Fibre Channel Ports with its WWNs in the Flash ArraysCopied
-
pureport list --raw --filter "name='CT0.FC*'"Display all the Fibre Channel Ports in Controller 0 with its WWNs in the Flash ArraysCopied
-
-
purevol commands
The purevol command displays and manage Virtual volumes and Snapshots in Pure Flash Storage Array43 Commands-
purevol connect MY_VOL_001 --hgroup MY-HOSTSConnect 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-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.Copied
-
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.Copied
-
purevol connect MY_VOL_001 MY_VOL_002 --host MY-SERVER-001Connect volumes MY_VOL_001 and MY_VOL_002 to host MY-SERVER-001Copied
-
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.Copied
-
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.Copied
-
purevol create --size 10G MY_VOLUME_001Create a Virtual volume called MY_VOLUME_001 of size 10GBCopied
-
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/sCopied
-
purevol create --size 10G MY_VOLUME_001 MY_VOLUME_002Create Virtual volumes MY_VOLUME_001 and MY_VOL_SIZE_002 of size 10GBCopied
-
purevol create --size 1G MYPOD001::MY_VOL_001Create 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_001Destroy 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_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.Copied
-
purevol discconnect MY_VOL_001 MY_VOL_002 --host MY-SERVER-001Disconnect volumes MY_VOL_001 and MY_VOL_002 from host MY-SERVER-001Copied
-
purevol disconnect MY_VOL_001 --hgroup MY-HOSTSDisconnect volume MY_VOL_001 from hostgroup MY-HOSTSCopied
-
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.Copied
-
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.Copied
-
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.Copied
-
purevol listList all the Virtual VolumeCopied
-
purevol list --filter "size='20T'"List all the volumes with 20TB sizeCopied
-
purevol list --pendingList all the Virtual Volumes including destroyed but pending for eradicationCopied
-
purevol list --pending-onlyList all the destroyed Virtual Volumes pending for eradicationCopied
-
purevol list --snapList all the snap shotsCopied
-
purevol list --sort "created-"List all the volumes sorted by create time in descending orderCopied
-
purevol list --sort "serial-"List all the volumes sorted by serial number descending orderCopied
-
purevol list --sort "size-"List all the volumes sorted by size in descending orderCopied
-
purevol list --sort createdList all the volumes sorted by create time in ascending orderCopied
-
purevol list --sort serialList all the volumes sorted by serial number ascending orderCopied
-
purevol list --sort sizeList all the volumes sorted by size in ascending orderCopied
-
purevol list --space --sort size,totalList 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_VOLCopied
-
purevol list MY_VOL_001List information about MY_VOL_001Copied
-
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 MYPOD001Move 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_001Recover virtual volume MY_VOL_001 which is destroyed earlier.Copied
-
purevol remove --array PFAX70-REMOTE --with-unknown MYPOD001Remove array PFAX70-REMOTE with status unknown from pod MYPOD001Copied
-
purevol rename MY_VOL_001 MY_VOL_002Rename virtual volume MY_VOL_001 to MY_VOL_002Copied
-
purevol setattr --bw-limit 1M MY_VOL_001Change the bandwidth limit of MY_VOL_001 to 1MB/sCopied
-
purevol setattr --bw-limit 1M MY_VOL_001 MY_VOL_002Change the bandwidth limit of MY_VOL_001 and MY_VOL_002 to 1MB/sCopied
-
purevol setattr --size 2G MY_VOL_001Increase 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_002Increase 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_001Create snap shot of MY_VOL_001. If it is first snap then MY_VOL_001.2 will be createdCopied
-
purevol snap MY_VOL_001 --suffix PRDCreate snap shot of MY_VOL_001 with PRD as a suffix. MY_VOL_001.PRD will be createdCopied
-
purevol truncate --size 1G MY_VOL_001Reduce the size of MY_VOL_001 to 1GB ( from current size of 8GB for example )Copied
-
-
pureadmin create testuser --api-tokenGenerate an API token for the user testuserCopied
-
pureadmin create testuser --api-token --timeout 2hCreate API Token for testuser valid for 2 hoursCopied
-
pureadmin create testuser --role storage_adminCreate user testuser with storage_admin role. Possible roles are readonly, ops_admin, storage_admin, array_adminCopied
-
pureadmin delete --api-tokenDelete API Token for current userCopied
-
pureadmin delete testuserDelete user testuser from Flash ArrayCopied
-
pureadmin delete testuser --api-tokenDelete API Token for user testuserCopied
-
pureadmin global disable --single-sign-onThis will disable single sign-on on the current array. Enabling single sign-on gives LDAP users the ability to navigate seamlessly from Pure1 Manage to the current array through a single login.Copied
-
pureadmin global enable --single-sign-onThis enables single sign-on on the current array. Enabling single sign-on gives LDAP users the ability to navigate seamlessly from Pure1 Manage to the current array through a single login.Copied
-
pureadmin global listList the global administration attributes like Lockout Duration, Maximum Login Attempts, Minimum Password Length, etc..Copied
-
pureadmin global setattr --lockout-duration 1mSet the lockout duration to 1 minute after maximum unsuccessful login attempts.Copied
-
pureadmin global setattr --max-login-attempts 3Set the maximum failed login attempts to 3 before the user get locked out.Copied
-
pureadmin global setattr --min-password-length 8Set the minimum length of characters required for all the local user account passwords to 8. Minimum length allowed is 1. This will not affect the existing user accounts, but all future password assignment must meet the new value.Copied
-
pureadmin listList all the users configured in the Flash ArrayCopied
-
pureadmin list --api-tokenList all the users with api tokens configuredCopied
-
pureadmin list --api-token --exposeList all the users with api tokens configured and expose the api token for the current user loggedin.Copied
-
pureadmin list --lockoutList all the user accounts that are currently lockoutCopied
-
pureadmin refresh --clearClears the permission cache for all the usersCopied
-
pureadmin refresh --clear testuserClears the permission cache for testuserCopied
-
pureadmin refresh testuserRefresh the permission cache for testuserCopied
-
pureadmin reset testuser --lockoutUnlock locked user testuserCopied
-
pureadmin setattr testuser --passwordChange the password for the user testuserCopied
-
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_adminCopied
-
purealert flag 121212Flag an alert with ID 121212. This will appear in the flagged alert list.Copied
-
purealert listList all the alerts generated in the Pure Flash ArrayCopied
-
purealert list --filter "issue='failure'"List all the alerts generated for failuresCopied
-
purealert list --filter "severity='critical'"List all the alerts with Critical severity.Copied
-
purealert list --filter "state='closed'"List all the closed alertsCopied
-
purealert list --filter "state='open'"List all the alerts in Open stateCopied
-
purealert list --flaggedList all the alerts that are flagged. By default all alerts are flagged. We can unflag command once those are resolved.Copied
-
purealert unflag 121212Unflag alert with ID 121212. This will not appear in the flagged alert list.Copied
-
purearray connect --management-address 10.0.0.1 --type async-replication --connection-keyConnects the local array to remote array 10.0.0.1 for asynchronous replication using the connection key. The Connection key will be prompted to enter.Copied
-
purearray connect --management-address 10.0.0.1 --type sync-replication --connection-keyConnects the local array to remote array 10.0.0.1 for synchronous replication using the connection key. The Connection key will be prompted to enter.Copied
-
purearray connect --management-address 10.0.0.1 --type sync-replication --replication-transport ip -- connection-keyConnects the local array to remote array 10.0.0.1 for synchronous replication via Ethernet transport using the connection key. The Connection key will be prompted to enter.Copied
-
purearray disable phonehomeDisable phonehome or dialhome feature of array.Copied
-
purearray disconnect 10.0.0.1Disconnects array 10.0.0.1 from the local array connected for remote replication.Copied
-
purearray enable phonehomeEnable phonehome or dialhome feature of array.Copied
-
purearray listDisplay the array name,serial number and firmware versionCopied
-
purearray list --connectDisplay remotely connected arrays for replicationCopied
-
purearray list --connect --pathDisplay arrays connected for remote replication along with connection pathsCopied
-
purearray list --connect --throttleDisplay the replication throttle limitCopied
-
purearray list --connection-keyDisplay the connection key that can be used to connect to the arrayCopied
-
purearray list --controllerList all the controllers connected to the Array. This will also display the model and status of each controllerCopied
-
purearray list --ntpserverList the NTP servers configuredCopied
-
purearray list --phonehomeDisplay the dial home configuration status of the ArrayCopied
-
purearray list --spaceDisplay the capacity and usage statistics information of the Array.Copied
-
purearray list --space --historical 30dDisplay the capacity and usage statistics information of the Array since last 30 daysCopied
-
purearray list --syslogserverList the syslog server names configured to push the logs in pure arrayCopied
-
purearray monitor --interval 4 --repeat 5Display the array-wide IO performance of a Flash Array in every 4 seconds for 5 times.Copied
-
purearray remoteassist --statuscheck the Remote Assist is active or inactiveCopied
-
purearray rename MYARRAY001Set the name of the array to MYARRAY001Copied
-
purearray setattr --ntpserver ''Remove all the NTP servers configured for pure arrayCopied
-
purearray setattr --ntpserver time.google.comSet the NTP serverCopied
-
purearray setattr --syslogserver ''Remove all the syslog server servers configured for pure arrayCopied
-
purearray setattr --syslogserver log.server.comset the syslog server for pure arrayCopied
-
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)Copied
-
pureaudit list --filter 'command="purepod" and subcommand="create"'List all the audit records for purepod create command executed in the arrayCopied
-
pureaudit list --filter 'command="purepod" and user="pureuser"'List all the audit records for purepod commands executed by pureuser in the arrayCopied
-
pureaudit list --filter 'command="purepod"'List all the audit records for purepod command executed in the arrayCopied
-
pureaudit list --filter 'user = "root"'Display the list of audit records for the root userCopied
-
pureaudit list --limit 10Display the first 10 rows of audit recordsCopied
-
pureaudit list --sort userDisplay the list of audit records sorted by the user field. By default the records are sorted by the time fieldCopied
-
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.Copied
-
pureconfig list --allDisplays all the commands required to reproduce the current FlashAarray configuration of hosts, host groups, pods, protection groups, volumes, volume groups, connections, file systems and directories, alert, network, policies, and support.Copied
-
pureconfig list --objectDisplays the object configuration of the FlashArray including hosts, host groups, pods, protection groups, volumes, volume groups, and connections, as well as file systems and directories if file services are enabled.Copied
-
pureconfig list --systemDisplays the system configuration of the flah array including network, policies, alert and supportCopied
-
puredns listDisplay the current DNS parameters configured in the array. This includes the domain suffixes and IP addresses of the name serversCopied
-
puredns setattr --domain ""Removes the domain suffix from Purity//FA DNS queriesCopied
-
puredns setattr --domain test.com --nameservers 192.168.0.10,192.168.2.11Add the IPv4 addresses of two DNS servers for Array to use to resolve hostnames to IP addresses, and the domain suffix test.com for DNS searches.Copied
-
puredns setattr --nameservers""Unassigns DNS server IP addresses from the DNS entry. This will stop making DNS entries.Copied
-
puredrive admitAdmit all drive modules that have been added or connected but not yet admitted to the array. Once successfully admitted, the status of the drive modules will change from unadmitted to healthy.Copied
-
puredrive listList all the flash drive modules in an Array. This will also display the capacity of each module.Copied
-
puredrive list --specList all the flash drive modules in an Array along with Protocol( SAS/NVME) informationCopied
-
puredrive list --totalList all the flash drive modules in an Array with the total capacity figureCopied
-
puredrive list CH0.BAY10Display information about flash drive BAY10 in CH0Copied
-
puredrive list CH0.BAY10 --packDisplay information about flash drive BAY10 in CH0 and all other drives in the same packCopied
-
purehgroup connect MY-HOSTS --vol MY_VOL_001Connect volume MY_VOLUME_001 to hostgroup MY-HOSTS. This will assign a lun id to the volume. The lun id will start from 254 and go down up to 1If all LUNs in the [1...254] range are taken, Purity//FA starts at LUN 255 and counts up to the maximum LUN 16383, assigning the first available LUN to the connection.Copied
-
purehgroup connect MY-HOSTS --vol MY_VOL_001 --lun 100Connect volume MY_VOLUME_001 to hostgroup MY-HOSTS and assign LUN id 100Copied
-
purehgroup create MY-HOSTSCreate a hostgroup called MY-HOSTSCopied
-
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 itCopied
-
purehgroup delete MY-HOSTSDelete empty hostgroup MY-HOSTS.Copied
-
purehgroup delete MY-HOSTS_1 MY-HOSTS-2Delete empty hostgroups MY-HOSTS-1 and MY-HOSTS-2Copied
-
purehgroup disconnect MY-HOSTS --vol MY_VOL_001Disconnect volume MY_VOLUME_001 from hostgroup MY-HOSTSCopied
-
purehgroup listList all the hostgroups a with member hostsCopied
-
purehgroup list --connectList all the hostgroups and connected volumesCopied
-
purehgroup list --connect MY-HOSTSList all the connected volumes for hostgroup MY-HOSTSCopied
-
purehgroup list --filter "host_list='MY-SERVER-001'"Display the Host Group where Host MY-SERVER-001 is a memberCopied
-
purehgroup list --spaceList all the hostgroups with the total capacity of volumes provisioned to each and the consumptionCopied
-
purehgroup rename MY-HOSTS YOUR-HOSTSRename hostgroup MY-HOSTS with YOUR-HOSTSCopied
-
purehgroup setattr MY-HOSTS --addhostlist MY-HOST-002,MY-HOST-003Add MY-HOST-002 and MY-HOST-003 to existing hostgroup MY-HOSTSCopied
-
purehgroup setattr MY-HOSTS --hostlist ""Remove all the hosts from hostgroup MY-HOSTSCopied
-
purehgroup setattr MY-HOSTS --hostlist ""Remove all the hosts from hostgroup MY-HOSTSCopied
-
purehgroup setattr MY-HOSTS --hostlist MY-HOST-002,MY-HOST-003Replace members of MY-HOSTS with new hosts MY-HOST-002 and MY-HOST-003Copied
-
purehgroup setattr MY-HOSTS --remhostlist MY-HOST-002,MY-HOST-003Remove MY-HOST-002 and MY-HOST-003 from hostgroup MY-HOSTSCopied
-
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.Copied
-
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.Copied
-
purehost connect MY-SERVER-001 MY-SERVER-002 --vol MY_VOL_001Connect volume MY_VOL_001 to hosts MY-SERVER-001 and MY-SERVER-002Copied
-
purehost create MY-SERVER-001Create a host object called MY-SERVER-001. HBA wwns can be added later using purehost setattr command.Copied
-
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 itCopied
-
purehost create MY-SERVER-001 MY-SERVER-002Create hosts MY-SERVER-001 and MY-HOST-002Copied
-
purehost delete MY-SERVER-001Delete host MY-SERVER-001Copied
-
purehost delete MY-SERVER-001 MY-SERVER-002Delete hosts MY-SERVER-001 MY-SERVER-002Copied
-
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.Copied
-
purehost disconnect MY-SERVER-001 MY-SERVER-002 --vol MY_VOL_001Disconnect volume MY_VOL_001 from hosts MY-SERVER-001 and MY-SERVER-002Copied
-
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.Copied
-
purehost list --allList all the hosts in a Flash Array along with its member initiators connected to volumes through target portsCopied
-
purehost list --connectList all the hosts in a Flash Array which have connected volumesCopied
-
purehost list --connect --privateList all the hosts with non shared volumes. Volumes are not assigned through hostgroup.Copied
-
purehost list --connect --sharedList all the hosts with shared volumes assigned through hostgroupCopied
-
purehost list --filter "wwn='1000000000000003'"Display the host with WWN 1000000000000003 as a memberCopied
-
purehost list --personalityDisplay the list hosts along with the personality set against each. The personality is define using the purehost setattr command.Copied
-
purehost list MY-SERVER*Display the details of all the Hosts those name start with MY-SERVERCopied
-
purehost list MY-SERVER-001Display the details of Host MY-SERVER-001Copied
-
purehost list MY-SERVER-001 --connectList all the volumes connected to Host MY-SERVER-001Copied
-
purehost list MY-SERVER-001 --personalityDisplay the personality of host MY-SERVER-001Copied
-
purehost rename MY-SERVER-001 YOUR-SERVER-001Rename host MY-SERVER-001 to YOUR-SERVER-001Copied
-
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.Copied
-
purehost setattr MY-SERVER-001 --personality esxiSet the personality of host MY-SERVER-001 to esxi. Some other values are aix, solaris etc..Copied
-
purehost setattr MY-SERVER-001 --remwwnlist 1000000000000003Remove HBA wwn 1000000000000003 from host MY-SERVER-001Copied
-
purehost setattr MY-SERVER-001 --wwnlist ""Remove all wwns from MY-HOST-001Copied
-
purehost setattr MY-SERVER-001 --wwnlist 1000000000000003Update the contents of an existing host with new wwn 1000000000000003Copied
-
purehw listList all the hardware components along with information like status, temperature, voltage etc.Copied
-
purehw list --specList all the hardware components along with information like Model name, Part number and serial numberCopied
-
purehw list --type bayList all the Drive modules in an ArrayCopied
-
purehw list --type bay --specList all the Drive modules in an Array along with part number and serial numberCopied
-
purehw list --type ctList all the Controller in an ArrayCopied
-
purehw list --type ethList all the Ethernet ports in an ArrayCopied
-
purehw list --type fcList all the FC ports in an Array with status and speed informationCopied
-
purehw list CT0 --specDisplay model, part number, and serial number of Controller 0Copied
-
purehw list CT0.FC0Display information about FC port 0 on controller 0. Port status and speed also be displayed.Copied
-
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.Copied
-
purepod clone MYPOD001 MYPOD002Clone pod MYPOD001 and create MYPOD002. MYPOD002 inherits the entire history and configuration of the MYPOD001 including its protection groups, PG snap shots and replication policies. volumes, volume snapshots etc. However Serial number(WWN) of the volumes will be different from the source POD volumes.Copied
-
purepod create MYPOD001Create a POD called MYPOD001Copied
-
purepod create MYPOD001 MYPOD002Create PODs named MYPOD001 and MYPOD002Copied
-
purepod demote MYPOD001Demote the pod MYPOD001Copied
-
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.Copied
-
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.Copied
-
purepod eradicate MYPOD001Completely delete or eradicate POD MYPOD001. The POD will not recover after this.Copied
-
purepod eradicate MYPOD001 MYPOD002Completely delete or eradicate PODs MYPOD001 MYPOD002. The PODs will not recover after this.Copied
-
purepod listList all the PODs in the Pure Flash array. This will shows the arrays in POD and status of each.Copied
-
purepod list --failover-preferenceList all the pods with its failover preferences. Failover preference determines which array within a stretched pod should give preference to stay online if the arrays ever lose contact with each other. If both arrays reach mediator, the failover preference determines which array get to be online. But if only one array reach to mediator, then that array will be online regardless of the preference.Copied
-
purepod list --footprintDisplay all the pods along with the maximum physical capacity that each will take on the arrayCopied
-
purepod list --mediatorList all the pods along with connectivity status from each array to the mediator.Copied
-
purepod list --on ARRAY02Display all the pods on the connected arry ARRAY02 and not stretched to the current array( ARRAY001)Copied
-
purepod list --pendingList all the PODs including destroyed, but not eradicatedCopied
-
purepod list --pending-onlyList only the PODs which are destroyed, but not eradicatedCopied
-
purepod list MYPOD001List the detail of POD MYPOD001Copied
-
purepod listobj --type array MYPOD001List all the arrays included in MYPOD001Copied
-
purepod listobj --type vol MYPOD001List all the volumes included in MYPOD001Copied
-
purepod recover MYPOD001Recover MYPOD001 which is destroyed earlier.Copied
-
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.Copied
-
purepod rename MYPOD001 YOURPOD001Change the name of POD from MYPOD001 to YOURPOD001Copied
-
purepod replica-link create PRDPOD001 --remote ARRAY002 --remote-pod DRPOD001Create a replica link between PRDPOD001 on current array(ARRY001) and DRPOD001 on remote array ARRAY002.Copied
-
purepod replica-link delete PRDPOD001 --remote-pod DRPOD001Delete the replica link between PRDPOD001 and remote pod DRPOD001Copied
-
purepod replica-link listList the replica links in the current arrayCopied
-
purepod replica-link monitor --replicationMonitor the data transfer speed on the replica links on the array. If the replication link is pause, the speed will show as 0Copied
-
purepod replica-link pause PRDPOD001 --remote ARRAY002 --remote-pod DRPOD001Pause the Active/DR replication by pausing the replica link connection between local and remote array. To continue the replication resume the replica linkCopied
-
purepod replica-link resume PRDPOD001 --remote ARRAY002 --remote-pod DRPOD001Resume the Active/DR replication by resuming the replica link connection between local and remote array. To continue the replication resume the replica linkCopied
-
purepod setattr --failover-preference ARRAY002 MYPOD001Set the failover preference for pod MYPOD001 on current array ARRAY01.MYPOD001 has arrays ARRAY01 and ARRAY02. If the arrays lose contact each other ARRY002 should get priority over ARRAY001 to reach the mediator first.Copied
-
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.Copied
-
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.Copied
-
pureport list --initiator --raw --filter "initiator.wwn='1000000000000001'"Search for HBA WWN 1000000000000001 and on which FC port its been logged in to.Copied
-
pureport list --initiator --raw --filter "name='CT0.FC0'"Display all HBA WWNs logged to the FC port CT0.FC0Copied
-
pureport list --raw --filter "name='*ETH*'"Display all the iSCSI Ports with its IQNs in the Flash ArraysCopied
-
pureport list --raw --filter "name='*FC*'"Display all the Fibre Channel Ports with its WWNs in the Flash ArraysCopied
-
pureport list --raw --filter "name='CT0.FC*'"Display all the Fibre Channel Ports in Controller 0 with its WWNs in the Flash ArraysCopied
-
purevol connect MY_VOL_001 --hgroup MY-HOSTSConnect 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-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.Copied
-
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.Copied
-
purevol connect MY_VOL_001 MY_VOL_002 --host MY-SERVER-001Connect volumes MY_VOL_001 and MY_VOL_002 to host MY-SERVER-001Copied
-
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.Copied
-
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.Copied
-
purevol create --size 10G MY_VOLUME_001Create a Virtual volume called MY_VOLUME_001 of size 10GBCopied
-
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/sCopied
-
purevol create --size 10G MY_VOLUME_001 MY_VOLUME_002Create Virtual volumes MY_VOLUME_001 and MY_VOL_SIZE_002 of size 10GBCopied
-
purevol create --size 1G MYPOD001::MY_VOL_001Create 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_001Destroy 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_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.Copied
-
purevol discconnect MY_VOL_001 MY_VOL_002 --host MY-SERVER-001Disconnect volumes MY_VOL_001 and MY_VOL_002 from host MY-SERVER-001Copied
-
purevol disconnect MY_VOL_001 --hgroup MY-HOSTSDisconnect volume MY_VOL_001 from hostgroup MY-HOSTSCopied
-
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.Copied
-
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.Copied
-
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.Copied
-
purevol listList all the Virtual VolumeCopied
-
purevol list --filter "size='20T'"List all the volumes with 20TB sizeCopied
-
purevol list --pendingList all the Virtual Volumes including destroyed but pending for eradicationCopied
-
purevol list --pending-onlyList all the destroyed Virtual Volumes pending for eradicationCopied
-
purevol list --snapList all the snap shotsCopied
-
purevol list --sort "created-"List all the volumes sorted by create time in descending orderCopied
-
purevol list --sort "serial-"List all the volumes sorted by serial number descending orderCopied
-
purevol list --sort "size-"List all the volumes sorted by size in descending orderCopied
-
purevol list --sort createdList all the volumes sorted by create time in ascending orderCopied
-
purevol list --sort serialList all the volumes sorted by serial number ascending orderCopied
-
purevol list --sort sizeList all the volumes sorted by size in ascending orderCopied
-
purevol list --space --sort size,totalList 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_VOLCopied
-
purevol list MY_VOL_001List information about MY_VOL_001Copied
-
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 MYPOD001Move 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_001Recover virtual volume MY_VOL_001 which is destroyed earlier.Copied
-
purevol remove --array PFAX70-REMOTE --with-unknown MYPOD001Remove array PFAX70-REMOTE with status unknown from pod MYPOD001Copied
-
purevol rename MY_VOL_001 MY_VOL_002Rename virtual volume MY_VOL_001 to MY_VOL_002Copied
-
purevol setattr --bw-limit 1M MY_VOL_001Change the bandwidth limit of MY_VOL_001 to 1MB/sCopied
-
purevol setattr --bw-limit 1M MY_VOL_001 MY_VOL_002Change the bandwidth limit of MY_VOL_001 and MY_VOL_002 to 1MB/sCopied
-
purevol setattr --size 2G MY_VOL_001Increase 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_002Increase 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_001Create snap shot of MY_VOL_001. If it is first snap then MY_VOL_001.2 will be createdCopied
-
purevol snap MY_VOL_001 --suffix PRDCreate snap shot of MY_VOL_001 with PRD as a suffix. MY_VOL_001.PRD will be createdCopied
-
purevol truncate --size 1G MY_VOL_001Reduce the size of MY_VOL_001 to 1GB ( from current size of 8GB for example )Copied
Most viewed articles
- Pure Storage CLI Question BankHow To guide for Pure Storage CLI comman ...
- Pure FlashArray ModelsA quick reference to all the Flash Array ...
- Pure Storage ProvisioningStorage Allocation procedure for a Pure ...