BlockDev.DMThinPoolStats

Fields

Name

Type

Access

Description

fail

bool

r/w

whether the pool fails all I/O

needs_check

bool

r/w

whether the metadata needs a check

out_of_data_space

bool

r/w

whether the pool ran out of data space

read_only

bool

r/w

whether the metadata may not be changed

total_data_blocks

int

r/w

total number of data blocks

total_metadata_blocks

int

r/w

total number of metadata blocks

used_data_blocks

int

r/w

number of used data blocks

used_metadata_blocks

int

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.