Operating System - HP-UX
1751766 Members
4849 Online
108781 Solutions
New Discussion юеВ

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

 
Sammy_2
Super Advisor

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

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
good judgement comes from experience and experience comes from bad judgement.
6 REPLIES 6
Vishu
Trusted Contributor

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

Hi Sammy,

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

# vgchange -a y -q n ops

Sammy_2
Super Advisor

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

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 ==>
good judgement comes from experience and experience comes from bad judgement.
Vishu
Trusted Contributor

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

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
Trusted Contributor

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

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_1
Valued Contributor

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

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
Never Give Up
Sammy_2
Super Advisor

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

Thanks all, I just plugged in the c11 cable , activated vg, vgreduce and then was able to do my work.
good judgement comes from experience and experience comes from bad judgement.