Operating System - HP-UX
1825769 Members
2108 Online
109687 Solutions
New Discussion

Re: Error occured during vgimport

 
pankaj roy
Occasional Contributor

Error occured during vgimport

Hi All,

I have executed vgimport command. The import was successfull, all the lv recovered but the following error encountered.


Beginning the import process on Volume Group "vgora".

fail in reading_lvmrec, nread = 0, btor = 2048.

fail in reading_lvmrec, nread = 0, btor = 0.

fail in reading_lvmrec, nread = 0, btor = 2048.

fail in reading_lvmrec, nread = 0, btor = 0.

fail in reading_lvmrec, nread = 0, btor = 2048.

fail in reading_lvmrec, nread = 0, btor = 0.

fail in reading_lvmrec, nread = 0, btor = 2048.

fail in reading_lvmrec, nread = 0, btor = 0.

please explain the above errors.


waiting for your response.

thanks,
Pankaj
5 REPLIES 5
TTr
Honored Contributor

Re: Error occured during vgimport

It looks like one of the disks was not read.

EIther

1) it does not have the dev/dsk or /dev/rdsk file as in

http://forums12.itrc.hp.com/service/forums/questionanswer.do;HP-FORUMS-S-WPA-IDX=HjYLwQ5jnwvH7vJkq9dpqWHSyPt0PSJWX2HpMbQdMnMZdb99snNj!890439300!-1126569828?threadId=958963


Or

2) there was a read error in reading the LVM headers in one or more disks.

Most likely the second.

How many disks were in the "vgora" group and how many were vgimported?
Khairy
Esteemed Contributor

Re: Error occured during vgimport

hi,

it seems not all the disks were imported.

It may caused by different device name when you import the disks from other servers.

If its disks in san storage, check the zoning. Zoning for both servers must include access to these disks.

Check for output in ioscan for both servers and compare:
# ioscan -funC disk

And perform pvdisplay for the disks to determine its content.
# pvdisplay -v /dev/dsk/c#t#d#

Rgds
Asif Sharif
Honored Contributor

Re: Error occured during vgimport

Hi Pankaj,

This is happening because you are trying to import a disk that has missing device files.

Perform the following steps to resolve your errors:

#insf -e
# ioscan -fnC disk
then
#vgimport

Regards,
Asif Sharif
Regards,
Asif Sharif
pankaj roy
Occasional Contributor

Re: Error occured during vgimport

Hi All,

thanks for your response.

i want to share few more information with you guys.

These error occured when we were going through SAN migration activity.

we had changed the cable and after that we fount different controler number.

regards,
Pankaj
Khairy
Esteemed Contributor

Re: Error occured during vgimport

hi pankaj,

glad to hear that.

You can close the thread and we're really appreciate if you could assign some points to the responders.

Thanks!