{"id":2849,"date":"2022-12-20T15:17:29","date_gmt":"2022-12-20T18:17:29","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/e2mmpstatus-man8\/"},"modified":"2022-12-20T15:17:29","modified_gmt":"2022-12-20T18:17:29","slug":"e2mmpstatus-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/e2mmpstatus-man8\/","title":{"rendered":"E2MMPSTATUS (man8)"},"content":{"rendered":"<h1 align=\"center\">E2MMPSTATUS<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#EXIT CODE\">EXIT CODE<\/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\">e2mmpstatus \u2212 Check MMP status of an ext4 filesystem<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>e2mmpstatus<\/b> [<b>\u2212i<\/b>] <<i>filesystem<\/i>><\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><b>\u2212i<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">prints out the MMP information rather than check it.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>e2mmpstatus<\/b> is used to check Multiple-Mount Protection (MMP) status of an ext4 filesystem with the <b>mmp<\/b> feature enabled. The specified <i>filesystem<\/i> can be a device name (e.g. <i>\/dev\/hdc1<\/i>, <i>\/dev\/sdb2<\/i>), or an ext4 filesystem label or UUID, for example <b>UUID=8868abf6-88c5-4a83-98b8-bfc24057f7bd<\/b> or <b>LABEL=root<\/b>. By default, the <b>e2mmpstatus<\/b> program checks whether it is safe to mount the filesystem without taking the risk of mounting it more than once.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">MMP (multiple-mount protection) is a feature that adds protection against the filesystem being modified simultaneously by more than one node. It is NOT safe to mount a filesystem when one of the following conditions is true: <br \/> 1. e2fsck is running on the filesystem. <br \/> 2. the filesystem is in use by another node. <br \/> 3. The MMP block is corrupted or cannot be read for some reason. <br \/> The <b>e2mmpstatus<\/b> program might wait for some time to see whether the MMP block is being updated by any node during this period. The time taken depends on how frequently the MMP block is being written by the other node.<\/p>\n<h2>EXIT CODE <a name=\"EXIT CODE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The exit code returned by <b>e2mmpstatus<\/b> is 0 when it is safe to mount the filesystem, 1 when the MMP block shows the filesystem is in use on another node and it is NOT safe to mount the filesystem, and 2 if some other failure occurred that prevents the check from properly detecting the current MMP status.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>dumpe2fs<\/b>(8), <b>e2fsck<\/b>(8), <b>fstab<\/b>(5), <b>fsck<\/b>(8),<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  e2mmpstatus \u2212 Check MMP status of an ext4 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,199,4],"class_list":["post-2849","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-e2mmpstatus","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2849","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=2849"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2849\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=2849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=2849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=2849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}