/dev/mapper/mpathX is apparently in use by the system; will not make a filesystem here!

Solution Verified - Updated -

Issue

  • When trying to create a filesystem on device, it fails with the following 'in use' message:
# mkfs.ext4 /dev/mapper/mpathX
mke2fs 1.42.9 (28-Dec-2013) 
/dev/mapper/mpathX is apparently in use by the system; will not make a filesystem here!

Environment

  • Red Hat Enterprise Linux 7.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In