Viewing I/O Statistics for ZFS Storage Pools
To request I/O statistics for a pool or specific virtual devices, use the zpool iostat
command. Similar to the iostat
command, this command can display a static snapshot of all I/O activity, as well as updated statistics for every specified interval. The following statistics are reported:
-
alloc capacity
-
The amount of data currently stored in the pool or device. This amount differs from the amount of disk space available to actual file systems by a small margin due to internal implementation details.
-
free capacity
-
The amount of disk space available in the pool or device. Like the
used
statistic, this amount differs from the amount of disk space available to datasets by a small margin. -
read operations
-
The number of read I/O operations sent to the pool or device, including metadata requests.
-
write operations
-
The number of write I/O operations sent to the pool or device.
-
read bandwidth
-
The bandwidth of all read operations (including metadata), expressed as units per second.
-
write bandwidth
-
The bandwidth of all write operations, expressed as units per second.