1847267 Members
4277 Online
110263 Solutions
New Discussion

vgimport failed

 
Suni Raj
Advisor

vgimport failed

I have a script running in to export and import volume groups. When the script for vgimport runs, it falied with the following error:

vgimport -m /usr/local/emc/bcv/pfraud/doc/pfraudvg_23_01a.map.brody2 /dev/pfraudvg_23_01a /dev/dsk/c96t1d4 /dev/dsk/c94t1d4
/dev/dsk/c94t1d5 /dev/dsk/c96t1d5 /dev/dsk/c96t1d6 /dev/dsk/c94t1d6 /dev/dsk/c94t1d7 /dev/dsk/c96t1d7
Couldn't open physical volume "/dev/rdsk/c94t1d4":
Verification of unique LVM disk id on each disk in the volume group
/dev/pfraudvg_23_01a failed.

The ioscan shows the PV intact
ioscan -funC disk |grep /dev/dsk/c94t1d4
/dev/dsk/c94t1d4 /dev/rdsk/c94t1d4

But diskinfo shows error:
diskinfo /dev/rdsk/c94t1d4
diskinfo: can't open /dev/rdsk/c94t1d4: No such device or address

Can anyone tell me what could be the issue and where should I look into to sort it out?

Thanks!
5 REPLIES 5
Wouter Jagers
Honored Contributor

Re: vgimport failed

ioscan -funC disk |grep /dev/dsk/c94t1d4
--> The 'u' option makes ioscan 'scan and list usable I/O system devices instead of the actual hardware'.

Try 'ioscan -fnCdisk', what does that say ?
an engineer's aim in a discussion is not to persuade, but to clarify.
James R. Ferguson
Acclaimed Contributor

Re: vgimport failed

Hi:

The results from 'diskinfo' suggest dead hardware or hardware without a viable connection. Examine the software state column of the output of :

# ioscan -fnC disk

If you see "NO_HW", this confirms a dead or unresponsive device (dead or one with a bad connection).

Regards!

...JRF...
sachit patil
Regular Advisor

Re: vgimport failed

hi
#ioscan -fnC disk
#vgchange -a n vgname
#vgcfgrestore
otherwise copy lvmtab and lvmconf from recent root backup and then do
#vgscan -v or vgimport
Sandman!
Honored Contributor

Re: vgimport failed

Run ioscan w/o any arguments and check if you can see the /dev/dsk/c94t1d4 disk or not. This forces the host to rescan all devices otherwise it scans the kernel.

# ioscan
# ioscan -funC disk | grep /dev/dsk/c94t1d4
Suni Raj
Advisor

Re: vgimport failed

Thanks all who has responsed. The issue was with the fiber cable and we ran the script with alternate path mentioned in it. Once again thank you all for your time.

SVR