You are not logged in.

#1 2012-12-26 23:19:06

From: Germany
Registered: 2008-08-30
Posts: 97

NAS filesystem for large files and optimal blocksize

I have a NAS RAID5 device with 5,5TB available storage (4x2TB). It contains only very large files (all around 8-20 GB in size).
Currently it is still formatted with NTFS, but since I currently only use it with a Linux machine, I want to convert it into a Linux filesystem.

What filesystem would suit best for my use? ext4?

Second: block size; in NTFS one can set the block size, would it make sense to set it very large (because of the large files)? Would it make sense to set it e.g. to 4 MB? Can I do this in ext3/4?


#2 2012-12-27 07:44:26

Registered: 2008-06-22
Posts: 794

Re: NAS filesystem for large files and optimal blocksize

Yes ext4. It has extents so it is vary efficient with lots of very large files, and is a very stable file-system.

Yes, you will want to align to the stripe width of your RAID array just like what is done for SSD's erase block size.

Like this will write in blocks of 512K however your RAID may be set larger then that. If you are not sure I'd go with 512KB's.

mkfs.ext4 -b 4096 -E stride=128,stripe-width=128 /dev/XXXX

(-b 4096 == 4KB blocks) * 128 == 512KB's written at a time.

Both fdisk and gdisk will align your partitions to 1MB by default which will work very well I am sure.

Last edited by hunterthomson (2012-12-27 07:48:06)

OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec


Board footer

Powered by FluxBB