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
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 ==>
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.