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 sectors
  • K β€” kilobytes
  • M β€” megabytes
  • G β€” gigabytes
  • T β€” 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