deleting VolumeGroup where physical volume is gone

deleting VolumeGroup where physical volume is gone

Post by Jim McKinn » Wed, 06 Nov 1996 04:00:00



--

System Administrator Manager, ECE               Office: HH1304
Carnegie Mellon University                      (412) 268-5141
Congratulations to the Pennsylvania Department of Transportation on
being voted the worst highways in America for the 6th consecutive year!

 
 
 

deleting VolumeGroup where physical volume is gone

Post by Jim McKinn » Thu, 07 Nov 1996 04:00:00


Hi,

I'm in the process of trying to delete a volume that is being stubborn
and trying to hang on.  A friend of mine suggested checking out the
FAQ because this was mentioned.  I went there and found the following
entry:

> 1.132: How do I remove a non-existant physical volume?

> To delete a phantom disk from the ODM use reducevg with the pvid
> instead of the disk name.  You are running some command such as lsvg
> or varyonvg and it is griping about a disk that is no longer findable
> right?  In that warning message, it should give you a pvid.  Try one
> of the following, (note: reducevg updates the VGDA but not the ODM).

> reducevg -f <vgname> <pvid>

> ldeletepv -g VGid -p PVid
>       -g Required, specify the VGid of the volume group you are
>          removing the physical volume from
>       -p Required, specify the PVid of the PV to be removed

To get the pvid I run varyonvg with the following results:

        # varyonvg -f afsvg
        PV Status:              0060602340f3413a        PVNOTFND
        0516-013 varyonvg: The volume group cannot be varied on because
                there are no good copies of the descriptor area.

With that information in hand I run reducevg with the following results:

        # reducevg -f afsvg 0060602340f3413a
        0516-010 lqueryvg: Volume group must be varied on; use varyonvg command.
        0516-882 reducevg: Unable to reduce volume group.

The alternative suggestion was to use ldeletepv, but I have no idea to
get the VGid.  This is probably something straight forward, but I haven't
figured that out yet.

If anyone can tell me how to find the GVid, force the varyon for the
volume so the regular utilities work, or anything else I'd appreciate
it.

thanx
 -jmck

--

System Administrator Manager, ECE               Office: HH1304
Carnegie Mellon University                      (412) 268-5141
Congratulations to the Pennsylvania Department of Transportation on
being voted the worst highways in America for the 6th consecutive year!

 
 
 

deleting VolumeGroup where physical volume is gone

Post by Kevin Bra » Thu, 07 Nov 1996 04:00:00


Use the following:

        exportvg <vgname>

This will effectively erase all references ( in the ODM ) to <vgname>.

Kevin Brand

 
 
 

deleting VolumeGroup where physical volume is gone

Post by Rick Cochr » Tue, 12 Nov 1996 04:00:00


I just did this.  The procedure is in:

        http://198.17.57.66/aix.us/go?/pdocs/os/rpdsk.html

The important item was the '-d' in 'rmdev -dl PVname'.

-Rick

|Rick Cochran                                         phone: 607-255-7223|
|Cornell Materials Science Center                       FAX: 607-255-3957|

| "The Founding Fathers did not establish the United States as a    |
| democratic republic so that elected officials would decide trivia,     |
| while all great questions would be decided by the judiciary."             |
|                                       Judge Andrew Kleinfeld           |

 
 
 

deleting VolumeGroup where physical volume is gone

Post by Walter Schwendeman » Sat, 16 Nov 1996 04:00:00


exportvg should work.


> I just did this.  The procedure is in:

>         http://198.17.57.66/aix.us/go?/pdocs/os/rpdsk.html

> The important item was the '-d' in 'rmdev -dl PVname'.

> -Rick

> |Rick Cochran                                         phone: 607-255-7223|
> |Cornell Materials Science Center                       FAX: 607-255-3957|

> | "The Founding Fathers did not establish the United States as a         |
> | democratic republic so that elected officials would decide trivia,     |
> | while all great questions would be decided by the judiciary."          |
> |                                       Judge Andrew Kleinfeld           |

 
 
 

1. Adding Volumes to a Volumegroup don't work

Hello all,

I tried to add a Volume (SSA Raid5 Array) to a volumegroup; but it
doesn't work because the maximum number of partitions/max number of
volumes in the vg reached. I tried to change the VG to a BIGVG.
But this also doesn't work because some volumes in the VG don't have any
free partitions.
Is there a change to migrate only some log. partitions (i.e. 2 or 3) of
a log. volume from one phyisical volume to another

--
Posted via http://dbforums.com

2. DNS and Samba

3. Adding a physical volume to a volume group in 4.1

4. redhat7.2--installation from harddrive fail!!!

5. Trouble w/ a volume group/physical volume

6. Runtime errors with GCC 2.4.5

7. How to restore a volumegroup backuped with savevg when the disk went down...

8. Database Connections

9. Limits on filesystem size/physical volume size under Sol 8?

10. Linux and NDS (eDirectory)...No Physical Volume?

11. Nim bosinst mksysb on 2 physical volume

12. Move Contents of Physical Volume

13. view physical volumes on linux?