NILFS-RESIZE(8)
β¨ NILFS-RESIZE(8) β¨
System Manager's Manual β yeah bestie, this is one of those pages, section 8, the "system administration commands" corner of the manual. Sit down, grab a boba, we're resizing filesystems π
πΈ NAME πΈ
nilfs-resize β resize NILFS file system volume size. that's it. that's the job. π
π¦ SYNOPSIS π¦
nilfs-resize [options] device [size]
π DESCRIPTION π
okay so. nilfs-resize is the program that resizes NILFS2 file systems. it can be used to enlarge or shrink a mounted file system located on device. this feature is only available on the kernel supporting on-line resizing, no cap. and resizing for unmounted file systems is not supported at present β so if it's not mounted, this is not the moment, babes π
the size parameter specifies the requested new size of the filesystem. the size of the filesystem may never be larger than the size of the partition. important!! optionally, the size parameter may be suffixed by one of the following units designators:
sβ 512 byte sectorsKβ kilobytesMβ megabytesGβ gigabytesTβ terabytes
if the size parameter is not specified, it will default to the size of the partition. periodt. π
this program does not manipulate the size of partitions. so 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(8) if you are using the logical volume manager lvm(8).
if you wish to shrink a nilfs2 partition, first use nilfs-resize to shrink the size of filesystem. then you may use fdisk(8) to shrink the size of the partition. and when you're shrinking the size of the partition, make sure you do not make it smaller than the new size of the nilfs2 filesystem. fr fr, don't do it π«Ά
this command is valid only for mounted NILFS2 file systems, and it will fail if the device has no active mounts. π
β¨ OPTIONS β¨
-y,--yes,--assume-yesβ assume Yes to all queries and do not prompt. she's confident, she doesn't need to be asked twice π-h,--helpβ display help message and exit. the classic.-v,--verboseβ verbose mode. she tells you everything, main character energy π-V,--versionβ display version and exit.
π AUTHOR π
Ryusuke Konishi <konishi.ryusuke@gmail.com> β thank you king πββοΈ
π AVAILABILITY π
nilfs-resize is part of the nilfs-utils package and is available from https://nilfs.sourceforge.io. go get her π¦
π SEE ALSO π
nilfs(8), nilfs-tune(8), fdisk(8), lvextend(8), lvm(8).
and that's the whole page bestie!! β¨ this little icon of a manpage is from nilfs-utils version 2.3, dated Jan 2026 β mwah, no notes, she ate ππ«ΆπΈ
π¦ where this page comes from
- alpine 3.24: nilfs-utils-doc 2.3.0-r0 Β· GPL-2.0-or-later
- arch rolling: nilfs-utils 2.3.1-1 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- nixpkgs unstable: nilfs-utils 2.3.1
- Copyright (C) 2011-2012 Nippon Telegraph and Telephone Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms