LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-02-2015, 11:21 AM   #1
daniel-uy
LQ Newbie
 
Registered: Jun 2015
Posts: 3

Rep: Reputation: Disabled
An error occurred during the file system check


Hi all!! Im new in this forum and also new at linux !!

I am installing an application that includes automatically the instalation of CentOS 6.3.

The server that hosts this application and OS had a power outage and then when i turn on the server again i get the error that you can see in this picture: http://postimg.org/image/7opm0xzel/

I have 2 disks in the system, 1 for the application and SO and other to store call recordings (thats what the application do, record calls!).

If I re-install the system it has no problem!! But i dont want to re-install the system every time i have a power outage because i lost too much and important information.

I have installed this application in other server and had no problem with power outage. In this server the diference is that it originally had raid and i "remove it" frome the BIOS. Maybe here is the problem??

Anyone can help me?? Remember im really new in linux !!

Last edited by daniel-uy; 06-02-2015 at 11:31 AM.
 
Old 06-02-2015, 11:41 AM   #2
translator1111
Member
 
Registered: Jun 2010
Location: Slovakia
Distribution: Debian 8, Ubuntu 10.04 and 12.04; SLAX 6.0; ConnochaetOS 0.9.; LFS; Natty chip: VT1708S
Posts: 93
Blog Entries: 2

Rep: Reputation: 7
dear daniel-uy,
you wrote
Quote:
I have installed this application in other server and had no problem with power outage. In this server the diference is that it originally had raid and i "remove it" frome the BIOS. Maybe here is the problem??
probably yes.
can you take back the raid?
you can see line 2
/dev/sda2 is in use
and then the error
Faithfully,
M.
 
Old 06-02-2015, 11:44 AM   #3
daniel-uy
LQ Newbie
 
Registered: Jun 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
translator, thanks for your help.

I think i could make raid again, the problem is that i dont need that raid! I need 2 independent disks.
 
Old 06-02-2015, 11:59 AM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Sudden power outages are hell on computers, corrupted filesystems are often the result on any OS (OSX, Linux, or Windows). The solution is to use a filesystem with better journaling (what are you using now?) and purchase a UPS to ride though brownouts and shut down the machine gracefully when you have an extended outage.
 
Old 06-02-2015, 12:04 PM   #5
daniel-uy
LQ Newbie
 
Registered: Jun 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Yes, they are buying a UPS, but this problem do not happen in other site (with another server) iam really sure that the problem is in the RAID not in the OS or file system as you say, but i dont know how to solve it!!

I have no idea what file system i am using, i just clicked next next in the OS system ha

Thanks in advance!!
 
Old 06-02-2015, 12:15 PM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Filesystem corruption due to a sudden power outage does not mean there is anything wrong with that machine, it has nothing at all to do with the RAID, and the fact that it didn't happen on another system is meaningless.

It all depends on what, exactly, the system was doing at the exact moment the power was cut. If it was idle, chances are it will be fine. If it was in the middle of writing a file, there's a good chance the file itself will be corrupted, and possibly the filesystem as a whole, depending on what stage of the write it was performing when the power was cut. It's all a game of probability.

There is nothing at all you can do to "fix" it, because there is nothing to fix (since you already reinstalled and replaced the filesystem). All you can do is not cut the power while the system is running.

I believe CentOS 6 defaults to ext4, that's usually pretty resilient, but no filesystem is perfect when it comes to abuse like this.

Last edited by suicidaleggroll; 06-02-2015 at 12:17 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
an error occurred during the root file system check rkfb Slackware 3 11-24-2012 10:33 PM
An error occurred during the file system check, dropping you to a shell; the system w sanjay87 Linux - Server 1 11-12-2012 12:14 AM
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 08:38 PM
An error occurred during the file system check bcbotha Fedora 1 10-23-2009 06:40 PM
An error occurred during the file system check oloijuok Linux - Newbie 3 05-29-2009 07:29 AM


All times are GMT -5. The time now is 03:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration