Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.