1833695 Members
3698 Online
110062 Solutions
New Discussion

vgcfgbackup error

 
R.K. #
Honored Contributor

vgcfgbackup error

Hi Gurus,

I am able to access the LV but unable to take the vgcfgbackup,

# vgcfgbackup vg21
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c17t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c13t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c15t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c9t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c11t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c5t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c7t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Couldn't query physical volume "/dev/dsk/c17t0d1":
The specified path does not correspond to physical volume attached to
this volume group

# vgdisplay vg21
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c17t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c13t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c15t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c9t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c11t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c5t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c7t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg21
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 1016
VGDA 2
PE Size (Mbytes) 32
Total PE 287
Alloc PE 4
Free PE 283
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

How can I take the vgcfgbackup of this VG?

Thanks.
Don't fix what ain't broke
6 REPLIES 6
Wouter Jagers
Honored Contributor

Re: vgcfgbackup error

Hiya,

LVM thinks there should be a bunch of disks in this VG, but there seems to be only one inthere. (Cur PV 1)

# vgdisplay -v vg21

--> will show you which disk is actually inthere.

Is this a new (empty) volume group ?

Cheers,
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.
R.K. #
Honored Contributor

Re: vgcfgbackup error

# vgchange -a n vg21
vgchange: Couldn't deactivate volume group "vg21":
Device busy
[rx26-157]/
#

# vgdisplay -v vg21
--- Volume groups ---
VG Name /dev/vg21
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 1016
VGDA 2
PE Size (Mbytes) 32
Total PE 287
Alloc PE 4
Free PE 283
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg21/test1
LV Status available/syncd
LV Size (Mbytes) 128
Current LE 4
Allocated PE 4
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c19t0d1
PV Name /dev/dsk/c17t0d1 Alternate Link
PV Name /dev/dsk/c13t0d1 Alternate Link
PV Name /dev/dsk/c15t0d1 Alternate Link
PV Name /dev/dsk/c9t0d1 Alternate Link
PV Name /dev/dsk/c11t0d1 Alternate Link
PV Name /dev/dsk/c5t0d1 Alternate Link
PV Name /dev/dsk/c7t0d1 Alternate Link
PV Status available
Total PE 287
Free PE 283
Autoswitch On

Why cant I deactivate the VG?
How come its going busy? I have checked none of the processes involve this VG.
Don't fix what ain't broke
Wouter Jagers
Honored Contributor

Re: vgcfgbackup error


Ahh, you (are supposed to) have 8 paths to your disk, that makes sense.

Is your logical volume mounted ? Make sure it's unmounted before trying to deactivate.

It seems like none of your alternate links (still) exist, check if you can reach them with, for example:

# diskinfo /dev/rdsk/c17t0d1

The output of "ioscan -fnCdisk" could also be useful to check.

Cheers,
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.
sachit patil
Regular Advisor

Re: vgcfgbackup error

You can use vgimport and vgexport utilty.
Shomsa
New Member

Re: vgcfgbackup error

Check the filesystem is mounted .umount vgexport and vgimport. Before that what is the disk details in lvmtab
R.K. #
Honored Contributor

Re: vgcfgbackup error

Thanks everybody....
Don't fix what ain't broke