Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My main service is file downloading, so disk i/o will be very big.
So disk i/o error is occurred very often. and this makes service down.
Is there any solutions against disk i/o error?
by now, only raid1 is helpful.
smartd will be helpful?
badblocks program can be helpful?
Is there recommendable solution(free or commercial) to decrease disk i/o error?
If you're getting a lot of disk I/O errors it indicates either one of your drives or your controller is having issues. It is not normal to have a lot of disk I/O errors even when you're doing large databases or lots of downloading as you say.
FIRST thing you need to do is backup everything on your system.
Once that is done you need to try to determine which hardware device is failing and replace it as soon as possible.
Maybe you should buy a new hd, disk I/O errors are mainly the prestage of a disk crash.
Yes you can use badblocks, but this is not a soulution, this is a workaround und won't work for a long time.
If this is your business, you should obtain a copy of Spinrite. This utility will properly diagnose the condition of your hard drive, and in many cases will restore it to full functionality.
Beyond that, as you have been told, keep backups and make sure your controller is working properly. Also, a RAID 1 setup is a really good plan.
Further, you should be using SCSI or SAS drives, not PATA or SATA (except enterprise-grade SATA). You pay a LOT more for these drives, but you will have fewer problems with them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.