Use the nzspupart command to display information about the SPU partitions on an IBM® Netezza® system including status information and the disks that support the partition.
nzspupart [-h|-rev] [-hc] subcmd [subcmd options]
Input | Description |
---|---|
nzspupart show [options] | Displays information about the specified partitions. If you do not specify any options, the command displays a list of all partition and their ID, type, status, size, percent that is used, and supporting disks. You can specify one or more options to show specific output. |
nzspupart regen [options] [-force] | Starts regeneration for SPU partitions. If you do not specify any options, the command searches for degraded partitions and starts regeneration processes to the available spare disks. Optionally, you can use the options -spu spuId, -part partId, and -dest diskHwId to specify source and target information for a specific regeneration. Include the -force option to start the regen without prompting you for a confirmation. The regen option is not supported on Netezza C1000appliances because the hardware controls regenerations. |
nzspupart listTypes | Displays a list of the valid hardware types that you can input for the nzspupart show -type spuPartitionType command. |
Option | Description |
---|---|
-u user | Specifies the database user name [NZ_USER]. |
-pw password | Specifies the user password [NZ_PASSWORD]. |
-host hostname | Specifies the host name or IP address of the Netezza system. |
-caCertFile path | Specifies the path name of the root CA certificate file on the client system. This argument is used by IBM Netezza clients who use peer authentication to verify the Netezza host system. The default value is NULL, which skips the peer authentication process. |
-securityLevel level | Specifies the security level that you want to
use for the session. The argument has four values:
|
-timeout seconds | Specifies the amount of time in seconds to wait for the command to complete before it exits with a timeout error. Default is 300. |
-id hwId | Displays information about the partitions that are supported by a disk with the specified hardware ID. |
-spa id | Displays information about the hardware components in the SPA with the specified ID. |
-detail | Displays more information about the partitions. |
-issues | Displays information about partitions that have issues. |
-type spuPartitionType | Displays information about specific types of partitions. The types include data, nzlocal, swap, and log. |
-regenStatus | Displays information about regenerations that are in progress. |
nzspupart
SPU Partition Id Partition Type Status Size (GiB) % Used Supporting Disks
---- ------------ -------------- ------- ---------- ------ -------------------------------
1255 0 Data Healthy 3725 0.00 1129,1151,1167
1255 1 Data Healthy 3725 0.00 1126,1148,1169
1255 2 Data Healthy 3725 0.00 1133,1150,1171
1255 3 Data Healthy 3725 0.00 1132,1145,1170
1255 4 Data Healthy 3725 0.00 1136,1137,1166
1255 5 Data Healthy 3725 0.00 1146,1149,1175
1255 6 Data Healthy 3725 0.00 1130,1153,1165
1255 7 Data Healthy 3725 0.00 1131,1155,1173
1255 8 Data Healthy 3725 0.00 1127,1152,1164
1255 100 NzLocal Healthy 11150 0.00 1134,1135,1147,1154,1168,1172,1174
1255 101 Swap Healthy 24 0.00 1134,1135,1147,1154,1168,1172,1174
1255 110 Log Healthy 1 0.00 1134,1135,1147,1154,1168,1172,1174
nzspupart listTypes
Description Type
----------- -------
Data data
NzLocal nzlocal
Swap swap
Log log
nzspupart regen
Are you sure you want to proceed (y|n)? [n] y
Info: Regen Configuration - Regen configured on SPA:1 Data slice 2
and 1
If there are no degraded partitions, the command outputs the message No degraded partitions. If the regen cannot proceed because there are no spare disks on the system, the command outputs the message No spares disks available.