nilfs-resize - resize NILFS file system volume size
program will resize NILFS2 file systems. It can be used
to enlarge or shrink a mounted file system located on device
feature is only available on the kernel supporting on-line resizing. Resizing
for unmounted file systems are not supported at present.
parameter specifies the requested new size of the filesystem.
of the filesystem may never be larger than the size of the
partition. Optionally, the size
parameter may be suffixed by one of the
following units designators: ´s´, ´K´,
´M´, ´G´, or ´T´, for 512 byte
sectors, kilobytes, megabytes, gigabytes, or terabytes, respectively. If
parameter is not specified, it will default to the size of the
This program does not manipulate the size of partitions. If you wish to enlarge
a filesystem, you must make sure you can expand the size of the underlying
partition first. This can be done using fdisk
(8) by deleting the
partition and recreating it with a larger size or using lvextend
you are using the logical volume manager lvm
If you wish to shrink a nilfs2 partition, first use nilfs-resize
shrink the size of filesystem. Then you may use fdisk
(8) to shrink the
size of the partition. When shrinking the size of the partition, make sure you
do not make it smaller than the new size of the nilfs2 filesystem.
This command is valid only for mounted NILFS2 file systems, and will fail if the
has no active mounts.
- -y, --yes, --assume-yes
- Assume Yes to all queries and do not prompt.
- -h, --help
- Display help message and exit.
- -v, --verbose
- Verbose mode.
- -V, --version
- Display version and exit.
Ryusuke Konishi <email@example.com>
is part of the nilfs-utils package and is available from