Portal Home > Knowledgebase > Articles Database > problem with backup drive
problem with backup drive
Posted by vnsg, 08-21-2007, 05:51 PM |
I use the second hard drive as backup drive. Today as normal i check the backup directory and try to use ls command. I got this warning
[root@xxxxxx backup]# ls
ls: reading directory .: Input/output error
Anyone got this issue before?
|
Posted by ISPserver, 08-21-2007, 06:22 PM |
Please show output of 'mount' command
|
Posted by vnsg, 08-21-2007, 06:27 PM |
here it is
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw,usrquota)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sdb1 on /backup type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw,noexec,nosuid)
/dev/sda5 on /tmp type ext3 (rw,noexec,nosuid)
/dev/sda2 on /usr type ext3 (rw,usrquota)
/dev/sda3 on /var type ext3 (rw,usrquota)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/tmp on /var/tmp type none (rw,noexec,nosuid,bind)
It seem fine after i reboot server.
|
Posted by maestriatech, 08-22-2007, 02:42 AM |
Hello,
Do you get any error while running the command "dmesg"? If yes, please have your Datacenter perform a hard disk check to see if there are any bad blocks/errors with it.
|
Posted by vnsg, 08-22-2007, 03:21 AM |
I got following error,the first part of error messages missed
|
Posted by maestriatech, 08-22-2007, 03:33 AM |
Oops...it looks like your server is dying..please take a backup of the disk, if you have any valuable data in it... and then have the DC perform a hard disk check. Most probably you may need to replace the disk.
|
Posted by maestriatech, 08-22-2007, 03:35 AM |
Btw I meant to say the hard disk sdb is dying
|
Posted by vnsg, 08-22-2007, 03:40 AM |
when i run scripts/fixquotas i got this error
|
Posted by maestriatech, 08-22-2007, 03:52 AM |
Try /scripts/initquotas
|
Posted by vnsg, 08-23-2007, 02:05 AM |
today when the server regconized the backup drive,i run dmesg and here is the result
|
Posted by vnsg, 08-23-2007, 02:13 AM |
so maybe this error occur due to cable issue?
|
Posted by sprintserve, 08-23-2007, 02:56 AM |
Well don't guess. Have the datacenter take down the box, and switch the drive. It's only a backup drive, so no real lost. They can test the drive at their own leisure.
|
Posted by david510, 08-23-2007, 02:57 AM |
Contact your DC soon. It seems the drive is failing. Ask them to run an fsck to see if it can fix it.
|
Posted by vnsg, 08-23-2007, 04:22 AM |
i am running my own box so i can not ask DC to help in this case,so i need to test the disk,any guide to do this?
thanks for all help
|
Posted by macker, 08-23-2007, 04:36 AM |
when you see "SCSI error", it means there was a hardware level error, and fsck wont fix it, but may make the problem worse.
since your primary disk is still working, it's most likely the secondary disk is failing. disks, like cars, eventually fail. unlike cars, you don't repair them, you just replace them. don't bother trying to save it, replace the disk now. there's very little chance the cable or controller would be bad, and only affect the second disk.
your disk is a Seagate Barracuda 7200.10 250GB drive (ST3250310AS). You may not be able to get an exact replacement, but since this is just a backup disk, get something that's similar in spec and around the same price; SATA II (3.0gbps, not SATA 1.5gbps), 8mb or 16mb cache, 7200rpm. OEM is fine, don't worry about any "RAID Edition" drives, they wont work better for your server.
|
Add to Favourites Print this Article
Also Read