lssu − list usage state of NILFS2 segments
lssu [options] [device]
lssu is a utility for displaying the usage state of NILFS2 segments in device, where a segment is contiguous lump of disk blocks and is the allocation unit of NILFS2 disk space. When device is omitted, it tries to find a NILFS2 file system from /proc/mounts.
This command is valid only for mounted NILFS2 file systems, and will fail if the device has no active mounts.
−a |
Do not hide clean segments. |
|||
−h |
Display help message and exit. |
Every line of the lssu output consists of the following fields:
SEGNUM |
Segment number. |
||
DATE |
Creation date. |
||
TIME |
Creation time. |
||
STAT |
State of the segment. It consists of three flags whose meaning is shown below: |
a
The segment is active, meaning that it is recently created and cannot be reclaimed by the garbage collector. |
|||
d |
The segment is dirty, meaning that it is in use. |
||
e |
The segment is erroneous, meaning that it has once caused an I/O error. NILFS2 avoids allocating the segments with this flag. |
NBLOCKS
Number of in-use blocks of the segment.
Koji Sato <koji AT osrg DOT net>
lssu is part of the nilfs-utils package and is available from http://www.nilfs.org.