Linux LVM users
 help / color / mirror / Atom feed
From: Aran Cox <acox@ia.primustel.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] pvmove on the same PV
Date: Mon, 06 Dec 2004 20:37:13 -0600	[thread overview]
Message-ID: <1102387034.5390.13.camel@cain> (raw)

Is it possible to move an extent from one position to another on the
same PV?  It used to be possible under LVM1.  

The reason I ask is that a long time ago I wrote a sort of LVM
defrag/repacker program.  Basically it was a higher level interface to
the pvmove program.  I wrote it because when I would shrink a LV and
enlarge another on a mostly utilized VG the logical extents would end up
highly non-contiguous, especially after a few such re-organizations.  

In any case, I was updating it for LVM2 today and it seems that pvmove
refuses to move an extent from one position on a PV to another position
on the same PV.  I guess I can work around this but it means lots of
wasted moves.  Also, I'd be happy to share this tool if anyone's
remotely interested, once I've updated it for LVM2.


Thanks,
-- 
Aran Cox <acox@ia.primustel.com>

             reply	other threads:[~2004-12-07  2:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-07  2:37 Aran Cox [this message]
2004-12-07  3:16 ` [linux-lvm] pvmove on the same PV Eric M. Hopper
2004-12-07 14:17 ` Alasdair G Kergon

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=1102387034.5390.13.camel@cain \
    --to=acox@ia.primustel.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