Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I'm trying delete some of the old eaccelerator files it gives me following errors

rm: cannot remove `/tmp/eaccelerator/7/2/eaccelerator-0502.02065984': Read-only file system

What can I do it fix it?

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             226G  127G   88G  60% /
/dev/sdc1             227G  102G  114G  48% /disk1
/dev/sda1              99M   18M   77M  19% /boot
tmpfs                 4.0G     0  4.0G   0% /dev/shm
/dev/sdb1             459G  182G  255G  42% /home4
/usr/tmpDSK           485M  325M  135M  71% /tmp

That's my output from the server.

Also what commands can I use to unmount and mount it? And should I do it while my web server is running?

share|improve this question

migrated from Jan 12 '11 at 8:08

This question came from our site for professional and enthusiast programmers.

Post the $ mount results here. – karatedog Jan 11 '11 at 23:25

Check that /tmp isn't mounted as a read only filesystem.

$ mount

unmount mount it, then re mount with rw option. Or if /tmp is just a ramdisk (tmpfs) like it is on mine. umount than mount will clear the contents.

share|improve this answer

Try with remount option:

mount -o remount,rw /tmp

Now you should be able to delete any file/directory inside /tmp

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .