e2fsck gives the error /dev/mapper/vg_name-lv_name in use Cannot continue, aborting.

Solution Verified - Updated -

Issue

  • Unmounting the logical volume gives the below error.
    $ umount -f /test
    umount2: Device or resource busy
    umount: /test: device is busy.
    (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1))
    umount2: Device or resource busy
  • Getting the below error while running e2fsck after lazy unmount with umount -l.
    $ e2fsck  -f /dev/mapper/vg_name-lv_name
    e2fsck 1.41.12 (17-May-2010)
    /dev/mapper/vg_name-lv-name is in use.
    e2fsck: Cannot continue, aborting.

Environment

  • Red Hat Enterprise Linux
  • Swap File is used in addition to a swap partition.

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.