Hi guys, I wonder if you could possibly give me some advice here...
On one of our servers there have been problems writing to /tmp - errors saving session data coming up with "read-only" file system. No such errors on other parts of the drive.
So I forced a fsck on reboot - it checked everything and the server booted fine. I worked ok for 30 minutes then suddenly it happend again.
I repeated the process - same problem.
Obviously there is a bad sector on this drive or something. I will move all the accounts off the server to another one tomorrow - but in the interim, is there any way of removing the partition and recreating it so customers can get some functionality ?
Ive tried un-mounting it but as I expected its in use.
I can switch to single user mode on the server if someone could possibly give me some pointers?
Edit.... as a workaround I've just created a directory named /tmp2 and set the session save path in the php.ini to use that directory. Hopefully this will buy me some time until I can replace the drive.
The remaining problem still causes issues with webmail and other things so I'd be very grateful for any suggestions.
On one of our servers there have been problems writing to /tmp - errors saving session data coming up with "read-only" file system. No such errors on other parts of the drive.
So I forced a fsck on reboot - it checked everything and the server booted fine. I worked ok for 30 minutes then suddenly it happend again.
I repeated the process - same problem.
Obviously there is a bad sector on this drive or something. I will move all the accounts off the server to another one tomorrow - but in the interim, is there any way of removing the partition and recreating it so customers can get some functionality ?
Ive tried un-mounting it but as I expected its in use.
I can switch to single user mode on the server if someone could possibly give me some pointers?
Edit.... as a workaround I've just created a directory named /tmp2 and set the session save path in the php.ini to use that directory. Hopefully this will buy me some time until I can replace the drive.
The remaining problem still causes issues with webmail and other things so I'd be very grateful for any suggestions.
Last edited: