I have ubuntu server running on a box I use as a headless system, and I have had some problems with it over the last 6 months or so. I described the problem in a thread awhile back. I had had some trouble after upgrading to 11.10 (think that was the version). I inserted new ram, and the system then worked ok.
I had a similar problem recently, I noticed it when I was unable to write to my samba share. I pulled out the machine, re-seated the ram, then did an upgrade to 12.04....
uname gives me this:
Linux ubuntu-server 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
but, the problem I'm having now is that I'm unable to write to one of the folders on the machine. when I try to navigate to that folder with "cd /parent/code", I get:
-bash: cd: code: Input/output error
when I do "ls -al" I get the following for that folder:
I'm unable to edit a file using vim, and Im unable to create a folder, I get an error saying that the file system is read-only.d????????? ? ? ? ? ? code
Doe that mean the HD is corrupted? Not sure what to do about that, other than replace the HD. On a headless server system, what is the best way to make sure that the HD's and the system in general are reliable? I usually leave the server on all the time.