lsquota
Use the lsquota command to list all quotas or specified quotas that are on a Storwize V7000 Unified storage system. You can also list quotas by file system.
Syntax
Parameters and arguments
- -user user_name
- Specifies an IBM Spectrum Control user ID.
- -pwd password
- Specifies the password for the IBM Spectrum Control user ID.
- -url url
- Specifies the Device server. The format of the URL is system:port_number, where system represents either the host name or IP address, and port_number represents the IBM Spectrum Control Device server port.
- -dev dev_id | -filesystem file_system_id... | -quota quota_id...
- The -dev parameter specifies that information is displayed for all quotas that are associated with a storage system. This parameter requires the globally unique identifier (GUID) of the storage system. You can use the lsdev command to return information, including the GUID, for all storage systems that were discovered.
- -l
- Specifies that the following information is listed.
- ID
- The identifier for the quota.
- Name
- The name of the user, group, or fileset that the quota is associated with.
- File System
- The file system that the quota is associated with.
- Type
- The type of quota can be one of the following values: user, file set, or group.
- SL Usage (GB)
- The soft limit for storage space usage.
- HL Usage (GB)
- The hard limit for storage space usage.
- Used Space (GB)
- The amount of used storage space.
- SL I-Nodes
- The soft limit for inode usage.
- HL I-Nodes
- The hard limit for inode usage.
- Used I-Nodes
- The number of used inodes.
- Gracetime Usage (sec.)
- The time frame in which storage space usage must be brought below the quota.
- Gracetime I-Nodes (sec.)
- The time frame in which inode usage must be brought below the quota.
- In Doubt (KB)
- The amount of data for which the quota was not updated.
- -fs character
- Specifies the 7-bit character that separates the information in the output. If you omit this parameter, the information is separated by blank spaces.
- -header
- Suppresses the column headings in the output. If you omit this parameter, the column headings are included.
- -help | -h | -?
- Lists help information for the command.
- -qs character
- Specifies the 7-bit character that surrounds character strings and date stamps in the output. If you omit this parameter, character strings and date stamps are enclosed by double quotation marks (").
- -silent
- Suppresses all output for the command. If you omit this parameter, output is included.
- -grouping
- Enables the grouping of numeric values. For example, in English, the value 12000 displays as 12,000. The grouping character is determined by the system locale.
Example: Displaying a list of all quotas that are on a storage system.
The following command generates a list
of all quotas on a Storwize V7000 Unified storage
system:
tpctool> lsquota -dev 00000200A0E0005C+0 -l
The following output is returned:
ID Name
==============================================================
4572_U_10000000+00000200A0E0005C+0 10000000
4572_F_Adrian+00000200A0E0005C+0 Adrian
4578_U_SRM\administrator+00000200A0E0005C+0 SRM\administrator
4574_U_SRM\administrator+00000200A0E0005C+0 SRM\administrator
4572_U_SRM\administrator+00000200A0E0005C+0 SRM\administrator
File System Type SL Usage (GB) HL Usage (GB) Used Space (GB)
===============================================================
gpfs0 user 0 0 0
gpfs0 fileset 0 0 0
testadd user 0 0 0
gpfs1 user 0 0 0.02
gpfs0 user 0 0 579654.05
SL I-Nodes HL I-Nodes Used I-Nodes
==================================
0 0 1
0 0 1
512 512 0
0 0 4
0 0 533268
Gracetime Usage (sec.) Gracetime I-Nodes (sec.) In Doubt
========================================================
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0