This is a discussion on Removing volume group from ODM? within the AIX Operating System forums, part of the Unix Operating Systems category; --> Folks, How do I remove volume group from ODM? Previous sys admin remove a disk from the system with ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Folks, How do I remove volume group from ODM? Previous sys admin remove a disk from the system with de-activating volume gorup and removing it. It is still there in the ODM with no disk attached to it. When I use smitty to remove the volume group I get following error: Remove a Volume Group Type or select a value for the entry field. Press Enter AFTER making all desired changes. [Entry Fields] * VOLUME GROUP name [vg02] 1800-111 A value must be specified in the entry field for: "VOLUME GROUP name". Underneath this option runs getlvodm command as follows: # getlvodm -v vg02 0006bf3f00004c0000000101c57f5fa7 [[root@lidp25]]/: # getlvodm -w 0006bf3f00004c0000000101c57f5fa7 | cut -f2 -d' ' If I run same commands on rootvg, the second getlvodm gives me the disk associated with rootvg: # getlvodm -v rootvg 0006bf3f00004c00000000fc6fb9b445 # getlvodm -w 0006bf3f00004c00000000fc6fb9b445 | cut -f2 -d' ' hdisk0 If I try to run varyonvg command I get following error: # varyonvg vg02 0516-008 varyonvg: LVM system call returned an unknown error code (3). -- Hemant Shah /"\ ASCII ribbon campaign E-mail: NoJunkMailshah@xnet.com \ / --------------------- X against HTML mail TO REPLY, REMOVE NoJunkMail / \ and postings FROM MY E-MAIL ADDRESS. -----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------ I haven't lost my mind, Above opinions are mine only. it's backed up on tape somewhere. Others can have their own. |
| |||
| try doing: exportvg vg02 On Thu, 29 Jun 2006 18:52:31 +0000 (UTC), Hemant Shah <shah@typhoon.xnet.com> wrote: > >Folks, > > How do I remove volume group from ODM? > > Previous sys admin remove a disk from the system with de-activating volume > gorup and removing it. It is still there in the ODM with no disk attached > to it. > > When I use smitty to remove the volume group I get following error: > > > Remove a Volume Group > >Type or select a value for the entry field. >Press Enter AFTER making all desired changes. > > [Entry Fields] >* VOLUME GROUP name [vg02] > > > > 1800-111 A value must be specified in the > entry field for: > "VOLUME GROUP name". > >Underneath this option runs getlvodm command as follows: > ># getlvodm -v vg02 >0006bf3f00004c0000000101c57f5fa7 > >[[root@lidp25]]/: ># getlvodm -w 0006bf3f00004c0000000101c57f5fa7 | cut -f2 -d' ' > > >If I run same commands on rootvg, the second getlvodm gives me the disk >associated with rootvg: > ># getlvodm -v rootvg >0006bf3f00004c00000000fc6fb9b445 > ># getlvodm -w 0006bf3f00004c00000000fc6fb9b445 | cut -f2 -d' ' >hdisk0 > > >If I try to run varyonvg command I get following error: > ># varyonvg vg02 >0516-008 varyonvg: LVM system call returned an unknown > error code (3). |
| ||||
| Thanks, that worked. While stranded on information super highway Kent Squires wrote: > try doing: exportvg vg02 > > On Thu, 29 Jun 2006 18:52:31 +0000 (UTC), Hemant Shah > <shah@typhoon.xnet.com> wrote: > >> >>Folks, >> >> How do I remove volume group from ODM? >> >> Previous sys admin remove a disk from the system with de-activating volume >> gorup and removing it. It is still there in the ODM with no disk attached >> to it. >> >> When I use smitty to remove the volume group I get following error: >> >> >> Remove a Volume Group >> >>Type or select a value for the entry field. >>Press Enter AFTER making all desired changes. >> >> [Entry Fields] >>* VOLUME GROUP name [vg02] >> >> >> >> 1800-111 A value must be specified in the >> entry field for: >> "VOLUME GROUP name". >> >>Underneath this option runs getlvodm command as follows: >> >># getlvodm -v vg02 >>0006bf3f00004c0000000101c57f5fa7 >> >>[[root@lidp25]]/: >># getlvodm -w 0006bf3f00004c0000000101c57f5fa7 | cut -f2 -d' ' >> >> >>If I run same commands on rootvg, the second getlvodm gives me the disk >>associated with rootvg: >> >># getlvodm -v rootvg >>0006bf3f00004c00000000fc6fb9b445 >> >># getlvodm -w 0006bf3f00004c00000000fc6fb9b445 | cut -f2 -d' ' >>hdisk0 >> >> >>If I try to run varyonvg command I get following error: >> >># varyonvg vg02 >>0516-008 varyonvg: LVM system call returned an unknown >> error code (3). -- Hemant Shah /"\ ASCII ribbon campaign E-mail: NoJunkMailshah@xnet.com \ / --------------------- X against HTML mail TO REPLY, REMOVE NoJunkMail / \ and postings FROM MY E-MAIL ADDRESS. -----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------ I haven't lost my mind, Above opinions are mine only. it's backed up on tape somewhere. Others can have their own. |