From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] can't remove volume group
Date: Sun, 20 Nov 2005 13:50:39 +0100 [thread overview]
Message-ID: <20051120125039.GD30556@redhat.com> (raw)
In-Reply-To: <200511192312.49547.Matthias.Meyer@gmx.li>
It says you can't remove an active VG ->
vgchange -an LVM2 ; vgremove LVM2
On Sat, Nov 19, 2005 at 11:12:49PM +0100, Matthias Meyer wrote:
> Hello,
>
> I have a volume group with one physical volume and I can't remove this
> volume group :-(
>
> vdr:~# vgdisplay LVM2
> --- Volume group ---
> VG Name LVM2
> VG Access read/write
> VG Status available/resizable
> VG # 1
> MAX LV 256
> Cur LV 0
> Open LV 0
> MAX LV Size 2 TB
> Max PV 256
> Cur PV 1
> Act PV 1
> VG Size 92.75 GB
> PE Size 256 MB
> Total PE 371
> Alloc PE / Size 0 / 0
> Free PE / Size 371 / 92.75 GB
> VG UUID 2Oojws-3owd-iK1X-wbpy-Mx9X-CieY-7JN0b0
>
> vdr:~# vgreduce LVM2 /dev/hdd1
> vgreduce -- can't reduce volume group "LVM2" to zero physical volumes
>
> vdr:~# vgremove LVM2
> vgremove -- ERROR: can't remove active volume group "LVM2"
>
> What I have to do?
>
> Thanks in advance
> Matthias
> --
> Don't Panic
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
Cluster and Storage Development 56242 Marienrachdorf
Germany
Mauelshagen@RedHat.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2005-11-20 12:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-19 22:12 [linux-lvm] can't remove volume group Matthias Meyer
2005-11-20 12:50 ` Heinz Mauelshagen [this message]
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=20051120125039.GD30556@redhat.com \
--to=mauelshagen@redhat.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).