linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Fredrik Tolf <fredrik@dolda2000.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] pvmove to smaller PVs
Date: Wed, 05 Apr 2006 19:34:18 +0200	[thread overview]
Message-ID: <1144258458.32119.8.camel@pc7.dolda2000.com> (raw)

I'm trying to use pvmove to move data from a 300 GB S-ATA disk onto
four, smaller 120 GB IDE disks. However, pvmove tells me that it cannot
allocate enough contiguous PEs to fit 300 GB, like this:

# pvmove /dev/sde1
  Insufficient contiguous allocatable extents (28617) for logical volume
pvmove0: 71541 required
  Unable to allocate temporary LV for pvmove.

I can, of course, understand that it can't find contiguous PEs
corresponding to 300 GB, but I don't understand why it should need it to
be contiguous. Can pvmove not just divide that storage into three
"partitions", each fitting on one 120 GB disk, and move them? Is there a
way for me to tell it to do so?

I seem to be able to use something like "pvmove /dev/sde1:0-28616" to
tell pvmove manually to do this for me, but this poses a small problem
for me, as not all of the data on the disks I want to move from are
allocated where I know them to be. This particular disk is fully
allocated, so that I know what I could do with that syntax, but is there
really no way to tell pvmove to do this automatically? It just seems
kind of strange to me.

Fredrik Tolf

             reply	other threads:[~2006-04-05 17:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-05 17:34 Fredrik Tolf [this message]
2006-04-05 17:44 ` [linux-lvm] pvmove to smaller PVs Alasdair G Kergon
2006-04-05 17:57   ` Matt P
2006-04-05 17:58   ` Fredrik Tolf
2006-04-05 18:03     ` Alasdair G Kergon
2006-04-05 18:30       ` Fredrik Tolf
2006-04-27 10:39   ` Dieter Stüken

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=1144258458.32119.8.camel@pc7.dolda2000.com \
    --to=fredrik@dolda2000.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).