Show Table of Contents
29.8. Statistics Files in /sys
Statistics for a running VDO volume may be read from files in the
/sys/kvdo/volume_name/statistics directory, where volume_name is the name of thhe VDO volume. This provides an alternate interface to the data produced by the vdostats utility suitable for access by shell scripts and management software.
There are files in the
statistics directory in addition to the ones listed in the table below. These additional statistics files are not guaranteed to be supported in future releases.
Table 29.10. Statistics files
| File | Description |
|---|---|
dataBlocksUsed | The number of physical blocks currently in use by a VDO volume to store data. |
logicalBlocksUsed | The number of logical blocks currently mapped. |
physicalBlocks | The total number of physical blocks allocated for a VDO volume. |
logicalBlocks | The maximum number of logical blocks that can be mapped by a VDO volume. |
mode | Indicates whether a VDO volume is operating normally, is in recovery mode, or is in read-only mode. |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.