remove PV from VG

remove PV from VG

Post by glu.. » Mon, 23 Dec 1996 04:00:00



Hi AIX specialists

who of you could assist me in removing a physical disk drive from a
volume group (e.g. rootvg)? I accidently added a new physical disk to
rootvg and added some swap space. Now I would like to create a user VG
and I removed the new swap space, but how can I remove the disk from the
volume group?

Thank you for your support

Gerard Luechinger
Osys AG, Zurich, Switzerland

 
 
 

remove PV from VG

Post by Ronald S Woa » Tue, 24 Dec 1996 04:00:00



> who of you could assist me in removing a physical disk drive from a
> volume group (e.g. rootvg)

Look at reducevg...

Ron

 
 
 

remove PV from VG

Post by Patrick Schymitze » Wed, 25 Dec 1996 04:00:00




> > who of you could assist me in removing a physical disk drive from a
> > volume group (e.g. rootvg)

> Look at reducevg...

> Ron

Better yet, use SMIT.
 
 
 

1. cannot remove pv from a vg

I have a volume group which comprises of 2 disks (Physical volumes)
. One day, one of the disks crashes (it cannot be seen as Available,
only as Defined under lsdev). In a haste, i deleted this
defective disk using rmdev without removing it from the volume
group first.
Now even the other disk in the same volume group could not be
removed from the volume group, as it still remembers the info.
of the other disk that i deleted.
Even doing a lsvg -p vg00
gives me errors

Unable to find device id 00000075370502ff in the Device
        Configuration Database.
00000075370502ff  missing     255         255         51..51..51..51..51

What can i do so i can re-use that disk without reinstalling the OS
--
        __

  /      ( -------------  }  System Support Programmer
 (  =l=ll===============__}  Computing & Telecomm. Services Centre
  \   _  (                   Hong Kong Baptist University
   \_/ \__)                  224 Waterloo Road, Hong Kong

2. Linux & Viruses

3. AIX 4.2 VG/LV/PV bug found

4. spin_lock()/spin_lock_irqsave() on UP and SMP machine

5. Add a PV to an existing VG

6. rlogin from Sparc

7. how change a lv on 2 pv's to 1 pv

8. migrate from Solaris to Linux

9. Mirrored disks show PV State removed

10. How to remove a PV from ODM

11. moving lv from one vg to another vg

12. Moving Logical Volumes From One VG To Another VG

13. Removing VG and FS