Skip to contentSkip to conversation

Advanced Format drive - sectsz question

DISCUSSION Zdenek Kaspar 2 participants 3 messages Oct 14, 2011

lore
Share & tools
lore
#0 lore raw

Hello list, I have hard drive which reports:

logical_block_size -> 512
physical_block_size -> 4096

Default mkfs.xfs sets sectsz to 512.

kernel-2.6.32-131.17.1.el6.x86_64
xfsprogs-3.1.1-4.el6.x86_64

Is mkfs.xfs -s size=4096 the right way?

TIA!, Z.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 11 lines · Zdenek Kaspar

Hello list, I have hard drive which reports:

logical_block_size -> 512
physical_block_size -> 4096

Default mkfs.xfs sets sectsz to 512.

kernel-2.6.32-131.17.1.el6.x86_64
xfsprogs-3.1.1-4.el6.x86_64

Is mkfs.xfs -s size=4096 the right way?

Yes, we probably should default to 4096 bytes sector size for these drivers, but still allow 512 byte sector sized filesystems if explicitly requested.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw

Dne 14.10.2011 15:20, Christoph Hellwig napsal(a):

Quoted 8 lines · Zdenek Kaspar
Quoted 7 lines

Hello list, I have hard drive which reports:

logical_block_size -> 512
physical_block_size -> 4096

Default mkfs.xfs sets sectsz to 512.

Quoted 8 lines
Quoted 4 lines

kernel-2.6.32-131.17.1.el6.x86_64
xfsprogs-3.1.1-4.el6.x86_64

Is mkfs.xfs -s size=4096 the right way?

Yes, we probably should default to 4096 bytes sector size for these drivers, but still allow 512 byte sector sized filesystems if explicitly requested.

Makes sense, thanks for clarification Christoph.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs