Linux LVM users
 help / color / mirror / Atom feed
From: Sebastian Walter <sebastian.walter@fu-berlin.de>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] pvmove abort
Date: Thu, 11 Sep 2008 16:20:39 +0200	[thread overview]
Message-ID: <48C92937.9090506@fu-berlin.de> (raw)

Dear list,

I have a problem recovering from an aborted pvmove process. I have a
volume group called storage consisting of 2 partitions (PV's) with 2 TB
each (let's call them A and B). I added a third partition (let's call it
C) using vgextend. Now I did a pvmove A to move A's content to C but
recognized that it would take a long time so I canceled the pvmove
pressing ctrl-c.

After that I saw that some data was already written on the formerly
empty PV C. I tried to pvmove this new pv out of the volume group, but
pvmove refuses to work with the following error:

Skipping locked LV storage
Skipping mirror LV pvmove0
No data to move for storage

There is an additional LV on the VG now called pvmove0. I dont
understand what pvmove does, but this LV seems to be a mirror. Does this
mean that everything is still on the old PV and I can delete the LV
pvmove0? The VG in total seems to be ok.

How can I unlock the volume and free the pv? Any help is greatly
appreciated.

Best regards,
Sebastian

             reply	other threads:[~2008-09-11 14:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-11 14:20 Sebastian Walter [this message]
2008-09-11 14:28 ` [linux-lvm] pvmove abort Alasdair G Kergon
2008-09-11 14:31   ` Sebastian Walter

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=48C92937.9090506@fu-berlin.de \
    --to=sebastian.walter@fu-berlin.de \
    --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