LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-08-2008, 02:48 AM   #1
raghugs
LQ Newbie
 
Registered: Jul 2003
Distribution: Ubuntu 7.10
Posts: 19

Rep: Reputation: 1
File-system problems in a Dedicated Server,


Hello Everybody

We recently rented a dedicated server that runs CentOS 5.0,
We are occasionally experiencing downtime because of CentOS switching the file system into read only mode.
When i login to the server via ssh while the file system is mounted read only, most of the commands result in the following output.
I/O Error, Read-Only file system,
In those circumstance we just restart the server and it would work fine.

So we thought to replace the disk,

Is that correct?
Is there any other reasons for this problem to appear?

If the disk should be the culprit, how shall we proceed to clone it in the new drive?

We have access to KVM/IP,
The drive is in LVM configuration, has only single drive.
500 GB capacity . but 2% only used.
No Live CD option,

Please let me know the best way to proceed in the situation.
I am new to server administration.

Last edited by raghugs; 01-08-2008 at 06:10 AM. Reason: Replaced RAID with LVM, because RAID is wrong
 
Old 01-09-2008, 06:52 PM   #2
georgekraj
LQ Newbie
 
Registered: Dec 2007
Location: India
Distribution: RHEL 5.0
Posts: 27

Rep: Reputation: 16
OK, if there is an error during boot then the root filesystem will be
mounted read only to prevent damage.Just try to scan your file system as a first step.

Step 1: First try to determine your root partition let say /dev/hda1.
Step 2: Boot the system in to rescue mode using Linux rescue CD or Floppy.
Step 3: Then run the command fsck.ext3 your-partition for e.g fsck.ext3 /dev/hda1
It will take some time to fix if any problem in the filesystem.Then try to reboot the system and observe for the system stability.
 
Old 01-10-2008, 02:26 AM   #3
raghugs
LQ Newbie
 
Registered: Jul 2003
Distribution: Ubuntu 7.10
Posts: 19

Original Poster
Rep: Reputation: 1
I was running stock kernel of CentOS 5.0,
Just updated to 5.1.

I heard that this is a compatibility issue with scsi controller,
Not related to the physical disk,

In the kernel i have updated to has lot of fixes for that.

Let us see how it goes,
Crossing fingers.

BTW the following is the error i got before the filesystem got remounted in read only mode.

kernel: journal commit I/O error

following is the output from the dmesg.

end_request: I/O error, dev sda, sector 773379333
sd 0:0:0:0: SCSI error: return code = 0x00040000

It looped for some time.
 
  


Reply

Tags
clone, kvm, raid



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
when does linux switch from realmode file system to protectedmode file system sitthar Linux - General 3 04-08-2006 08:05 AM
file system problem... mahamkali Red Hat 2 12-04-2003 12:24 AM
file system problem.... mahamkali Linux - General 2 12-03-2003 04:28 PM
file system problem... mahamkali Linux - Software 0 12-03-2003 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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