Operating System - HP-UX
1748163 Members
3645 Online
108758 Solutions
New Discussion юеВ

Rezoned EVA not lvmtab out of date

 
Kevin P Bannister
Occasional Contributor

Rezoned EVA not lvmtab out of date

Hi Folks,
Our EVA team recreated the fabric on our eva.

we are running hp-ux 11.31 server has 2 hba's

(alsmp2):/:# vgdisplay /dev/vg05
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t0d4":
The specified path does not correspond to physical volume attached to
this volume group
and "/dev/dsk/c2t0d4":
and "/dev/dsk/c8t0d4":


looking at lvmtab all links failed except /dev/dsk/c4t0d4

thus I tried
(alsmp2):/:# ioscan -m dsf /dev/dsk/c4t0d4
Persistent DSF Legacy DSF(s)
========================================
/dev/disk/disk28 /dev/dsk/c4t0d4


(alsmp2):/:# ioscan -m dsf /dev/disk/disk28
Persistent DSF Legacy DSF(s)
========================================
/dev/disk/disk28 /dev/dsk/c4t0d4
/dev/dsk/c24t0d4
/dev/dsk/c16t0d4
/dev/dsk/c20t0d4

Now can I run vgreduce to clear the redundant links as only one is still working.
Then can I run vgextend with the new links I get above?

Also can I do it on a live system as the old links do not work anyway?

Please the exact command would help a stressed administrator.
Thanks
Kevin
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: Rezoned EVA not lvmtab out of date

man vgscan:

The vgscan command allows the re-creation of the /etc/lvmtab file and possibly the associated volume group device files. This command should be run only in the event of a catastrophic error such as the deletion of the /etc/lvmtab file or the mismatch of names of the physical volumes in the /etc/lvmtab file to the actual physical volume path configuration.


Pete

Pete
Aneesh Mohan
Honored Contributor

Re: Rezoned EVA not lvmtab out of date

do,

mv /etc/lvmtab /etc/lvmtab.bck
vgscan -v -N
vgchange -a y
lvlnboot -R


Aneesh
S. Ney
Trusted Contributor

Re: Rezoned EVA not lvmtab out of date

I've attached a doc with scsimgr commands. Page 28 and go forward from there.
Kevin P Bannister
Occasional Contributor

Re: Rezoned EVA not lvmtab out of date

Used feedback but used commands
vgreduce and vgextend to fix .