OpenVZ Forum


Home » General » Support » Read-only file system
Read-only file system [message #16339] Sat, 01 September 2007 14:50 Go to next message
bin_asc is currently offline  bin_asc
Messages: 9
Registered: August 2007
Junior Member

All of a sudden, after a HyperVM upgrade, I`ve been receiving :

mkdir: cannot create directory `/etc/sysconfig/network-scripts/bak': Read-only file system

Any ideas ?

Regards,
Adrian

[Updated on: Sat, 01 September 2007 14:51]

Report message to a moderator

Re: Read-only file system [message #16340 is a reply to message #16339] Sat, 01 September 2007 17:24 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

check dmesg on the machine. looks like your file system experienced some errors.


http://static.openvz.org/userbars/openvz-developer.png
Re: Read-only file system [message #16371 is a reply to message #16339] Mon, 03 September 2007 13:47 Go to previous messageGo to next message
Ashley is currently offline  Ashley
Messages: 40
Registered: December 2006
Member
Hello,

I have been having the exact same problem, I have had 3 different Hard Disk each time with a clean new OS.

Also i have now had a Complete new server, however every so often my server keeps going into Read Only Mode. Causing the server to become unusable and have to be rebooted.


Also 'dmesg' on the machine shows nothing bad at all and there is no kernel panic, when connecting to the server with a screen your just show a input and output error due to the Hard Disk being placed in read only mode.

Thanks,
Ashley

[Updated on: Mon, 03 September 2007 13:48]

Report message to a moderator

Re: Read-only file system [message #16372 is a reply to message #16339] Mon, 03 September 2007 13:53 Go to previous messageGo to next message
bin_asc is currently offline  bin_asc
Messages: 9
Registered: August 2007
Junior Member

Woo hoo !!! Remember my system went read-only ? After a reboot system was screwed really bad. DC has to do a journal fix ... it was a 2 way situation : either it would get fixed or screwed worse. I have 4 HDD in RAID5, still system got screwed because of the system file getting corrupted. Thinking of getting a 4 x 1TB SCSI RAID 10 ...
Also, reminder for all those that want VPSes : RAID 10 and off-server backups !!!
Re: Read-only file system [message #16373 is a reply to message #16372] Mon, 03 September 2007 14:04 Go to previous messageGo to next message
Ashley is currently offline  Ashley
Messages: 40
Registered: December 2006
Member
bin_asc:

This has happened to me and ive had the server rebooted countless times, no matter what Raid you have it still happens. The whole system just turns all disks into Read Only Mode.

,Ashley
Re: Read-only file system [message #16374 is a reply to message #16373] Mon, 03 September 2007 14:07 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

do you use your own compiled kernels? plz check that you have 8kb stacks enabled.



http://static.openvz.org/userbars/openvz-developer.png
Re: Read-only file system [message #16375 is a reply to message #16339] Mon, 03 September 2007 14:10 Go to previous messageGo to next message
bin_asc is currently offline  bin_asc
Messages: 9
Registered: August 2007
Junior Member

@dev : Me or Ashley ? Either way, how could I check ?
@ Ashley : I was lucky I guess to get the system online ( it`s pretty unstable at the moment ).
I signed up for an off-server backup solution ( cheap and very recommended on the hosting forums ). I`m rsyncing everything now. I need to backup everything, then, full reinstall ..

[Updated on: Mon, 03 September 2007 14:11]

Report message to a moderator

Re: Read-only file system [message #16376 is a reply to message #16374] Mon, 03 September 2007 14:16 Go to previous message
Ashley is currently offline  Ashley
Messages: 40
Registered: December 2006
Member
I installed the Kernel using yum, i followed the guide "http://www.howtoforge.com/openvz_centos4.4_p2" if that helps.

I am using a Stock Kernel, the latest version, can get exact numbers once server is backup.

Thanks,
Ashley

[Updated on: Mon, 03 September 2007 14:20]

Report message to a moderator

Previous Topic: router sending traffic to other vz node in same vlan
Next Topic: Heartbeat inside guest network / interface problems
Goto Forum:
  


Current Time: Sat Dec 02 15:13:32 GMT 2023

Total time taken to generate the page: 0.02038 seconds