run the command 'dmesg' and see what it says.
it is likely that there is some sort of error with your file system
and the kernel has marked the file system read-only to protect it from
damage.
The root cause of this sort of thing is usually hardware failure.
since you are using md, also run a 'cat /proc/mdstat' to see what
state the system thinks the disks are in.
of course be paranoid, and take a good backup.
-Adam
On 4/19/07, Mitchell Rothschild <mjr (at mark) misswebhost.com> wrote:
> Hi,
>
> Hope all is well with everyone...
>
> I have an error today...and some mysql sites are not working.
> When I try to move or copy files I get an error...
> Read-only file system
>
> How can I fix this?
>
> Thanks in advance.
>
> [root@ns5 include]# df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/md1 6.0G 875M 4.8G 16% /
> /dev/md6 99M 20M 75M 21% /boot
> none 1013M 0 1013M 0% /dev/shm
> /dev/md4 99G 12G 82G 13% /home
> /dev/md2 1012M 34M 927M 4% /tmp
> /dev/md3 4.0G 551M 3.2G 15% /var
>
> Regards,
> Mitch
>
>
>
>
--
-----------------------------------------------------------------
Shroom.net Donation Based Web Hosting
http://www.shroom.net/
-----------------------------------------------------------------