Jump to content
 English      
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
     Forums advanced search
HP.com Home
IT Resource Center Forums > HP-UX > system administration

one of 2 fibre cable pulled and vg deactivated. now can't acitvate VG ?

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: one of 2 fibre cable pulled and vg deactivated. now can't acitvate VG ?      Add to my favorites
Sammy
Nov 6, 2009 20:11:55 GMT   

HPUX 11.11
I pulled the cable to c11 intentionally
Now when I try to activate the vg, it tells me device does not exist (which is correct). But, I forgot to vgreduce the c11 path from VG before deactivating the VG. Now, I want to go back and vgreduce in order to do that, I need to activate the VG. How can i go about activating the VG ?


# vgchange -a y ops

vgchange -a y ops
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c11t0d0":
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.
vgchange: The path of the physical volume refers to a device that does not
exist, or is not configured into the kernel.
vgchange: Activation mode requested for the volume group "/dev/ops" conflicts with configured mode.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c11t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c11t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c11t0d2":
The specified path does not correspond to physical volume attached to
this volume group
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Vishu This member has accumulated 250 or more points
Nov 6, 2009 20:34:42 GMT    Unassigned

Hi Sammy,

can you please try doing to activate it and post the results.

# vgchange -a y -q n ops
Sammy
Nov 6, 2009 20:36:41 GMT    N/A: Question Author

Pretty much same thing. I am thinking of
rename lvmtab. and then do a vgscan. Will that take care of it.

ojrdhes3:/etc ==> vgchange -a y -q n ops
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c11t0d0":
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.
vgchange: The path of the physical volume refers to a device that does not
exist, or is not configured into the kernel.
vgchange: Activation mode requested for the volume group "/dev/ops" conflicts with configured mode.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c11t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c11t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c11t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
ojrdhes3:/etc ==>
Vishu This member has accumulated 250 or more points
Nov 6, 2009 20:46:02 GMT    Unassigned

well, as i know vgscan will not consider the unconfiugred/deactivated VGs. But it does include those VGs which are activated during its last boot.
you can give it a try by having a proper backup of your /etc/lvmtab.

Also, i noticed this line in your error that

***** vgchange: Activation mode requested for the volume group "/dev/ops" conflicts with configured mode. ***********

is this volume group is a part of the cluster?

Can you paste the output of the current /etc/lvmtab.
Vishu This member has accumulated 250 or more points
Nov 6, 2009 20:48:36 GMT    Unassigned

a very small correction in my previous post,

******** vgscan will recover a volume group only if it has been activated at least once since the last boot, and the Volume Group ID is unique********
Javed Khan Expert in this area
Nov 7, 2009 01:27:29 GMT    Unassigned

Hi,

Please post the output of strings /etc/lvmtab and strings /etc/lvmtab**old -- if you have move lvmtab before.

Also post output of ioscan -fnC disk


Javed
Sammy
Nov 7, 2009 12:54:00 GMT    N/A: Question Author

Thanks all, I just plugged in the c11 cable , activated vg, vgreduce and then was able to do my work.
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.