linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Tom Lanyon <tom@netspot.com.au>
To: linux-lvm@redhat.com
Subject: [linux-lvm] pvmove errors
Date: Tue, 31 Jan 2006 17:47:39 +1030	[thread overview]
Message-ID: <43DF0F13.3060302@netspot.com.au> (raw)

Hi List,

I need to move all the data off of my external scsi array and remove it
from my volume group.
The external array is /dev/cciss/c1d0p0, so I issued a pvmove with the
following results:

>/sbin/sh-2.05b# pvmove --version
>pvmove: Logical Volume Manager 1.0.8-2
>Heinz Mauelshagen, Red Hat  26/05/2004 (IOP 10)
>
>/sbin/sh-2.05b# pvscan
>pvscan -- reading all physical volumes (this may take a while...)
>pvscan -- ACTIVE    PV  "/dev/cciss/c1d0p1" of VG "Volume0" [99.99 GB / 99.99 GB Free]
>pvscan -- ACTIVE    PV  "/dev/cciss/c0d0p2" of VG "Volume0" [136.61 GB / 68.89 GB Free]
>pvscan -- total: 2 [236.62 GB] / in use: 2 [236.62 GB] / in  no VG: 0 [0]
>
>/sbin/sh-2.05b# pvmove /dev/cciss/c1d0p1
>pvmove -- moving physical extents in active volume group "Volume0"
>pvmove -- WARNING: if you lose power during the move you may need to restore your LVM metadata from backup!
>pvmove -- do you want to continue? [y/n] y
>/dev/Volume0/group::/dev/Volume0/root: 6901 8704, 6802 8832
>pvmove -- ERROR "Invalid argument" copying extent from "/dev/cciss/c1d0p1"
>pvmove -- ERROR "Invalid argument" remapping
>pvmove -- ERROR "pv_move(): LE of LV remap" moving physical extents
>
I've tried a --force but that didn't help.

Any ideas? Need to get this drive out of the VG asap.

Regards,
Tom

-- 
Tom Lanyon
Systems Administrator
NetSpot Pty Ltd
183 Melbourne Street, North Adelaide, 5006
Ph: +618 8361 6800   Fax: +618 8361 6811
Email: tom@netspot.com.au

             reply	other threads:[~2006-01-31  7:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-31  7:17 Tom Lanyon [this message]
2006-01-31  8:10 ` [linux-lvm] pvmove errors Zac Slade
2006-01-31 23:26   ` Tom Lanyon
2006-02-01  4:03     ` Zac Slade
  -- strict thread matches above, loose matches on Subject: below --
2003-04-23 19:49 Carey Jung
2003-04-25  4:41 ` Heinz J . Mauelshagen
2003-04-25  8:14   ` Carey Jung
2003-04-25 10:03     ` Heinz J . Mauelshagen
2003-04-25 10:46       ` Carey Jung
2003-04-28  3:58         ` Heinz J . Mauelshagen

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=43DF0F13.3060302@netspot.com.au \
    --to=tom@netspot.com.au \
    --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).