LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-05-2011, 07:38 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
Correcting an inconsistent filesystem


Hi there --

One of our servers is running the Fedora Core 14 64-bit distribution with a MySQL database and Apache webserver-based application. The server also runs a virtual machine via the Virtualbox application. The operating system here is Ubuntu 10.04 LTS 64-bit distribution, and it also runs a MySQL database and Apache webserver-based application.

The / filesystem of the Fedora system is suspected of being in an inconsistent state. While the server appears to be running without issue, the backup software that is used on a nightly basis is able to backup the /boot, but not the / filesystem. A problem such as this tends to indicate an inconsistency.

Is there a way to check for an inconsistency of the / filesystem without adversely affecting either the host or virtual machine? Also, if a problem is found, what is the command syntax to correct it, and will it potentially cause problems with either server?

Thanks.
 
Old 08-06-2011, 01:31 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
May depend on f/s type. Also is / "just" the system (i.e. do you have other mount-points for things like /var, /usr, ...)
Short answer is probably "this could get ugly".

For ext[234] you can't reliably fsck the filesystem whilst it's mounted. So that means a re-boot - I'm guessing that qualifies as adversely affecting that server software. From another system you could run "fsck -n" after it is down. That might give you some idea of any problems, although what good that would be might be moot.
"Fixing" the problems may result in a consistent f/s, but broken files. Then maybe you could use that info - but if you don't have recent backups ... erk

Edit: forgot to ask ... why are you running server(s) on fedora ?. Especially an LTS guest ...
Seems arse-about to me ...

Last edited by syg00; 08-06-2011 at 01:38 AM.
 
  


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
correcting bootloader keimasi Linux - General 9 03-23-2011 07:32 PM
[SOLVED] Error-correcting filesystem for use with DVDs? russ00 Linux - General 7 06-21-2010 06:06 PM
Inconsistent Filesystem Structure after upgrade. elprawn Fedora 10 08-14-2008 11:01 AM
Error 16: Inconsistent filesystem structure proxima-tom Linux - Newbie 4 10-31-2007 05:20 AM
need help in correcting errors urgently weifeng Programming 4 02-10-2006 12:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:31 AM.

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