LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-04-2011, 11:50 AM   #1
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Rep: Reputation: 1
file system check


Hi

How can I read whether some file systems produce error during normal operation in production server ?

thx for help.
 
Old 02-04-2011, 12:11 PM   #2
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 584

Rep: Reputation: 59
Quote:
Originally Posted by drManhattan View Post
How can I read whether some file systems produce error during normal operation in production server ?
This should help you:


Code:
dmesg
or

Code:
dmesg | grep mount
and also this:

Code:
cat /proc/filesystems

When there is any problem we can run fsck:

Code:
-bash-2.05b# fsck
fsck 1.35 (28-Feb-2004)
e2fsck 1.35 (28-Feb-2004)
/dev/ubd/0 is mounted.

WARNING!!!  Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.

Do you really want to continue (y/n)? yes

/dev/ubd/0: recovering journal

/dev/ubd/0: clean, 136051/384768 files, 541660/768256 blocks
-bash-2.05b#
Please, do not try fsck on your production server the way I have shown above. It is a test box so no problem for me.


Some logs can be useful in /var/log/

Code:
more boot.log | grep mount | more

more messages
your question is indeed interesting. I will find out more information on it.

Last edited by devUnix; 02-04-2011 at 12:17 PM.
 
  


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 file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 07:38 PM
Moved file partitions, File system check failed on Fedora, Windows will not boot LinkSlayer64 Linux - Newbie 7 12-17-2009 02:18 AM
How To Check File System??? nirmit Linux - Server 3 11-04-2008 10:59 PM
file system check GoBoy Linux - Software 1 03-27-2005 04:39 AM
How to check what is your file system? Alinuxnoob Linux - Newbie 2 03-31-2002 01:37 AM


All times are GMT -5. The time now is 11:38 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