{
    "mode": "man",
    "parameter": "xfs_freeze",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/xfs_freeze/8/json",
    "generated": "2026-05-30T08:17:17Z",
    "synopsis": "xfsfreeze [ -f | -u ] mount-point\nxfsfreeze -V",
    "sections": {
        "NAME": {
            "content": "xfsfreeze - suspend access to an XFS filesystem\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "xfsfreeze [ -f | -u ] mount-point\nxfsfreeze -V\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "xfsfreeze suspends and resumes access to an XFS filesystem (see xfs(5)).\n\nxfsfreeze halts new access to the filesystem and creates a stable image on disk.  xfsfreeze\nis intended to be used with volume managers and hardware RAID devices that support  the  cre‐\nation of snapshots.\n\nThe  mount-point  argument  is the pathname of the directory where the filesystem is mounted.\nThe filesystem must be mounted to be frozen (see mount(8)).\n\nThe -f flag requests the specified XFS filesystem to be frozen from new modifications.   When\nthis  is  selected,  all  ongoing transactions in the filesystem are allowed to complete, new\nwrite system calls are halted, other calls which modify the filesystem are  halted,  and  all\ndirty  data,  metadata,  and  log information are written to disk.  Any process attempting to\nwrite to the frozen filesystem will block waiting for the filesystem to be unfrozen.\n\nNote that even after freezing, the on-disk filesystem can contain information on  files  that\nare still in the process of unlinking.  These files will not be unlinked until the filesystem\nis unfrozen or a clean mount of the snapshot is complete.\n\nThe -u flag is used to un-freeze the  filesystem  and  allow  operations  to  continue.   Any\nfilesystem  modifications  that  were blocked by the freeze are unblocked and allowed to com‐\nplete.\n\nThe -V flag prints the version number and exits.\n\nUnless -V is specified, one of -f or -u must be supplied to xfsfreeze.\n",
            "subsections": []
        },
        "NOTES": {
            "content": "A copy of a frozen XFS filesystem will usually have the same  universally  unique  identifier\n(UUID)  as  the original, and thus may be prevented from being mounted.  The XFS nouuid mount\noption can be used to circumvent this issue.\n\nIn Linux kernel version 2.6.29, the interface which XFS uses to freeze and unfreeze was  ele‐\nvated to the VFS, so that this tool can now be used on many other Linux filesystems.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "xfs(5), lvm(8), mount(8).\n\n\n\nxfsfreeze(8)",
            "subsections": []
        }
    },
    "summary": "xfsfreeze - suspend access to an XFS filesystem",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "xfs",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/xfs/5/json"
        },
        {
            "name": "lvm",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/lvm/8/json"
        },
        {
            "name": "mount",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/mount/8/json"
        },
        {
            "name": "xfsfreeze",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/xfsfreeze/8/json"
        }
    ]
}