Operating System - HP-UX
1837850 Members
2894 Online
110121 Solutions
New Discussion

HELP. My disks have new names and my VG won't activate

 
Ray Humpage
Frequent Advisor

HELP. My disks have new names and my VG won't activate

I lost an HBA and all my disks showed as NO_HW.
The other HBA didnt take over like they should have. When I rebooted the other HBA did take over and shows all disks on both FC10 arrays. The disks have new names though and my VG won't activate.

nmhptprd(/)# vgchange -a y /dev/vg08
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk
/c8t8d0":
The path of the physical volume refers to a device that does not
exist, or is not configured into the kernel.
vgchange: The path of the physical volume refers to a device that does not
exist, or is not configured into the kernel.
vgchange: The path of the physical volume refers to a device that does not
exist, or is not configured into the kernel.
vgchange: Activation mode requested for the volume group "/dev/vg08" conflicts w
ith configured mode.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c8t8d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c8t9d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c8t4d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: HELP. My disks have new names and my VG won't activate

Just recreate your lvmtab:

mv /etc/lvmtab /etc/lvmtab.sav
vgscan -a


Pete

Pete
Tim Nelson
Honored Contributor

Re: HELP. My disks have new names and my VG won't activate

I am thinking a vgcan and a possible vgimport.

vgscan to recreate /etc/lvmtab after rename.
If vgimport is needed vgscan will advise.

Cheers.
Ray Humpage
Frequent Advisor

Re: HELP. My disks have new names and my VG won't activate

HP engineer just showed up with the replacement part. I currently have the box down and am replacing the HBA. Will see what DEV path names come up after it's replaced. Any luck that I will get my original names once the HBA is replaced?

If not I will then try the vgscan. Check back with you in about an hour. Thanks for the advice so far.
Sajjad Sahir
Honored Contributor

Re: HELP. My disks have new names and my VG won't activate


u have to run vgscan command query with any volume group it will recreate it

sajjad