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'm looking to create a loopback device for local temporary backup storage. This will be used to store ~1000 files in ~20 directories.

I understand I'd need to use the mkfs command along the lines of:

mkfs -t ext2 [ fs-options ] /path/to/image

What I don't understand is:

  • What fs-options options are available for an ext2 filesystem?
  • Whether the defaults, whatever they may be, would be acceptable?
  • What fs-options might be suitable for my needs?
share|improve this question
up vote 2 down vote accepted

Just go with the defaults (i.e. no options); they work quite well in most cases.

If you're planning to store many small files or few big files, you could benefit from changing the block size... but it's usually not worth the hassle.

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.