{"id":3245,"date":"2022-12-20T16:43:56","date_gmt":"2022-12-20T19:43:56","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/xfs_freeze-man8\/"},"modified":"2022-12-20T16:43:56","modified_gmt":"2022-12-20T19:43:56","slug":"xfs_freeze-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/xfs_freeze-man8\/","title":{"rendered":"xfs_freeze (man8)"},"content":{"rendered":"<h1 align=\"center\">xfs_freeze<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">xfs_freeze \u2212 suspend access to an XFS filesystem<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>xfs_freeze<\/b> [ <b>\u2212f<\/b> | <b>\u2212u<\/b> ] <i>mount-point<\/i> <b><br \/> xfs_freeze \u2212V<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>xfs_freeze<\/b> suspends and resumes access to an XFS filesystem (see <b>xfs<\/b>(5)).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>xfs_freeze<\/b> halts new access to the filesystem and creates a stable image on disk. <b>xfs_freeze<\/b> is intended to be used with volume managers and hardware RAID devices that support the creation of snapshots.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <i>mount-point<\/i> argument is the pathname of the directory where the filesystem is mounted. The filesystem must be mounted to be frozen (see <b>mount<\/b>(8)).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>\u2212f<\/b> flag requests the specified XFS filesystem to be frozen from new modifications. When this is selected, all ongoing transactions in the filesystem are allowed to complete, new write system calls are halted, other calls which modify the filesystem are halted, and all dirty data, metadata, and log information are written to disk. Any process attempting to write to the frozen filesystem will block waiting for the filesystem to be unfrozen.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Note that even after freezing, the on-disk filesystem can contain information on files that are still in the process of unlinking. These files will not be unlinked until the filesystem is unfrozen or a clean mount of the snapshot is complete.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>\u2212u<\/b> flag is used to un-freeze the filesystem and allow operations to continue. Any filesystem modifications that were blocked by the freeze are unblocked and allowed to complete.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>\u2212V<\/b> flag prints the version number and exits.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Unless <b>\u2212V<\/b> is specified, one of <b>\u2212f<\/b> or <b>\u2212u<\/b> must be supplied to <b>xfs_freeze<\/b>.<\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">A copy of a frozen XFS filesystem will usually have the same universally unique identifier (UUID) as the original, and thus may be prevented from being mounted. The XFS <b>nouuid<\/b> mount option can be used to circumvent this issue.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">In Linux kernel version 2.6.29, the interface which XFS uses to freeze and unfreeze was elevated to the VFS, so that this tool can now be used on many other Linux filesystems.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>xfs<\/b>(5), <b>lvm<\/b>(8), <b>mount<\/b>(8).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  xfs_freeze \u2212 suspend access to an XFS filesystem <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,382],"class_list":["post-3245","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-xfs_freeze"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3245"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3245\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}