Re: Support for 4 KiB disk sectors in Linux kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dorau, Lukasz wrote:
> On Friday, April 20, 2012 7:22 PM Martin Mokrejs wrote:
>>
>> Martin K. Petersen wrote:
>>>>>>>> "Lukasz" == Lukasz Dorau <lukasz.dorau@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux