Operating System - HP-UX
1833325 Members
2807 Online
110051 Solutions
New Discussion

Unable to locate disk in /etc/lvmtab.....

 
John Joaquin
Occasional Contributor

Unable to locate disk in /etc/lvmtab.....

hi guys,

Need your help on this guys, On my case we have encountered a disk failure from one of our HP server & the affected disk happened to be a BCV disk from our EMC Symmetrix Storage. So I re-map a new known working BCV disk on the affected server then restarted the server after the modification. After rebooting, I started performing full DB synchronization where the new disk will be included on the newly formed VG during the disk synchronization. Then when I was about to activate the volume group( Where the new BCV disk was included) the system returned an error stating "Unable to locate /dev/etc/c0t5d4 in /etc/lvmtab". I believe that this file can't be updated manually using VI since the lvmtab file recognizes as data. What do i need to resolve the problem guys?


FYI! I have already perform this procedure twice when we encountered the same BCV disk error but now it's a bit wierd cause this is the only 1st time that i encountered this problem when adding a new BCV disk.

thanks & kind regards,

John
4 REPLIES 4
Kent Ostby
Honored Contributor

Re: Unable to locate disk in /etc/lvmtab.....

I beleive that you can fix this with:

vgreduce -f

Best regards,

Oz
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Victor Fridyev
Honored Contributor

Re: Unable to locate disk in /etc/lvmtab.....

Hi,

It seems to me that the new disk has another name.
Could you please run
strings /etc/lvmtab
and find the disks which belong to the affected volume group. After that find which name has the new disk. I suggest, this is the reason of the message.
You can exclude /dev/etc/c0t5d4 from the volume group by vgreduce and then add it by vgextend (don't forget to create physical volume by pvcreate)

HTH
Entities are not to be multiplied beyond necessity - RTFM
Geoff Wild
Honored Contributor

Re: Unable to locate disk in /etc/lvmtab.....

Wasn't this posted already?

You will need to re-import the vg - vgexport it, then vgimport -p -s -m /tmp/yourvg.map /dev/vgXX (don't forget to mkdir /dev/vgXX and mknod the group file first)...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Raj D.
Honored Contributor

Re: Unable to locate disk in /etc/lvmtab.....

John , Similar link is here :

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=985649

hth,
Raj
" If u think u can , If u think u cannot , - You are always Right . "