LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

The specified path does not correspond to physical volume

 

The specified path does not correspond to physical volume

Hi,

We're using HP-UX 11.23. Efter we changed a fibercard which was not working all paths are recognized with ioscan but we 're having problems updating the vg'swe got error when we run vgdisplay
vgdisplay -v /dev/vgnetapp_tnpt
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c31t1d2":
The specified path does not correspond to physical volume attached to
this volume group

After that , we ran the following command:
$cp /etc/lvmtbab /etc/lvmtab.old
$ vgscan -av

Physical Volume "/dev/dsk/c0t0d0" contains no LVM information
Physical Volume "/dev/dsk/c21t2d0" is not part of a Volume Group
Physical Volume "/dev/dsk/c21t2d4" is not part of a Volume Group
Physical Volume "/dev/dsk/c29t2d0" is not part of a Volume Group
Physical Volume "/dev/dsk/c29t2d4" is not part of a Volume Group

$vgchange -a y

Volume group "/dev/vg00" has been successfully changed.
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c31t0d3":
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.

$lvlnboot -R

lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c31t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 4 disks for "/dev/vgnetapp_erptest"; /etc/lvmtab has 8 disks.
Cannot proceed with backup.

Sorry if this sounds confusing.
Please help
Regard
Tien
17 REPLIES 17
nijokj
Trusted Contributor

Re: The specified path does not correspond to physical volume

for correcting issue vg00
try;

vgimport -v /dev/vg00 /dev/dsk/c31t0d3

and do same for /dev/vgnetapp_tnpt
also

vgimport -v /dev/vgnetapp_tnpt dev/dsk/c31t1d2

can you post
vgdisplay -v vg00
and lvlnboot -v
strings /etc/lvmtab

Re: The specified path does not correspond to physical volume

Hi Nijoko

Thanks for you reply
I've haven't run vgimport yet .

$ vgdisplay -v /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 6042
Free PE 2706
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 112
Allocated PE 224
Used PV 2

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 512
Allocated PE 1024
Used PV 2

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 256
Used PV 2

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 2192
Current LE 137
Allocated PE 274
Used PV 2

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 512
Allocated PE 1024
Used PV 2

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 8000
Current LE 500
Allocated PE 1000
Used PV 2

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 7168
Current LE 448
Allocated PE 896
Used PV 2

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 8704
Current LE 544
Allocated PE 1088
Used PV 2

LV Name /dev/vg00/ISO
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 256
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 4374
Free PE 1225
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c3t0d0
PV Status available
Total PE 4374
Free PE 1481
Autoswitch On
Proactive Polling On




lvlnboot -v

Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d0 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c3t0d0 (0/1/1/1.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t1d0
/dev/dsk/c3t0d0
Root: lvol3 on: /dev/dsk/c2t1d0
/dev/dsk/c3t0d0
Swap: lvol2 on: /dev/dsk/c2t1d0
/dev/dsk/c3t0d0
Dump: lvol2 on: /dev/dsk/c2t1d0, 0

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


$ strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t1d0
/dev/dsk/c3t0d0
/dev/vgnetapp_ent
/dev/dsk/c31t0d3
/dev/dsk/c29t0d3
/dev/dsk/c25t0d3
/dev/dsk/c21t0d3
/dev/dsk/c31t2d2
/dev/dsk/c29t2d2
/dev/dsk/c21t2d2
/dev/dsk/c25t2d2
/dev/vgnetapp_omnix
/dev/dsk/c25t1d0
/dev/dsk/c21t1d0
/dev/dsk/c31t1d0
/dev/dsk/c29t1d0
/dev/dsk/c25t2d1
/dev/dsk/c21t2d1
/dev/dsk/c31t2d1
/dev/dsk/c29t2d1
/dev/vgnetapp_opt_dev
/dev/dsk/c21t0d4
/dev/dsk/c25t0d4
/dev/dsk/c31t0d4
/dev/dsk/c29t0d4
/dev/vgnetapp_opt_tibco
/dev/dsk/c21t0d1
/dev/dsk/c25t0d1
/dev/dsk/c31t0d1
/dev/dsk/c29t0d1
/dev/vgnetapp_rep
/dev/dsk/c31t1d1
/dev/dsk/c29t1d1
/dev/dsk/c31t1d7
/dev/dsk/c29t1d7
/dev/dsk/c25t1d7
/dev/dsk/c21t1d7
/dev/dsk/c25t1d1
/dev/dsk/c21t1d1
/dev/vgnetapp_tnpt
/dev/dsk/c31t1d2
/dev/dsk/c29t1d2
/dev/dsk/c25t1d2
/dev/dsk/c21t1d2
/dev/dsk/c31t1d5
/dev/dsk/c29t1d5
/dev/dsk/c25t1d5
/dev/dsk/c21t1d5
/dev/vgnetapp_teleca
/dev/dsk/c21t1d3
/dev/dsk/c25t1d3
/dev/dsk/c31t1d3
/dev/dsk/c29t1d3
/dev/vgnetapp_opt_oracle
/dev/dsk/c21t0d0
/dev/dsk/c25t0d0
/dev/dsk/c31t0d0
/dev/dsk/c29t0d0
/dev/vgnetapp_ems
/dev/dsk/c21t0d7
/dev/dsk/c21t0d6
/dev/dsk/c25t0d7
/dev/dsk/c25t0d6
/dev/dsk/c31t0d7
/dev/dsk/c29t0d7
/dev/dsk/c31t0d6
/dev/dsk/c29t0d6
/dev/dsk/c21t1d6
/dev/dsk/c25t1d6
/dev/dsk/c31t1d6
/dev/dsk/c29t1d6
/dev/vgnetapp_interbc
/dev/dsk/c21t0d2
/dev/dsk/c25t0d2
/dev/dsk/c31t0d2
/dev/dsk/c29t0d2
/dev/vgnetapp_erptest
/dev/dsk/c29t0d5
/dev/dsk/c29t1d4
/dev/dsk/c31t1d4
/dev/dsk/c31t0d5
/dev/dsk/c25t1d4
/dev/dsk/c21t1d4
/dev/dsk/c25t0d5
/dev/dsk/c21t0d5
/dev/vgnetapp_tnptplan
OMIUV
/dev/dsk/c29t2d3
/dev/dsk/c21t2d3

Regard
Tien

Re: The specified path does not correspond to physical volume

Hi

After running vgimport I got this issue :

vgimport -v /dev/vg00 /dev/dsk/c31t0d3

Beginning the import process on Volume Group "/dev/vg00".
vgimport: Volume group "/dev/vg00" already exists in the "/etc/lvmtab" file.

lvlnboot -v

Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d0 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c3t0d0 (0/1/1/1.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t1d0
/dev/dsk/c3t0d0
Root: lvol3 on: /dev/dsk/c2t1d0
/dev/dsk/c3t0d0
Swap: lvol2 on: /dev/dsk/c2t1d0
/dev/dsk/c3t0d0
Dump: lvol2 on: /dev/dsk/c2t1d0, 0

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


/Tien
Jose Mosquera
Honored Contributor

Re: The specified path does not correspond to physical volume

Hi,

When you replace a fibercard also changes the WWN. Then zoning and lun masking will need to be updated.

Rgds.
Jose Mosquera
Honored Contributor

Re: The specified path does not correspond to physical volume

Hi,

In other words, if you not update the settings in your SAN zone with the new fibercard World Wide Name (WWN), you can not access the disk again.

Rgds.

Re: The specified path does not correspond to physical volume

Hi Jose

Can you please show me how to update the settings in SAN zone with new fibercard?

Regard
Tien
Jose Mosquera
Honored Contributor

Re: The specified path does not correspond to physical volume

Hi Tien,

No easy task, depends on brand and model of SAN switches, usually requires the knowledge of these devices (specialized staff).

Additionally you can check the following?
The fibercard is CLAIMED and online?
# ioscan-fnCfc (should show both devices CLAIMED)
Which of the two devices was replaced (/ dev/td0 or / dev/td1)?
# fcmsutil / dev / td? (replaced device)
What is the "Driver state=" content?

Rgds.
nijokj
Trusted Contributor

Re: The specified path does not correspond to physical volume

1st issue

vgdisplay -v /dev/vgnetapp_tnpt
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c31t1d2":
The specified path does not correspond to physical volume attached to
this volume group

/dev/vgnetapp_tnpt
/dev/dsk/c31t1d2
/dev/dsk/c29t1d2
/dev/dsk/c25t1d2
/dev/dsk/c21t1d2
/dev/dsk/c31t1d5
/dev/dsk/c29t1d5
/dev/dsk/c25t1d5
/dev/dsk/c21t1d5



2nd issue

vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c31t0d3":
/dev/vgnetapp_ent
/dev/dsk/c31t0d3
/dev/dsk/c29t0d3
/dev/dsk/c25t0d3
/dev/dsk/c21t0d3
/dev/dsk/c31t2d2
/dev/dsk/c29t2d2
/dev/dsk/c21t2d2
/dev/dsk/c25t2d2

do one thing

mv /etc/lvmtab /etc/lvmtab.org

vgscan -av

it will create new /etc/lvmtab

this will solve your problem.Before that please confirm /dev/dsk/c31t1d2 ,/dev/dsk/c31t0d3 disks are available through ioscan -fnC disk |egrep -i "/dev/dsk/c31t1d2|/dev/dsk/c31t0d3"
Jose Mosquera
Honored Contributor

Re: The specified path does not correspond to physical volume

Ooops, previous post have some extra blank spaces, the correct syntax is:

Which of the two devices was replaced (/dev/td0 or /dev/td1)?
# fcmsutil /dev/td? (replaced device)
What is the "Driver state=" content?

Rgds.