RESIZE.SSDFS(8)
π resize.ssdfs β the glow-up (or glow-DOWN) page for your SSDFS volume
okay bestie, welcome to resize.ssdfs(8) of the system administration commands π this is the little utility that changes how much space your SSDFS file system is eating β growing it or shrinking it β and it does it without yeeting your data (data integrity preserved, periodt β¨).
β¨ NAME β¨
resize.ssdfs β literally the tool that resizes the volume of an SSDFS file system π¦
πΈ SYNOPSIS πΈ
resize.ssdfs [options] device|image-file
so it's you, some options if you feel spicy, and then either a device or an image-file. no cap, that's the whole vibe π
π DESCRIPTION π
resize.ssdfs resizes the SSDFS file system volume by growing or shrinking the available space. it can expand or reduce the file system size while keeping data integrity intact β she's careful like that π«Ά. and there's a whole menu of resize methods, including segment-based operations and percentage-based operations, so you can resize your way π¦.
β¨ OPTIONS β¨
-b,--make-snapshotβ makes a volume snapshot before the resize operation, because safety first bestie π-c,--check-by-fsckβ runs a check on the volume with fsck after the resize, to verify consistency β¨-d,--debugβ shows debug output (for when you want to see everything, iykyk π)-g,--grow-by-segmentsnumber β grows the volume by the specified number of segments π-G,--grow-by-percentagepercentage β grows the volume by a percentage value π-f,--forceβ forces the file system volume resize (skips some safety checks) β οΈ-h,--helpβ displays the help message and exits, iconic π«Ά-L,--labelstring β sets a volume label during the resize π·οΈ-n,--new_sizesize β specifies the new volume size in bytes π―-r,--rollbackβ rolls back the volume resize operation (undoes the previous resize) β©οΈ-s,--shrink-by-segmentsnumber β shrinks the volume by the specified number of segments π-S,--shrink-by-percentagepercentage β shrinks the volume by a percentage value π-V,--versionβ prints the version and exits β
π OPERATION MODES π
resize.ssdfs supports several resize methods, bestie β pick your fighter:
Grow Operations π±
Expands the file system size using segments (-g), percentage (-G), or absolute size (-n). glow-up szn π
Shrink Operations π
Reduces the file system size using segments (-s), percentage (-S), or absolute size (-n). a lil glow-down, but make it controlled β¨
Rollback Operation β©οΈ
Undoes the previous resize operation (-r). the "nvm, take it back" button π«Ά
π‘οΈ SAFETY FEATURES π‘οΈ
Snapshot Creation πΈ
Use -b to create a snapshot before the resize, for data protection. protect her at all costs π
Post-resize Check β
Use -c to automatically run fsck after the resize, so you can verify file system consistency. vibe check for your filesystem π
Force Override π
Use -f to bypass some safety checks β use with caution, fr fr, this one is not a joke π
π₯ EXIT STATUS π₯
resize.ssdfs exits with status 0 on success, or with non-zero status on error. that's it, that's the rule π―
β EXAMPLES β
Grow the volume by 100 segments, with a snapshot:
# resize.ssdfs -b -g 100 /dev/sdb1
Shrink the volume by 20%, with a post-check:
# resize.ssdfs -c -S 20 /dev/sdb1
Resize to a specific size (1GB):
# resize.ssdfs -n 1073741824 /dev/sdb1
Roll back the previous resize operation:
# resize.ssdfs -r /dev/sdb1
Safe resize with all the protections on:
# resize.ssdfs -b -c -g 50 /dev/sdb1
π NOTES π
resize.ssdfs requires the file system to be unmounted before resize operations. and always back up important data before resizing β no cap, do it π.
Growing operations are generally safer than shrinking operations. when shrinking, make sure you've got sufficient free space, otherwise you're risking data loss π. so check twice, shrink once π.
Segment-based operations align with file system boundaries and are typically more efficient than percentage-based operations. lowkey the superior option, ngl β¨.
π¦ SEE ALSO π¦
mkfs.ssdfs(8), fsck.ssdfs(8), tune.ssdfs(8), snapshotfs.ssdfs(8) β the whole friend group, go say hi π«Ά
π AUTHORS π
Viacheslav Dubeyko <slava@dubeyko.com> β the icon behind all this π
πΈ COPYRIGHT πΈ
Copyright (c) 2023-2026 Viacheslav Dubeyko
SPDX-License-Identifier: BSD-3-Clause-Clear
and that's the page, bestie π this was ssdfs-utils, dated 2025-08-30 β go resize something responsibly, ily, bye π
β¨
π¦ where this page comes from
- nixos 26.05: ssdfs-utils 4.68
- nixpkgs unstable: ssdfs-utils 4.68
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms