Problematic Hard Disk - Read Only Mode [message #15865] |
Wed, 15 August 2007 08:53 |
Ashley
Messages: 40 Registered: December 2006
|
Member |
|
|
Hello,
I recently brought a new Dedicated Server from LayeredTech, installed OpenVZ and installed two VPS's and all works fine.
However at random times, can be up to 3 days between them or just a few hours the VPS will stop responding. Apache starts to throw an 500 error, and SSH an error about caught create something.
However at one point the problem happened during my already been logged into SSH, however when ever i went to do something it said, permission error (hard disk is loaded in ReadOnly mode).
This would explain for the Apache 500 error due to me running Suexec and it needing certain persmisons, and the SSH error as it can not create any files on the Hard Disk.
However the problem is i am not sure what is causing this, it happens both inside the VPS and the Host Node so i can not login to any SSH.
The datacentre has run many checks on the hard disk and changed over cabels just incase, however i now think its something to do with the setup.
I followed the guide word for word and this is the 3rd server that I have run OpenVZ on.
Any ideas?
Thanks Alot,
Ashley
|
|
|
|
|
|
Re: Problematic Hard Disk - Read Only Mode [message #15870 is a reply to message #15869] |
Wed, 15 August 2007 09:12 |
rickb
Messages: 368 Registered: October 2006
|
Senior Member |
|
|
I would fire up bonnie++, and run that disk for a few hours. This should trigger the io errors if its a serious problem. Keep checking dmesg and save anything about seek errors, aborted journals, etc. Basically anything before it going into ro mode. Send that to your datacenter along with the fact that the fs was fsck'd clean just prior, and they will swap out the disk free of charge. Also, you should be using at least raid1 on this server. this will give you so many reliability and per. benefits, and will save you from reinstalling the OS when a disk goes south, like in this case.
Rick
-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions
UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
|
|
|
|
|
|
|
Re: Problematic Hard Disk - Read Only Mode [message #15968 is a reply to message #15961] |
Fri, 17 August 2007 09:33 |
Ashley
Messages: 40 Registered: December 2006
|
Member |
|
|
Thanks Vasily Averin
So there is no way this could be a software/configuration problem, as the datacentre has done many tests on the hard disk.
I have setup a netconsole, however the problem has not happened in the last few days.
So im hoping the problem has gone, however could it have been a config error, or would this not be able to do a remount in read only mode?
Thanks
|
|
|