I got this output:
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
/dev/mapper/ubuntu--vg-root is mounted.
e2fsck: Cannot continue, aborting.
after I used the fsck
command. Any answers?
I got this output:
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
/dev/mapper/ubuntu--vg-root is mounted.
e2fsck: Cannot continue, aborting.
after I used the fsck
command. Any answers?
If you just use
fsck
to check the volume you can runclean
but you can force a new checkIf you want to fix filesystem errors, first unmount your partition:
umount /dev/sda1
I don't know why, but I had to
service udev stop
(on debian based system).After stopping udev the
e2fsck -f /dev/sda1
-command worked and didn't print thee2fsck: Cannot continue, aborting
-Message anymore.I dont't know, if it has something to do with http://dev.bizo.com/2012/07/mdadm-device-or-resource-busy.html - but this page gave me the hint to try it.
I encountered similar issue especially when you are still accessing the mount point. It can below any one of below two reasons.
You cannot run on the root FS Say you can in directory "/mnt" and you have unmounted the volume mounted on "/mnt". You will encounter same error. Make use that you are not in same directory.
Before :
After :
I've had this error when I tried to
fsck
my root partition. The solution was found here:touch /forcefsck
to force the check on the next system boot./forcefsck
file is no longer there after the system is back up again.The following solution worked for me:
sudo fsck -f /dev/sda4
replacing 4 with the number you found earlier -- repeat the fsck command if there were errors --reboot