FSFREEZE(8)

๐Ÿ’– fsfreeze โ€” bestie edition (section 8, system admin girlies rise) ๐Ÿ’–

okay so. fsfreeze is a lil command from the fsfreeze(8) manual, and she's here to do ONE thing and do it gorgeously: put your filesystem on pause. like, full โœจfreezeโœจ mode. let's get into it ๐ŸงŠ


โœจ NAME โœจ

fsfreeze โ€” suspend access to a filesystem (Ext3/4, ReiserFS, JFS, XFS)


๐ŸŒธ SYNOPSIS ๐ŸŒธ

fsfreeze --freeze|--unfreeze mountpoint

like that's it. that's the whole vibe. pick freeze or unfreeze, point her at a mountpoint, slay ๐Ÿ’…


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

So fsfreeze suspends or resumes access to a filesystem. That's the whole personality.

What "freeze" actually means: it halts any new access to the filesystem and creates a stable image on disk. And why would you want that?? Because fsfreeze is intended to be used with hardware RAID devices that support the creation of snapshots. you want the snapshot to be of a nice calm frozen filesystem, not a chaotic one mid-write. it's giving โœจstabilityโœจ.

ngl though, if you're on device-mapper devices, you can literally skip all this. fsfreeze is unnecessary for device-mapper devices โ€” because device-mapper (and LVM) automatically freezes a filesystem on the device when a snapshot creation is requested. it just does it for you, no cap. more deets live in the dmsetup(8) man page.

Now, the mountpoint argument? that's the pathname of the directory where the filesystem is mounted. And important: the filesystem must be mounted to be frozen (go check mount(8) if you need a refresher bestie).

Also a lil heads up ๐Ÿ™ˆ: access-time updates are also suspended if the filesystem is mounted with the traditional atime behavior โ€” that's the mount option strictatime, more info in mount(8).


๐Ÿ’… OPTIONS ๐Ÿ’…

  • -f, --freeze โ€” this one requests the specified filesystem to be frozen from new modifications. When you pick this, here's the whole tea: all ongoing transactions in the filesystem are allowed to complete, new write(2) system calls are halted, other calls which modify the filesystem are halted, and all dirty data, metadata, and log information are written to disk. And any process tryna write to the frozen filesystem? it will block, waiting for the filesystem to be unfrozen. it's just sitting there. patiently. like a bestie waiting outside the fitting room ๐Ÿซถ

also note (this one's a lil sneaky): even after freezing, the on-disk filesystem can contain information on files that are still in the process of unlinking. Those files will not be unlinked until the filesystem is unfrozen or a clean mount of the snapshot is complete. so like, they're ghost files, they're haunting, they're fine, don't worry about it ๐Ÿ’€

  • -u, --unfreeze โ€” the un-freeze. used to un-freeze the filesystem and allow operations to continue. Any filesystem modifications that got blocked by the freeze are unblocked and allowed to complete. everyone's free, go off, do your writes โœจ
  • -h, --help โ€” display help text and exit. classic. iconic. she's helpful.
  • -V, --version โ€” display version and exit. also iconic.

๐ŸŒˆ FILESYSTEM SUPPORT ๐ŸŒˆ

this command will work only if the filesystem supports freezing. As of 2016-12-18, the list includes: btrfs, ext2/3/4, f2fs, jfs, nilfs2, reiserfs, and xfs.

That list may be incomplete tho, since more filesystems keep getting support (they're evolving, main character energy fr).

If you're in doubt, the easiest way to know if a filesystem has support is to create a small loopback mount and test freezing it. little test drive. very demure, very mindful ๐ŸŽ€


๐Ÿ“ NOTES ๐Ÿ“

This man page is based on xfs_freeze(8). giving credit where credit is due ๐Ÿ’œ


๐Ÿ‘‘ AUTHORS ๐Ÿ‘‘

Written by Hajime Taira. legend behavior.


๐Ÿ”— SEE ALSO ๐Ÿ”—

mount(8)


๐Ÿ› REPORTING BUGS ๐Ÿ›

Found a bug? not the vibe but also pls tell someone. For bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues>.


โญ AVAILABILITY โญ

The fsfreeze command is part of the util-linux package, which you can download from the Linux Kernel Archive at <https://www.kernel.org/pub/linux/utils/util-linux/>. go get her ๐Ÿฆ‹


๐Ÿ’€ reminder bestie: fsfreeze without a mounted filesystem is a no. and freeze without unfreeze is just a filesystem in timeout. be kind, unfreeze her.

okay that's the whole page, mwah ๐Ÿ˜˜ this was util-linux 2.42.4, dated 2026-09-21, and that's the FSFREEZE(8) vibe check, passed with flying colors ๐Ÿ’–โœจ๐Ÿงš

๐Ÿ“ฆ where this page comes from
  • arch rolling: util-linux 2.42.4-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ISC AND LGPL-2.1-or-later AND LicenseRef-PublicDomain
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms