All of lore.kernel.org
 help / color / mirror / Atom feed
* Support for 4 KiB disk sectors in Linux kernel
@ 2012-04-20 14:21 Lukasz Dorau
  2012-04-20 15:22 ` Jeff Moyer
  2012-04-20 16:13 ` Martin K. Petersen
  0 siblings, 2 replies; 10+ messages in thread
From: Lukasz Dorau @ 2012-04-20 14:21 UTC (permalink / raw)
  To: linux-ide

Hi

Where can I find information about current status of support for 4 KiB 
disk sectors in Linux kernel?
Is there a leader/maintainer of this issue in community?

Regards,
Lukasz


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Support for 4 KiB disk sectors in Linux kernel
  2012-04-20 14:21 Support for 4 KiB disk sectors in Linux kernel Lukasz Dorau
@ 2012-04-20 15:22 ` Jeff Moyer
  2012-04-23 11:41   ` Dorau, Lukasz
  2012-04-20 16:13 ` Martin K. Petersen
  1 sibling, 1 reply; 10+ messages in thread
From: Jeff Moyer @ 2012-04-20 15:22 UTC (permalink / raw)
  To: Lukasz Dorau; +Cc: linux-ide

Lukasz Dorau <lukasz.dorau@intel.com> writes:

> Hi
>
> Where can I find information about current status of support for 4 KiB
> disk sectors in Linux kernel?
> Is there a leader/maintainer of this issue in community?

4KB sector devices work just fine.  Are you experiencing any issues in
particular?

Cheers,
Jeff

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Support for 4 KiB disk sectors in Linux kernel
  2012-04-20 14:21 Support for 4 KiB disk sectors in Linux kernel Lukasz Dorau
  2012-04-20 15:22 ` Jeff Moyer
@ 2012-04-20 16:13 ` Martin K. Petersen
  2012-04-20 17:22   ` Martin Mokrejs
  1 sibling, 1 reply; 10+ messages in thread
From: Martin K. Petersen @ 2012-04-20 16:13 UTC (permalink / raw)
  To: Lukasz Dorau; +Cc: linux-ide

>>>>> "Lukasz" == Lukasz Dorau <lukasz.dorau@intel.com> writes:

Lukasz> Where can I find information about current status of support for
Lukasz> 4 KiB disk sectors in Linux kernel?  Is there a
Lukasz> leader/maintainer of this issue in community?

We have supported 4Kn for a decade. 512e obviously works out of the
box. However, filesystem/partition/DM tooling has been updated to align
correctly on 512e devices.

See:

	http://oss.oracle.com/~mkp/docs/linux-advanced-storage.pdf

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Support for 4 KiB disk sectors in Linux kernel
  2012-04-20 16:13 ` Martin K. Petersen
@ 2012-04-20 17:22   ` Martin Mokrejs
  2012-04-23 11:44     ` Dorau, Lukasz
  2012-04-27 12:14     ` Dorau, Lukasz
  0 siblings, 2 replies; 10+ messages in thread
From: Martin Mokrejs @ 2012-04-20 17:22 UTC (permalink / raw)
  To: Martin K. Petersen; +Cc: Lukasz Dorau, linux-ide

Martin K. Petersen wrote:
>>>>>> "Lukasz" == Lukasz Dorau <lukasz.dorau@intel.com> writes:
> 
> Lukasz> Where can I find information about current status of support for
> Lukasz> 4 KiB disk sectors in Linux kernel?  Is there a
> Lukasz> leader/maintainer of this issue in community?
> 
> We have supported 4Kn for a decade. 512e obviously works out of the
> box. However, filesystem/partition/DM tooling has been updated to align
> correctly on 512e devices.
> 
> See:
> 
> 	http://oss.oracle.com/~mkp/docs/linux-advanced-storage.pdf

Also:

https://ata.wiki.kernel.org/articles/a/t/a/ATA_4_KiB_sector_issues_d4b8.html
http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot_Problems:Windows_Writes_To_MBR
https://help.ubuntu.com/community/Grub2


I agree there is nothing about under Documentation/ in kernel sources, at least
from users point of view.
Martin

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Support for 4 KiB disk sectors in Linux kernel
  2012-04-20 15:22 ` Jeff Moyer
@ 2012-04-23 11:41   ` Dorau, Lukasz
  0 siblings, 0 replies; 10+ messages in thread
From: Dorau, Lukasz @ 2012-04-23 11:41 UTC (permalink / raw)
  To: Jeff Moyer; +Cc: linux-ide

On Friday, April 20, 2012 5:22 PM Jeff Moyer <jmoyer@redhat.com> wrote:
> 
> Lukasz Dorau <lukasz.dorau@intel.com> writes:
> 
> > Hi
> >
> > Where can I find information about current status of support for 4 KiB
> > disk sectors in Linux kernel?
> > Is there a leader/maintainer of this issue in community?
> 
> 4KB sector devices work just fine.  Are you experiencing any issues in
> particular?
> 

No, no issues. Thanks. 

Regards,
Lukasz


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Support for 4 KiB disk sectors in Linux kernel
  2012-04-20 17:22   ` Martin Mokrejs
@ 2012-04-23 11:44     ` Dorau, Lukasz
  2012-04-27 12:14     ` Dorau, Lukasz
  1 sibling, 0 replies; 10+ messages in thread
From: Dorau, Lukasz @ 2012-04-23 11:44 UTC (permalink / raw)
  To: Martin Mokrejs, Martin K. Petersen; +Cc: linux-ide

On Friday, April 20, 2012 7:22 PM Martin Mokrejs wrote:
> 
> Martin K. Petersen wrote:
> >>>>>> "Lukasz" == Lukasz Dorau <lukasz.dorau@intel.com> writes:
> >
> > Lukasz> Where can I find information about current status of support for
> > Lukasz> 4 KiB disk sectors in Linux kernel?  Is there a
> > Lukasz> leader/maintainer of this issue in community?
> >
> > We have supported 4Kn for a decade. 512e obviously works out of the
> > box. However, filesystem/partition/DM tooling has been updated to align
> > correctly on 512e devices.
> >
> > See:
> >
> > 	http://oss.oracle.com/~mkp/docs/linux-advanced-storage.pdf
> 
> Also:
> 
> https://ata.wiki.kernel.org/articles/a/t/a/ATA_4_KiB_sector_issues_d4b8.ht
> ml
> http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot
> _Problems:Windows_Writes_To_MBR
> https://help.ubuntu.com/community/Grub2
> 
> 
> I agree there is nothing about under Documentation/ in kernel sources, at
> least
> from users point of view.
> Martin
> --

Thanks a lot! 

Regards,
Lukasz


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Support for 4 KiB disk sectors in Linux kernel
  2012-04-20 17:22   ` Martin Mokrejs
  2012-04-23 11:44     ` Dorau, Lukasz
@ 2012-04-27 12:14     ` Dorau, Lukasz
  2012-04-27 12:30       ` Martin Mokrejs
  2012-04-27 14:53       ` Dan Williams
  1 sibling, 2 replies; 10+ messages in thread
From: Dorau, Lukasz @ 2012-04-27 12:14 UTC (permalink / raw)
  To: Martin Mokrejs, Martin K. Petersen; +Cc: linux-ide

On Friday, April 20, 2012 7:22 PM Martin Mokrejs wrote:
> 
> Martin K. Petersen wrote:
> >>>>>> "Lukasz" == Lukasz Dorau <lukasz.dorau@intel.com> writes:
> >
> > Lukasz> Where can I find information about current status of support for
> > Lukasz> 4 KiB disk sectors in Linux kernel?  Is there a
> > Lukasz> leader/maintainer of this issue in community?
> >
> > We have supported 4Kn for a decade. 512e obviously works out of the
> > box. However, filesystem/partition/DM tooling has been updated to align
> > correctly on 512e devices.
> >

Does it mean that I can just plug the 4K HDD in and it will work without making any changes in kernel?

Lukasz

> > See:
> >
> > 	http://oss.oracle.com/~mkp/docs/linux-advanced-storage.pdf
> 
> Also:
> 
> https://ata.wiki.kernel.org/articles/a/t/a/ATA_4_KiB_sector_issues_d4b8.ht
> ml
> http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot
> _Problems:Windows_Writes_To_MBR
> https://help.ubuntu.com/community/Grub2
> 
> 
> I agree there is nothing about under Documentation/ in kernel sources, at
> least
> from users point of view.
> Martin
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Support for 4 KiB disk sectors in Linux kernel
  2012-04-27 12:14     ` Dorau, Lukasz
@ 2012-04-27 12:30       ` Martin Mokrejs
  2012-04-27 14:53       ` Dan Williams
  1 sibling, 0 replies; 10+ messages in thread
From: Martin Mokrejs @ 2012-04-27 12:30 UTC (permalink / raw)
  To: Dorau, Lukasz; +Cc: Martin K. Petersen, linux-ide

Dorau, Lukasz wrote:
> On Friday, April 20, 2012 7:22 PM Martin Mokrejs wrote:
>>
>> Martin K. Petersen wrote:
>>>>>>>> "Lukasz" == Lukasz Dorau <lukasz.dorau@intel.com> writes:
>>>
>>> Lukasz> Where can I find information about current status of support for
>>> Lukasz> 4 KiB disk sectors in Linux kernel?  Is there a
>>> Lukasz> leader/maintainer of this issue in community?
>>>
>>> We have supported 4Kn for a decade. 512e obviously works out of the
>>> box. However, filesystem/partition/DM tooling has been updated to align
>>> correctly on 512e devices.
>>>
> 
> Does it mean that I can just plug the 4K HDD in and it will work without making any changes in kernel?

Yes, only make sure you have recent enough fdisk/gdisk or other partition
manager and make first partition start at sector 2048 (instead of former
default start sector 63) to be sure you will have no alignment issues.

If you use EFI partition instead of the MS-DOS type which cannot span 2TB
drives already, you will need CONFIG_EFI_PARTITION=y and gdisk installed
and forget about fdisk.
Martin


> 
> Lukasz
> 
>>> See:
>>>
>>> 	http://oss.oracle.com/~mkp/docs/linux-advanced-storage.pdf
>>
>> Also:
>>
>> https://ata.wiki.kernel.org/articles/a/t/a/ATA_4_KiB_sector_issues_d4b8.ht
>> ml
>> http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot
>> _Problems:Windows_Writes_To_MBR
>> https://help.ubuntu.com/community/Grub2
>>
>>
>> I agree there is nothing about under Documentation/ in kernel sources, at
>> least
>> from users point of view.
>> Martin
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Support for 4 KiB disk sectors in Linux kernel
  2012-04-27 12:14     ` Dorau, Lukasz
  2012-04-27 12:30       ` Martin Mokrejs
@ 2012-04-27 14:53       ` Dan Williams
  1 sibling, 0 replies; 10+ messages in thread
From: Dan Williams @ 2012-04-27 14:53 UTC (permalink / raw)
  To: Dorau, Lukasz; +Cc: Martin Mokrejs, Martin K. Petersen, linux-ide

On Fri, Apr 27, 2012 at 5:14 AM, Dorau, Lukasz <lukasz.dorau@intel.com> wrote:
> On Friday, April 20, 2012 7:22 PM Martin Mokrejs wrote:
>>
>> Martin K. Petersen wrote:
>> >>>>>> "Lukasz" == Lukasz Dorau <lukasz.dorau@intel.com> writes:
>> >
>> > Lukasz> Where can I find information about current status of support for
>> > Lukasz> 4 KiB disk sectors in Linux kernel?  Is there a
>> > Lukasz> leader/maintainer of this issue in community?
>> >
>> > We have supported 4Kn for a decade. 512e obviously works out of the
>> > box. However, filesystem/partition/DM tooling has been updated to align
>> > correctly on 512e devices.
>> >
>
> Does it mean that I can just plug the 4K HDD in and it will work without making any changes in kernel?
>

See sd_read_capacity() in drivers/scsi/sd.c

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Support for 4 KiB disk sectors in Linux kernel
@ 2012-04-20 14:22 Lukasz Dorau
  0 siblings, 0 replies; 10+ messages in thread
From: Lukasz Dorau @ 2012-04-20 14:22 UTC (permalink / raw)
  To: linux-kernel

Hi

Where can I find information about current status of support for 4 KiB 
disk sectors in Linux kernel?
Is there a leader/maintainer of this issue in community?

Regards,
Lukasz


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-04-27 14:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-20 14:21 Support for 4 KiB disk sectors in Linux kernel Lukasz Dorau
2012-04-20 15:22 ` Jeff Moyer
2012-04-23 11:41   ` Dorau, Lukasz
2012-04-20 16:13 ` Martin K. Petersen
2012-04-20 17:22   ` Martin Mokrejs
2012-04-23 11:44     ` Dorau, Lukasz
2012-04-27 12:14     ` Dorau, Lukasz
2012-04-27 12:30       ` Martin Mokrejs
2012-04-27 14:53       ` Dan Williams
2012-04-20 14:22 Lukasz Dorau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.