0

When I run fsck in recovery mode, it says that sda3 is mounted.

/dev/sda3 is mounted

e2fsck: cannot continue, aborting.

However, when I try to umount sda3, it is busy.

umount: /: target is busy.

How can I clean my filesystem?

0

To check the root file system, you should

touch /forcefsck

and reboot. That will force a fsck before the root file system is mounted.

  • This doesn't work on systems with systemd. – BeeOnRope Jan 28 at 20:14
0

Try to list of open files under issue mount point

lsof | grep -i mountpoint

Kill the process id which listing below.

Second method: fuser -cv mountpoint and kill the process id which listing. Then try with below command to umount:

umount -l mountpoint
  • 1
    Praveen, you know how to format answers properly; please take the time to do so... – Stephen Kitt Jul 6 '19 at 10:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.