lssu (1) - Linux Manuals

lssu: list usage state of NILFS2 segments

NAME

lssu - list usage state of NILFS2 segments

SYNOPSIS

lssu [options] [device]

DESCRIPTION

lssu is a utility for displaying usage state of NILFS2 segments in device, where a segment is contiguous lump of disk blocks and an allocation unit of NILFS2 disk space. When device is omitted, /proc/mounts is examined to find a NILFS2 file system.

This command will fail if the device has no active mounts of a NILFS2 file system.

OPTIONS

-a
Do not hide clean segments.
-i index
Skip index segments at start of input.
-n lines
List only lines input segments.
-h
Display help message and exit.

FIELD DESCRIPTION

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.

AUTHOR

Koji Sato <koji [at] osrg.net>

AVAILABILITY

lssu is part of the nilfs-utils package and is available from http://www.nilfs.org.

SEE ALSO

nilfs(8), dumpseg(8).