from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209587

userrating:


May 25th. 2007:
Words

486

Views

258592

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149883

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





E2MMPSTATUS

Section: Maintenance Commands (8)
Updated: March 2025
Index Return to Main Contents
 

NAME

e2mmpstatus - Check MMP status of an ext4 file system  

SYNOPSIS

e2mmpstatus [-i] <filesystem>  

OPTIONS

-i
prints out the MMP information rather than check it.
 

DESCRIPTION

e2mmpstatus is used to check Multipl-Mount Protection (MMP) status of an ext4 file system with the mmp feature enabled. The specified file system can be a device name (e.g. /dev/hdc1, /dev/sdb2), or an ext4 file system label or UUID, for example UUID=8868abf-88c-4a8-98b-bfc24057f7bd or LABEL=root. By default, the e2mmpstatus program checks whether it is safe to mount the file system without taking the risk of mounting it more than once.

MMP (multipl-mount protection) is a feature that adds protection against the file system being modified simultaneously by more than one node. It is NOT safe to mount a file system when one of the following conditions is true:
       1. e2fsck is running on the file system.

       2. the file system is in use by another node.

       3. The MMP block is corrupted or cannot be read for some reason.

The e2mmpstatus 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.  

EXIT CODE

The exit code returned by e2mmpstatus is 0 when it is safe to mount the file system, 1 when the MMP block shows the file system is in use on another node and it is NOT safe to mount the file system, and 2 if some other failure occurred that prevents the check from properly detecting the current MMP status.  

SEE ALSO

dumpe2fs(8), e2fsck(8), fstab(5), fsck(8),


 

Index

NAME
SYNOPSIS
OPTIONS
DESCRIPTION
EXIT CODE
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 14.6 ms