All of lore.kernel.org
 help / color / mirror / Atom feed
From: Loic Dachary <loic@dachary.org>
To: Somnath Roy <Somnath.Roy@sandisk.com>,
	ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: ceph-disk disk partition alignment
Date: Tue, 23 Feb 2016 12:11:49 +0700	[thread overview]
Message-ID: <56CBEA15.4090309@dachary.org> (raw)
In-Reply-To: <BN1PR02MB0555D538EB56A2908359F32F4A30@BN1PR02MB055.namprd02.prod.outlook.com>

Hi,

This not a ceph-deploy issue, rather a ceph-disk issue. Did you file an issue regarding this problem or would you like me to create one ? IIRC there are cases where sgdisk is not able to create a partition  aligned as recommended (but parted could). Do you know anything about that ?

Cheers

On 23/02/2016 01:27, Somnath Roy wrote:
> Hi,
> I am seeing ceph-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 , any reason why we are doing like this ?



> Thanks & Regards
> Somnath
>

-- 
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2016-02-23  5:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-22 18:27 ceph-deploy disk partition alignment Somnath Roy
2016-02-23  5:11 ` Loic Dachary [this message]
2016-02-23  5:24   ` ceph-disk " Somnath Roy
2016-02-23  5:49     ` Loic Dachary
2016-02-23  7:09       ` Василий Ангапов
2016-02-23 16:52         ` Somnath Roy
2016-03-07  8:07       ` Ric Wheeler
2016-03-07  8:44         ` Loic Dachary
2016-02-23 12:12 ` ceph-deploy " Alfredo Deza
2016-02-23 16:58   ` Somnath Roy
  -- strict thread matches above, loose matches on Subject: below --
2016-02-24 22:01 ceph-disk " Somnath Roy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56CBEA15.4090309@dachary.org \
    --to=loic@dachary.org \
    --cc=Somnath.Roy@sandisk.com \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.