* Advanced Format drive - sectsz question
@ 2011-10-14 1:38 Zdenek Kaspar
2011-10-14 13:20 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Zdenek Kaspar @ 2011-10-14 1:38 UTC (permalink / raw)
To: linux-xfs
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
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Advanced Format drive - sectsz question
2011-10-14 1:38 Advanced Format drive - sectsz question Zdenek Kaspar
@ 2011-10-14 13:20 ` Christoph Hellwig
2011-10-14 14:51 ` Zdenek Kaspar
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2011-10-14 13:20 UTC (permalink / raw)
To: Zdenek Kaspar; +Cc: linux-xfs
On Fri, Oct 14, 2011 at 03:38:14AM +0200, Zdenek Kaspar wrote:
> 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
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Advanced Format drive - sectsz question
2011-10-14 13:20 ` Christoph Hellwig
@ 2011-10-14 14:51 ` Zdenek Kaspar
0 siblings, 0 replies; 3+ messages in thread
From: Zdenek Kaspar @ 2011-10-14 14:51 UTC (permalink / raw)
To: linux-xfs
Dne 14.10.2011 15:20, Christoph Hellwig napsal(a):
> On Fri, Oct 14, 2011 at 03:38:14AM +0200, Zdenek Kaspar wrote:
>> 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.
Makes sense, thanks for clarification Christoph.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-14 14:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-14 1:38 Advanced Format drive - sectsz question Zdenek Kaspar
2011-10-14 13:20 ` Christoph Hellwig
2011-10-14 14:51 ` Zdenek Kaspar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox