Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ E2fsck & Badblocks On Mounted File Systems

Posted by: SwordPhish Oct 31 2002, 07:22 AM

Can you help me sort out some bad sectors i have on my hard disk. My hard drive partions look like...
/dev/hda1 /boot
/dev/hda2 /
/dev/hda3 swap

The problems are on the device /dev/hda2 and when i try and run "e2fsck -c /dev/hda2" im promted with warning message about running e2fsck on a mounted file system but i cant umount /dev/hda2 so how can i sort the problems?

Gratefuly Stuart

Distro: RedHat 7.3
CPU Mhz: 1400
Memory: 124Mb

Posted by: chrisw Oct 31 2002, 10:41 AM

try booting up in single mode and it will
dump you to a bash prompt where you
might be able to umount the partition
and run e2fsck on it and what ever else
you need..i had to do the same on
a system i was administering but its been
a while that i dont really remember EXACTLY
what i did...or if you still cant umount
it see if you can force the check

Powered by Invision Power Board (
© Invision Power Services (