Support for 4 KiB disk sectors in 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
Quoted 5 lines · Lukasz Dorau
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
Quoted 12 lines · Jeff Moyer
Quoted 5 lines · Lukasz Dorau
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
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Lukasz" == Lukasz Dorau <[email protected]> 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
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Quoted 6 lines · Martin K. Petersen
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Lukasz" == Lukasz Dorau <[email protected]> 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?
Quoted 7 lines
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:
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
Quoted 25 lines · Martin Mokrejs
Quoted 6 lines · Martin K. Petersen
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Lukasz" == Lukasz Dorau <[email protected]> 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?
Quoted 7 lines
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:
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
Quoted 5 lines
I agree there is nothing about under
Documentation/in kernel sources, at least
from users point of view.
Martin
--
Thanks a lot!
Regards,
Lukasz
Quoted 4 lines · Martin Mokrejs
Quoted 2 lines · Martin K. Petersen
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Lukasz" == Lukasz Dorau <[email protected]> writes:
Quoted 8 lines
Quoted 8 lines
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
Quoted 21 lines
Quoted 3 lines
See:
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/Grub2I 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Lukasz
Quoted 8 lines · Martin Mokrejs
Quoted 6 lines · Martin K. Petersen
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Lukasz" == Lukasz Dorau <[email protected]> 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?
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
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
Quoted 24 lines
Lukasz
Quoted 21 lines
Quoted 3 lines
See:
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/Grub2I 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Lukasz
Quoted 8 lines · Martin Mokrejs
Quoted 6 lines · Martin K. Petersen
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Lukasz" == Lukasz Dorau <[email protected]> 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?
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
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