Operating System - HP-UX
1834599 Members
4086 Online
110069 Solutions
New Discussion

Re: Need help! Can't attach volume group physical volume

 
Mark Vollmers
Esteemed Contributor

Need help! Can't attach volume group physical volume

Hi all,

I have a problem here. I replaced the controller on our RAID drive (which I had done in the past) and this time, when I boot up, I got an error when it tried to activate the volume group. I went to SAM and tried to activate it, and it said:

vgchange: Warning: couldn't attach to the volume group physical volume "/dev/dsk/c0t0d0":
The path of the physical volume refers to a device that does no exist, or is not configured into the kernal.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c0t0d0": The specified path does not correspond to physical volume attached to this volume group.
vgchange: couldn't query the list of physical volumes
vgchange: couln't activate volume group "vgraid":
Quorum not present, or some physical volume(s) are missing.

What's going on? How do I fix it? Any help is greatly appreciated!!! Thanks!

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
5 REPLIES 5
Mark Vollmers
Esteemed Contributor

Re: Need help! Can't attach volume group physical volume

Under disk devices, it lists the path (8/0.1.0) which I don't know if it is the same now or not, and says that it is unused. It should be a vxfs and it has two logical volumes on it (/home and /download). Just thought I'd add that.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Sachin Patel
Honored Contributor

Re: Need help! Can't attach volume group physical volume

Hi Mark,
I think when you changed controller you have lost the raid configuration. One way to get back is connect vt??? terminal to disk's serial port use 19200 bps and reset your tty terminal. on menu use 1=configuration.
then use 1= show configuration)
( if you get different configuration change it as it was before for exampel
[0.0][0.1][0.2][1.0][1.1][1.2] or
[0.0][1.0][0.1][1.1][0.2][1.2] or some other way (you have to figure this out from your other raid box before you do this process)
I believe 3=set configuration you can set that as you want.

Then it should work. Be very careful. because if you configure the different way you might loose the date.

Do you research before this.You really need good luck on this.

Sachin
Is photography a hobby or another way to spend $
Mark Vollmers
Esteemed Contributor

Re: Need help! Can't attach volume group physical volume

after looking at it a little more, I suspect that the physical address has moved. Is there a way to reset this to the original? Or at least to get everything mapped so that I don't lose my data (I have yesterday's backup, but I don't have today's stuff)?

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Mark Vollmers
Esteemed Contributor

Re: Need help! Can't attach volume group physical volume

think I got it- scsi address on controller was changed. Who knew. Guess it wasn't an emergency after all. I'll try not to panic right away next time. I'll wait until it is smoking or something first :)

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Wodisch
Honored Contributor

Re: Need help! Can't attach volume group physical volume

Hello Mark,

- get the new block device names using "ioscan"
- move your "/etc/lvmtab" aside
- try "vgscan"
- and if that is not working, try to "vgimport" all those
disks as another volume group

HTH,
Wodisch