Portal Home > Knowledgebase > Articles Database > HDD problem


HDD problem




Posted by just-centos, 05-02-2011, 11:15 AM
hello,my friends on my server some of partitions gone read only at random times and when i restart server that's back read/write. this issue repeat.... output of: cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root / ext3 ro,data=ordered,usrquota 0 0 /dev /dev tmpfs rw 0 0 /proc /proc proc rw 0 0 /sys /sys sysfs rw 0 0 /proc/bus/usb /proc/bus/usb usbfs rw 0 0 devpts /dev/pts devpts rw 0 0 /dev/sda8 /home ext3 ro,data=ordered,usrquota 0 0 /dev/sda3 /usr ext3 ro,data=ordered,usrquota 0 0 /dev/sda2 /var ext3 ro,data=ordered,usrquota 0 0 /dev/sda1 /boot ext3 rw,data=ordered 0 0 /dev/sda7 /tmp ext3 ro,nosuid,noexec,data=ordered 0 0 tmpfs /dev/shm tmpfs rw,nosuid,noexec 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 /dev/sda7 /tmp ext3 ro,nosuid,noexec,data=ordered 0 0 /etc/auto.misc /misc autofs rw,fd=7,pgrp=3056,timeout=300,minproto=5,maxproto=5,indirect 0 0 -hosts /net autofs rw,fd=13,pgrp=3056,timeout=300,minproto=5,maxproto=5,indirect 0 0

Posted by 24x7group, 05-02-2011, 11:18 AM
I suggest getting that disk replaced asap, it shouldn't happen this much.

Posted by just-centos, 05-02-2011, 11:28 AM
i tell my DC to replace HDD but they said "we checked completely all of your server hardwares and there isn't any hardware issue" they believe that is a sofware problem because after reboot any problems solved and repeat again.

Posted by shell-box, 05-02-2011, 11:49 AM
You might want to check the smart data on the drive with the issue. smartctl --all /dev/sdb if smart is installed. Have you tried fscking the drive? I had a similar problem a long time ago, fscking it would fix it for a while.. I believe eventually the drive had to be replaced.

Posted by tanfwc, 05-02-2011, 12:56 PM
I had a experience where the raid controller card is going to die which cause this problem. I had it replace and everything is back to normal. You might want to ask how your DC confirm that it is not a hardware problem?

Posted by trustedadmins, 05-03-2011, 05:04 AM
You need to check the 'dmesg' and '/var/log/messages' at te time the drive has become read-only. You will probabily be getting some 'libata' error message similar to the following. ================= ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata3.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0 res 40/00:00:01:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout) ata3.00: status: { DRDY } ================= You can debug it further with the specific codes in the error message, referring to kernel.org.

Posted by 24x7group, 05-03-2011, 05:58 AM
Make sure you don't do a fsck (filesystem check) on a mounted partition.

Posted by just-centos, 05-03-2011, 05:58 AM
thanks,dear friends.

Posted by net, 05-03-2011, 06:01 AM
Moved > Hosting Security and Technology.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read