Problem with hard drive I think. How do I run fsck properly?

Craig White craigwhite at azapple.com
Wed Sep 14 22:45:03 UTC 2005


On Wed, 2005-09-14 at 10:44 -0700, barophobia wrote:
> Hello,
> 
> I found this in my LogWatch email from last night...
> 
>  --------------------- Kernel Begin ------------------------
> 
> WARNING:  Kernel Errors Present
>    EXT3-fs error (device sdc1): e...:  2 Time(s)
> 
>  ---------------------- Kernel End -------------------------
> 
> ...and now my /home partition seems to be mounted read only.
> 
> Here is /etc/fstab:
> 
> LABEL=/                 /                       ext3    defaults        1 1
> LABEL=/boot             /boot                   ext3    defaults        1 2
> none                    /dev/pts                devpts  gid=5,mode=620  0 0
> none                    /dev/shm                tmpfs   defaults        0 0
> LABEL=/home             /home                   ext3    defaults        1 2
> none                    /proc                   proc    defaults        0 0
> none                    /sys                    sysfs   defaults        0 0
> LABEL=/tmp              /tmp                    ext3    noexec,nosuid   1 2
> LABEL=/usr              /usr                    ext3    defaults        1 2
> LABEL=/usr/local        /usr/local              ext3    defaults        1 2
> LABEL=/var              /var                    ext3    defaults        1 2
> LABEL=SWAP-sdc5         swap                    swap    defaults        0 0
> 
> 
> What should I do now?
----
as root...

df -h # is /home really /dev/sdc1 ?

if it is really /home
umount /home
e2fsck -fy /dev/sdc1 

if it is not really /home

shutdown now -Fr

and see what happens

Craig




More information about the users mailing list