linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zac Slade <krakrjak@volumehost.net>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] pvmove errors
Date: Tue, 31 Jan 2006 22:03:11 -0600	[thread overview]
Message-ID: <200601312203.11225.krakrjak@volumehost.net> (raw)
In-Reply-To: <43DFF20D.4000605@netspot.com.au>

On Tuesday 31 January 2006 17:26, Tom Lanyon wrote:
> 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]
> I need to remove /dev/cciss/c1d0p1.
Okay this is more clear.  Yes the pv is unused and should be possible to 
cleanly remove the pv from the volumegroup.

> pvscan shows that its unused, but a "vgreduce Volume0 /dev/cciss/c1d0p1"
> tells me it can't reduce because the PV is used.
It's always more helpful to post the output of vgreduce, but I'll take a stab 
here.

> Any ideas?
First you should mark the pv as unallocatable pvchange -x no /dev/cciss/c1d0p1
The next step is to remove the pv from the volume group using vgreduce 
Volume0 /dev/cciss/c1d0p1 or alternatively vgreduce -a Volume0

If those do not work please post the output of those commands.
--
Zac Slade

  reply	other threads:[~2006-02-02  2:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-31  7:17 [linux-lvm] pvmove errors Tom Lanyon
2006-01-31  8:10 ` Zac Slade
2006-01-31 23:26   ` Tom Lanyon
2006-02-01  4:03     ` Zac Slade [this message]
  -- 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=200601312203.11225.krakrjak@volumehost.net \
    --to=krakrjak@volumehost.net \
    --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).