Visit Jeremy's Blog.
Go Back > Forums > Other *NIX Forums > AIX
User Name
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.


  Search this Thread
Old 12-10-2008, 07:51 AM   #1
Registered: Jan 2006
Location: Lithuania
Distribution: Debian, CentOS, SLES
Posts: 192

Rep: Reputation: 16
Remove volume group it's lvs and filesystems after vg's pv was deleted ?


Physical volume of vg was removed permanently by acident. What I need right now is to remove all vg's objects(vg itself, vg's lvs, vg's filesystems) to prepare to add new pv and create new volume group and it's objects.
This is from reducevg manual:
"Sometimes a disk is removed from the system without first running reducevg VolumeGroup PhysicalVolume. The VGDA still has this removed disk in it's memory, but the PhysicalVolume name no longer exists or has been reassigned. To remove references to this missing disk you can still use reducevg, but with the Physical Volume ID (PVID) instead of the disk name: reducevg VolumeGroup PVID"

I executed the following:
-bash-2.05b# reducevg vglgpaps 000304cb68e16728
0516-010 lqueryvg: Volume group must be varied on; use varyonvg command.
0516-882 reducevg: Unable to reduce volume group.

How can I do varyonvg if there is no pv ?
Acording to manual it should work - but it doesn't !
What am I donig wrong ?
(maybe I should remove vg's lvs and filesystems before - but how ?)

thank you in advance


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora LVM volume group & Physical Volume resize problem gabeyg Fedora 1 05-14-2008 11:26 AM
Accidentally deleted all my group memberships Linux - Software 4 08-26-2007 10:59 AM
Slow recognition of free space on deleted filesystems robthky Linux - Enterprise 1 07-30-2005 07:24 PM
deleted user group gracenalec Red Hat 1 07-18-2005 10:36 AM
Cannot Remove Volume Group Icon from Desktop rsmith Linux - Newbie 0 01-16-2005 07:21 PM > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 10:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration