LSSU(1)

NAME
lssu - list usage state of NILFS2 segments

SYNOPSIS
lssu [options] [device]

DESCRIPTION
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.

OPTIONS

-a  Do not hide clean 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@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).