Hi All,
I want to know how to get 16k Block size while creating XFS on 2.6.38.8 Kernel
(CentOS)
I realised that one would require 16k pagesize and for that i need to recompile the kernel.
But I'm using x86_64 arch. CPU
So, is there a way around ?
Is there a way to set 16k page size in x8664 and inturn set 16k block size
Note:
I'm creating file system on SSD
-----------------------
Commands that I tried-
Code:
[root@test]# mkfs.xfs -b size=16k /dev/dm-3
meta-data=/dev/dm-3 isize=256 agcount=4, agsize=4341756 blks
= sectsz=512 attr=2
data = bsize=16384 blocks=17367023, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=16384 ascii-ci=0
log =internal log bsize=16384 blocks=8479, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=16384 blocks=0, rtextents=0
[root@test]# mount /dev/dm-3 /mnt/dm-disk/ -o sunit=128,swidth=256
mount: Function not implemented
tail var log messg
Code:
Dec 15 04:15:20 test kernel: XFS: SB validate failed
Dec 15 04:15:20 test kernel: XFS: file system with blocksize 16384 bytes
Dec 15 04:15:20 test kernel: XFS: only pagesize (4096) or less will currently work.