Re: need FSCK help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/2/06, Claude Jones <claude_jones@xxxxxxxxxxxxxx> wrote:
I'm getting the following in my system log:

Oct  2 12:43:53 tehogee smartd[2509]: Device: /dev/sda, 1
Currently unreadable (pending) sectors
Oct  2 12:43:53 tehogee smartd[2509]: Device: /dev/sda, 1 Offline
uncorrectable sectors

many, many, of them
/dev/sda contains my /boot and / mounts
/home is mounted on a separate drive

How can /dev/sda be "Offline" since this is the machine I'm typing
this message on???

Is FSCK the right tool for this? If so, I can't figure out how to
run it on /dev/sda since, if I read correctly, the mount has to
be unmounted - presumably, I need to do this from a rescue disk?

I've searched on this in the past, but was never able to find a
good explanation of how it's donw. If someone can give me one, or
point to a good document, I would be grateful

you can run fsck on a read-only partition, it doesn't have to be
unmounted.  Reboot into single user mode, and remount each partition
on /dev/sda readonly:
mount -o remount,ro $mountpoint

and then you can fsck them.  Good luck, hope you have backups.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama@xxxxxxxxx
LlamaLand                       http://netllama.linux-sxs.org


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux