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

Notices


Reply
  Search this Thread
Old 12-10-2008, 07:51 AM   #1
Vilius
Member
 
Registered: Jan 2006
Location: Lithuania
Distribution: Arch, Debian
Posts: 193

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


Hi,

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.
-bash-2.05b#

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
Vilius
 
  


Reply



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 serg.kr 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

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 06:54 PM.

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