LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-18-2014, 01:30 PM   #1
Pardyd
LQ Newbie
 
Registered: Sep 2014
Posts: 1

Rep: Reputation: Disabled
Disk get corrupt way too often for a normal use


Hello,

I'm running a vps under debian and every few weeks my disk suddenly switch to a read-only mode. The step of resolving this have become a habit. I reboot, the disk can't be booted but the prompt is asking for my root password, I login, I run e2fsck, I remount the disk and reboot. So, what's the problem?

The problem is that, my server isn't even one year old and that it is the fourth time that this problem occur. I suppose one of my services running must be causing this problem but I failed to find which one. Here's the complete list of deamon runnings (content of /etc/init.d/) :
acpid kmod redis-server
apache2 motd rmnologin
atd mountall-bootclean.sh rpcbind
avahi-daemon mountall.sh rsync
bootlogs mountdevsubfs.sh rsyslog
bootmisc.sh mountkernfs.sh saslauthd
checkfs.sh mountnfs-bootclean.sh sendsigs
checkroot-bootclean.sh mountnfs.sh single
checkroot.sh mtab.sh skeleton
console-setup mumble-server snmpd
cron mysql spamassassin
danted networking ssh
dbus nfs-common udev
dovecot ntp udev-mtab
exim4 postgresql umountfs
halt procps umountnfs.sh
hostname.sh rc umountroot
hwclock.sh rc.local unattended-upgrades
kbd rcS urandom
keyboard-setup README x11-common
killprocs reboot

And inspircd run manually on startup.

So, two question. Do you have any idea of what program could corrupt the file system? If not, how can I find out ? And, second question, how can I automate the recovery procedure each time the disk switch to read-only mode? The latter I find out there is a problem, the longer my website is unusable.

This isn't my first sys admin experience but it's the first time I host things that people actually use and theses problems are starting to make them really unhappy of my services. :/
 
Old 09-18-2014, 02:47 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
I'd be more inclined to believe it is hardware.

Few servers are tested on linux. If you have a commercial server that came from a company with linux on it then you may wish to contact them for assistance. It could be that they'd have a known issue and maybe a board failure would require replacement.

Corrupt filesystems have a few things that I can think of.
Power issues.
Shutdown issues even if you shutdown correctly, not apps just the os coding. Opensuse did that on one version.
Bad memory.
Bad cpu.
Bad PSU.
Bad bios settings.
Bad drive.
Bad or poor quality drive cables.
Interference or open box where emi/rfi can get in.

Last edited by jefro; 09-18-2014 at 02:49 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
host ran out of disk space, guest virtual disk got corrupt help please fedora.linux.64 Linux - Virtualization and Cloud 16 08-09-2010 05:04 PM
RAID-1 with one disk causes filesystem to be corrupt? alirezan1 Linux - Newbie 4 02-23-2009 11:23 AM
where has my disk space gone? corrupt filesystem? matticus SUSE / openSUSE 3 09-19-2006 10:06 PM
Usb disk corrupt, won't mount guitara Linux - Hardware 4 05-11-2006 02:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration