Unix Technical Forum

Removing volume group from ODM?

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


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 10:54 AM
Hemant Shah
 
Posts: n/a
Default Removing volume group from ODM?


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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 10:54 AM
Kent Squires
 
Posts: n/a
Default Re: Removing volume group from ODM?

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).

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 10:54 AM
Hemant Shah
 
Posts: n/a
Default Re: Removing volume group from ODM?


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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:29 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com