Operating System - HP-UX
1825011 Members
4620 Online
109678 Solutions
New Discussion юеВ

Replacing bad path from VG and replacing

 
J. Deverel
Occasional Advisor

Replacing bad path from VG and replacing

Someone, long before I came on board, obviously have changed a FC controller and did not update this information on the VGs and now when I perform a vgdisplay on this volume group, I am getting something like this output:


--- Physical volumes ---
PV Name /dev/dsk/c28t0d0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Name /dev/dsk/c11t0d0 Alternate Link
PV Name /dev/dsk/c14t0d0 Alternate Link
PV Status available
Total PE 2911
Free PE 1731
Autoswitch On
Proactive Polling On

Now, as you can guess, I can not remove this missing PV Link using vgreduce.

I need to remove this path and replace it with the right path, but don't know which way to go. Any suggestions ?
4 REPLIES 4
Jeff_Traigle
Honored Contributor

Re: Replacing bad path from VG and replacing

Check the man page. The following should work to remove the missing PVs:

vgreduce -f vgname
--
Jeff Traigle
J. Deverel
Occasional Advisor

Re: Replacing bad path from VG and replacing

just tried this and didn't work.

I need to make a point clear. All 4 devices listed are actually the SAM LUN on the SAN. So, if LVM scans for the VGRA. it will find the information there through one of the other three paths.
No├й
Valued Contributor

Re: Replacing bad path from VG and replacing

Did you try a vgscan?

BDD
Advisor

Re: Replacing bad path from VG and replacing

Hi

if you have enough down time. create map file using vgexport and try reimport specifying new device files

BDD