linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Eugene Vilensky <evilensky@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Data alignment
Date: Fri, 19 Mar 2010 13:36:56 -0500	[thread overview]
Message-ID: <f4f537b51003191136r5f0d96f1m3c0ed8315382009c@mail.gmail.com> (raw)
In-Reply-To: <4BA3BEBE.2010204@cfl.rr.com>

On Fri, Mar 19, 2010 at 1:13 PM, Phillip Susi <psusi@cfl.rr.com> wrote:
> I have been trying to get my logical volume to be aligned to a 512 KB
> boundary on my SSD so it lines up with the flash erase block. �I thought
> I could do this with pvcreate --dataalign 1024, but this caused the data
> to be aligned to a 1024 sector boundary within the partition, which
> itself starts on sector 63. �I then thought the --dataalignoffsest
> switch would help, but specifying 63 there caused the data to be moved
> to sector 1087. �I tried giving it -63, but was told that a negative
> number is not allowed. �Why not? �How can I get the data to start on
> sector 1024-63 of the partition so it ends up on pysical sector 1024 of
> the disk?

Align the partition?

  reply	other threads:[~2010-03-19 18:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-19 18:13 [linux-lvm] Data alignment Phillip Susi
2010-03-19 18:36 ` Eugene Vilensky [this message]
2010-03-19 18:54   ` Phillip Susi
2010-03-19 19:54     ` Ray Morris
2010-03-19 21:20       ` Phillip Susi
2010-03-20  7:32     ` Luca Berra
2010-03-19 19:25 ` Mike Snitzer
2010-03-19 21:27   ` Phillip Susi
2010-03-19 22:21     ` Mike Snitzer
2010-03-19 23:11       ` Mike Snitzer
2010-03-25 12:54       ` [linux-lvm] Called while suspended Fredrik Skog
2010-03-20 23:02 ` [linux-lvm] Data alignment Stuart D. Gathman
  -- strict thread matches above, loose matches on Subject: below --
2013-02-12 14:58 Phillip Susi
2013-02-12 15:10 ` Mike Snitzer

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=f4f537b51003191136r5f0d96f1m3c0ed8315382009c@mail.gmail.com \
    --to=evilensky@gmail.com \
    --cc=linux-lvm@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).