1NILFS-RESIZE(8)             System Manager's Manual            NILFS-RESIZE(8)
2
3
4

NAME

6       nilfs-resize - resize NILFS file system volume size
7

SYNOPSIS

9       nilfs-resize [options] device [size]
10

DESCRIPTION

12       The  nilfs-resize  program  will resize NILFS2 file systems.  It can be
13       used to enlarge or shrink a mounted  file  system  located  on  device.
14       This  feature is only available on the kernel supporting on-line resiz‐
15       ing.  Resizing for unmounted file systems are not supported at present.
16
17       The size parameter specifies the requested new size of the  filesystem.
18       The  size  of  the  filesystem may never be larger than the size of the
19       partition.  Optionally, the size parameter may be suffixed  by  one  of
20       the  following  units  designators: ´s´, ´K´, ´M´, ´G´, or ´T´, for 512
21       byte sectors, kilobytes, megabytes, gigabytes,  or  terabytes,  respec‐
22       tively.   If  size  parameter  is not specified, it will default to the
23       size of the partition.
24
25       This program does not manipulate the size of partitions.  If  you  wish
26       to  enlarge a filesystem, you must make sure you can expand the size of
27       the underlying partition first.  This can be  done  using  fdisk(8)  by
28       deleting  the  partition  and recreating it with a larger size or using
29       lvextend(8), if you are using the logical volume manager lvm(8)
30
31       If you wish to shrink a nilfs2 partition,  first  use  nilfs-resize  to
32       shrink the size of filesystem.  Then you may use fdisk(8) to shrink the
33       size of the partition.  When shrinking the size of the partition,  make
34       sure  you  do  not  make  it  smaller  than  the new size of the nilfs2
35       filesystem.
36
37       This command is valid only for mounted NILFS2 file  systems,  and  will
38       fail if the device has no active mounts.
39

OPTIONS

41       -y, --yes, --assume-yes
42              Assume Yes to all queries and do not prompt.
43
44       -h, --help
45              Display help message and exit.
46
47       -v, --verbose
48              Verbose mode.
49
50       -V, --version
51              Display version and exit.
52

AUTHOR

54       Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
55

AVAILABILITY

57       nilfs-resize  is  part of the nilfs-utils package and is available from
58       http://nilfs.sourceforge.net.
59

SEE ALSO

61       nilfs(8), nilfs-tune(8), fdisk(8), lvextend(8), lvm(8).
62
63
64
65nilfs-utils version 2.2            Apr 2014                    NILFS-RESIZE(8)
Impressum