Re: ceph-disk disk partition alignment

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

 



Hi Ric,

On 07/03/2016 15:07, Ric Wheeler wrote:
> On 02/23/2016 11:19 AM, Loic Dachary wrote:
>> Here it is http://tracker.ceph.com/issues/14842
>>
>> On 23/02/2016 12:24, Somnath Roy wrote:
>>> eph-deploy is creating data partition from sector 1 ignoring what sgdisk is recommending (256 in my disk). Basically, it should be aligned with physical sector size (reported in /sys/block/<device>/queue/physical_block_size). In my case it is 16K physical and 4K logical...256 is perfectly fine as sgdisk/fdisk internally decides.
>>>> Disk performance will be severely impacted because of partitioning this way from ceph-deploy ,
> 
> I think that more modern partition tools handle alignment better (and handle the modern partition types) - sfdisk and parted both are better than fdisk I believe.
> 
> For RHEL & Fedora, we try hard to make sure that we use the advertised alignment when we create a partition and default to an alignment on sector 2048 (1MB) if it is not set by the device.

So far we've used https://sourceforge.net/projects/gptfdisk/, do you know if it has limitations that would be better addressed by other tools ?

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux