1LSSU(1)                     General Commands Manual                    LSSU(1)
2
3
4

NAME

6       lssu - list usage state of NILFS2 segments
7

SYNOPSIS

9       lssu [options] [device]
10

DESCRIPTION

12       lssu  is  a  utility  for  displaying usage state of NILFS2 segments in
13       device, where a segment is contiguous lump of disk blocks and an  allo‐
14       cation unit of NILFS2 disk space.  When device is omitted, /proc/mounts
15       is examined to find a NILFS2 file system.
16
17       This command will fail if the device has no active mounts of  a  NILFS2
18       file system.
19

OPTIONS

21       -a     Do not hide clean segments.
22
23       -i index
24              Skip index segments at start of input.
25
26       -n lines
27              List only lines input segments.
28
29       -h     Display help message and exit.
30

FIELD DESCRIPTION

32       Every line of the lssu output consists of the following fields:
33
34       SEGNUM Segment number.
35
36       DATE   Creation date.
37
38       TIME   Creation time.
39
40       STAT   State  of the segment.  It consists of three flags whose meaning
41              is shown below:
42
43              a      The segment is active, meaning that it is  recently  cre‐
44                     ated and cannot be reclaimed by the garbage collector.
45
46              d      The segment is dirty, meaning that it is in use.
47
48              e      The segment is erroneous, meaning that it has once caused
49                     an I/O error.  NILFS2 avoids allocating the segments with
50                     this flag.
51
52       NBLOCKS
53              Number of in-use blocks of the segment.
54

AUTHOR

56       Koji Sato <koji@osrg.net>
57

AVAILABILITY

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

SEE ALSO

63       nilfs(8), dumpseg(8).
64
65
66
67nilfs-utils version 2.0            May 2008                            LSSU(1)
Impressum