Remove faulty disk LV from VG

Hi,

Have mirrored the primary disk to 3 .

Server and OS:
# uname -a
HP-UX pdwp1s B.11.11 U 9000/800 118434630 unlimited-user license

# model
9000/800/L3000-7x

# strings /etc/lvmtab
/dev/vg00
+F@<
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/dsk/c2t0d0

But now I have only 1 disk active (Other 2 removed ).. But am failed to remove the red marked disk from VG00 .. .

Here's the present status

# vgdisplay -v vg00
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      10
Open LV                     10
Max PV                      16
Cur PV                      3
Act PV                      2
Max PE per PV               4350
VGDA                        4
PE Size (Mbytes)            8
Total PE                    8680
Alloc PE                    7713
Free PE                     967
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0

# lvlnboot -v
lvlnboot: Couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group

Now I want to remove the above VG error as something expecting like this .

# strings /etc/lvmtab
/dev/vg00
+F@<
/dev/dsk/c1t2d0

## Have tried below
# vgreduce vg00 /dev/dsk/c2t0d0
vgreduce: Couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group

# mv /etc/lvmtab /etc/lvmtab_
# vgscan -av
# vgchange -a y /dev/vg00
vgchange: Volume group "/dev/vg00" does not exist in the "/etc/lvmtab" file.

Please suggest the Solution steps ...

--Shirish Shukla

Did your try the following?

 
 vgreduce -f vg00

Extract from man vgreduce:

Please post the output from:

ioscan -fn

And explain in detail how you got into this situation. If this is another attempt at cloning without using a HP-UX Ignite backup or a cold build, please give the history with every command typed.
No idea why you persist in trying to make a valid system from trying to repair broken mirrors. It is not possible.

This is what I did after mirroring to remove the old disks:

1.unmirror disks

spthpnXX:/root# lvreduce -m 0 /dev/vgSPAN/lvol1 /dev/dsk/c33t8d2 /dev/dsk/c35t8d3 /dev/dsk/c33t8d4 /dev/dsk/c35t8d5 
Logical volume "/dev/vgSPAN/lvol1" has been successfully reduced.
Volume Group configuration for /dev/vgSPAN has been saved in /etc/lvmconf/vgSPAN.conf
  1. remove old LUN from VG
# vgreduce vgSPAN /dev/dsk/c33t8d2 /dev/dsk/c35t8d3 /dev/dsk/c33t8d4 /dev/dsk/c35t8d5
  1. Remove the old entries from /etc/lvmpvg
PVG     PVG0
/dev/dsk/c33t8d2
/dev/dsk/c35t8d3
/dev/dsk/c33t8d4
/dev/dsk/c35t8d5
  1. issue "rmsf /dev/dsk/cXtXdX" on following devices
rmsf /dev/dsk/c33t8d2
rmsf /dev/dsk/c35t8d3
rmsf /dev/dsk/c33t8d4
rmsf /dev/dsk/c35t8d5

OR

# rmsf -H <HW PATH>

@hedkandi
Were you running HP-UX when you issued those commands?

@methyl

yes..its from an 11.11