RESIZE.SSDFS(8)

πŸ“¦ version 4.68, in nixos 26.05, nixpkgs unstable

πŸ’… 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-segments number β€” grows the volume by the specified number of segments πŸ“ˆ
  • -G, --grow-by-percentage percentage β€” 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, --label string β€” sets a volume label during the resize 🏷️
  • -n, --new_size size β€” specifies the new volume size in bytes 🎯
  • -r, --rollback β€” rolls back the volume resize operation (undoes the previous resize) ↩️
  • -s, --shrink-by-segments number β€” shrinks the volume by the specified number of segments πŸ“‰
  • -S, --shrink-by-percentage percentage β€” 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 (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