* [linux-lvm] Activation problem with vgremove
@ 2005-11-25 12:49 Marcus Franke
2005-11-26 8:13 ` AW: " Marcus Franke
0 siblings, 1 reply; 4+ messages in thread
From: Marcus Franke @ 2005-11-25 12:49 UTC (permalink / raw)
To: linux-lvm
Hello all,
I am doing a reconfiguration of one of my servers and am facing
the following problem:
I have one disk using the lvm.
On this disk there is one volumegroup which had two logical
volumes.
I unmounted those volumes and tried to lvremove them. The
first one went down the river without a problem. The second
one I was not able to lvremove it, after a reboot of the
machine, I could remove the logical volume.
Now, I have the problem I want to delete the volume group
too, but vgremove fails like the logical volume. Somewhere
it is marked as active.
[root@master]/mnt# vgremove -v Volume01
vgremove -- locking logical volume manager
vgremove -- checking volume group name "Volume01"
vgremove -- checking volume group "Volume01" activity
vgremove -- ERROR: can't remove active volume group "Volume01"
System is RHEL3 with kernel:
2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686 i686 i386
GNU/Linux
Where can I remove the active flag for the volume group? As I do not
want to reboot the machine again as the next timeframe for reboot will
be
not before tomorrow morning.
Regards,
Marcus
^ permalink raw reply [flat|nested] 4+ messages in thread
* AW: [linux-lvm] Activation problem with vgremove
2005-11-25 12:49 [linux-lvm] Activation problem with vgremove Marcus Franke
@ 2005-11-26 8:13 ` Marcus Franke
2005-11-26 10:51 ` Matthias Meyer
0 siblings, 1 reply; 4+ messages in thread
From: Marcus Franke @ 2005-11-26 8:13 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 1953 bytes --]
Hello,
Ok, had my timeframe, rebooted the server but still the volumegroup
is marked as active. I cannot remove it :(
How can this be and how can I change this? I need to remove the lvm
from the drive. And I want it to happen the clean way.
Not just fdisking it from the drive and let the informations of the lvm
remain somewhere in the config..
Marcus
________________________________
Von: linux-lvm-bounces@redhat.com im Auftrag von Marcus Franke
Gesendet: Fr 25.11.2005 13:49
An: linux-lvm@redhat.com
Betreff: [linux-lvm] Activation problem with vgremove
Hello all,
I am doing a reconfiguration of one of my servers and am facing
the following problem:
I have one disk using the lvm.
On this disk there is one volumegroup which had two logical
volumes.
I unmounted those volumes and tried to lvremove them. The
first one went down the river without a problem. The second
one I was not able to lvremove it, after a reboot of the
machine, I could remove the logical volume.
Now, I have the problem I want to delete the volume group
too, but vgremove fails like the logical volume. Somewhere
it is marked as active.
[root@master]/mnt# vgremove -v Volume01
vgremove -- locking logical volume manager
vgremove -- checking volume group name "Volume01"
vgremove -- checking volume group "Volume01" activity
vgremove -- ERROR: can't remove active volume group "Volume01"
System is RHEL3 with kernel:
2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686 i686 i386
GNU/Linux
Where can I remove the active flag for the volume group? As I do not
want to reboot the machine again as the next timeframe for reboot will
be
not before tomorrow morning.
Regards,
Marcus
_______________________________________________
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/
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 5317 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: AW: [linux-lvm] Activation problem with vgremove
2005-11-26 8:13 ` AW: " Marcus Franke
@ 2005-11-26 10:51 ` Matthias Meyer
2005-11-27 17:47 ` AW: " Marcus Franke
0 siblings, 1 reply; 4+ messages in thread
From: Matthias Meyer @ 2005-11-26 10:51 UTC (permalink / raw)
To: linux-lvm
Am Samstag 26 November 2005 09:13 schrieb Marcus Franke:
> Hello,
>
> Ok, had my timeframe, rebooted the server but still the volumegroup
> is marked as active. I cannot remove it :(
>
> How can this be and how can I change this? I need to remove the lvm
> from the drive. And I want it to happen the clean way.
>
> Not just fdisking it from the drive and let the informations of the lvm
> remain somewhere in the config..
>
>
> Marcus
Did you try "vgchange -an <volumegroup>"?
--
Don't Panic
^ permalink raw reply [flat|nested] 4+ messages in thread
* AW: AW: [linux-lvm] Activation problem with vgremove
2005-11-26 10:51 ` Matthias Meyer
@ 2005-11-27 17:47 ` Marcus Franke
0 siblings, 0 replies; 4+ messages in thread
From: Marcus Franke @ 2005-11-27 17:47 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 993 bytes --]
Ahh, this was the missing information
Thanks!
-----Ursprüngliche Nachricht-----
Von: linux-lvm-bounces@redhat.com im Auftrag von Matthias Meyer
Gesendet: Sa 26.11.2005 11:51
An: linux-lvm@redhat.com
Betreff: Re: AW: [linux-lvm] Activation problem with vgremove
Am Samstag 26 November 2005 09:13 schrieb Marcus Franke:
> Hello,
>
> Ok, had my timeframe, rebooted the server but still the volumegroup
> is marked as active. I cannot remove it :(
>
> How can this be and how can I change this? I need to remove the lvm
> from the drive. And I want it to happen the clean way.
>
> Not just fdisking it from the drive and let the informations of the lvm
> remain somewhere in the config..
>
>
> Marcus
Did you try "vgchange -an <volumegroup>"?
--
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/
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 3185 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-27 17:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-25 12:49 [linux-lvm] Activation problem with vgremove Marcus Franke
2005-11-26 8:13 ` AW: " Marcus Franke
2005-11-26 10:51 ` Matthias Meyer
2005-11-27 17:47 ` AW: " Marcus Franke
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).