BlockDev.DMThinPoolStats¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
fail |
r/w |
whether the pool fails all I/O |
|
needs_check |
r/w |
whether the metadata needs a check |
|
out_of_data_space |
r/w |
whether the pool ran out of data space |
|
read_only |
r/w |
whether the metadata may not be changed |
|
total_data_blocks |
r/w |
total number of data blocks |
|
total_metadata_blocks |
r/w |
total number of metadata blocks |
|
used_data_blocks |
r/w |
number of used data blocks |
|
used_metadata_blocks |
r/w |
number of used metadata blocks |
Methods¶
None
Details¶
- class BlockDev.DMThinPoolStats¶
The block sizes are not reported by the device mapper thin pool status, only the numbers of blocks. To get the space usage as a percentage divide the used blocks by the total blocks.