Reference

resize.f2fs(8)

resize filesystem size

NAME

resize.f2fs - resize filesystem size

SYNOPSIS

resize.f2fs [ -t target sectors ] [ -d debugging-level ] [ -o overprovision-ratio-percentage ] [ -f ] [ -F ] [ -g specific environment ] [ -H ] [ -s ] [ -V ] device

DESCRIPTION

resize.f2fs is used to resize an f2fs file system (usually in a disk partition). device is the special file corresponding to the device (e.g. /dev/sdXX).

Current version only supports expanding the prebuilt filesystem.

The exit code returned by resize.f2fs is 0 on success and -1 on failure.

OPTIONS

-t target sectors

Specify the size in sectors.

-d debug-level

Specify the level of debugging options. The default number is 0, which shows basic debugging messages.

-o overprovision-ratio-percentage

Specify the percentage of the volume that will be used as overprovision area. This area is hidden to users, and utilized by F2FS cleaner. If not specified, the best number will be assigned automatically according to the partition size.

-f

Force to fix any inconsistent data during resize.

-F

Skip caution dialogue and resize partition directly.

-g

Set default options for specific environment

-H

Specify support write hint.

-s

Enable safe resize, it can only be used w/ shrink resize.

-V

Print the version number and exit.

This version of

AUTHOR

resize.f2fs has been written by Jaegeuk Kim <[email protected]>.

AVAILABILITY

resize.f2fs is available from git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git.

SEE ALSO

mkfs.f2fs(8), fsck.f2fs(8), dump.f2fs(8), defrag.f2fs(8), sload.f2fs(8).

History

-F since Arch Linux 2026-11-01; -H since Arch Linux 2026-11-01; -V since Debian 13 (Trixie); -f since Arch Linux 2026-11-01; -g since Arch Linux 2026-11-01; -s since Debian 13 (Trixie).

-i until Debian 13 (Trixie).