Server Fault is a question and answer site for system and network administrators. 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

I have Ubuntu 10.04 dedicated server with SSD drive. Hence I want to disable the file system journal.

Normally this can be done like this "tune2fs -O ^has_journal /dev/md2". However the root file system is in read-write mode so tune2fs prints an error. The "-f" does not work.

Maybe during boot there is some script which is executed having root file system mounted read-only. So I can add above command to that script.

BTW I can reinstall OS but ext2 isn't available. A server provider admin web page doesn't allow to pass create partition options when reinstalling OS.

share|improve this question
up vote 2 down vote accepted

You should be able to remount the root partition read-only if you can afford to turn off enough services for a few minutes. Use lsof +f -- / to find out what programs have files open for writing. In particular, if /var/log is on the root partition, you'll have to turn off logging; and /tmp had better be on tmpfs or a separate filesystem.

If your hosting provider gives you console access, you can pass init=/bin/sh on the kernel command line (this runs a shell instead of init) and run tune2fs from there.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.