3
- GPT partition table is required for large disks
11
Requires file system with big extent support. The best option is XFS. Since Linux 3.2, Ext4
12
also supports 1MB blocks.
16
However, at the moment of writing Ext4 is limited to 16GB. The disks created with 8192 byte
17
blocks are not mountable at the moment
18
mkpart primary 0 32.0TB
19
mkfs.ext4 /dev/sdb1 -b 8192
21
# Creating Ext4 without journal
22
mkfs.ext4 -O ^has_journal /dev/md2p1
27
mkfs.xfs -l logdev=/dev/md0,size=64m /dev/sdb
28
mount -t xfs -o logdev=/dev/md0 /dev/sdb /mnt/raid/
29
mount -o logdev=/dev/md0,noatime,allocsize=1GiB,largeio,swalloc,delaylog,nobarrier /dev/sdb /mnt/raid/
31
- There is problems with file deletion (deadlock) and the realtime partition
32
support is claimed unstable as of January 2011.
33
mkfs.xfs -r rtdev=/dev/sdb2,extsize=1g /dev/sdb1
35
- Optimal options, taking into the account raid configuration
36
mkfs -t xfs -d su=64k,sw=14 /dev/device
37
mount -o noatime,allocsize=1GiB,largeio,swalloc,delaylog,nobarrier /dev/sdd1 /mnt/fast/
38
mount /dev/sdd2 /mnt/raid/