Operating System - HP-UX
1837893 Members
3411 Online
110122 Solutions
New Discussion

VolumeGroup not active not available

 
Sakui
Frequent Advisor

VolumeGroup not active not available


Dear All,

I have L Class with hp-ux 11i installed. I a SAN switch with VA 7400. Due to missing drives my VA was incessible to the Servers. I formatted and recreated the LUN and properly configured the Secure Manager.

Below are the output from the server
I als did insf -e -C disk to create the file but still a mismatch in LVM tab.

ux_de01 #vgscan
vgscan: Warning: couldn't query physical volume "/dev/dsk/c26t1d5":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c26t1d6":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c27t1d5":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c27t1d6":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c10t1d5":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c10t1d6":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c31t1d5":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c31t1d6":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query all of the physical volumes.
vgscan: Warning: couldn't query physical volume "/dev/dsk/c26t1d7":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c26t2d0":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c26t2d1":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c26t2d2":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c27t1d7":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c27t2d0":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c27t2d1":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c27t2d2":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c10t1d7":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c10t2d0":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c10t2d1":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c10t2d2":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c31t1d7":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c31t2d0":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c31t2d1":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c31t2d2":
The specified path does not correspond to physical volume attached
this volume group
vgscan: Warning: couldn't query all of the physical volumes.
vgscan: The physical volume "/dev/dsk/c1t2d0" is already recorded i
vmtab" file.
vgscan: The physical volume "/dev/dsk/c2t2d0" is already recorded i
vmtab" file.
vgscan: The physical volume "/dev/dsk/c26t1d5" is already recorded
lvmtab" file.
vgscan: The physical volume "/dev/dsk/c26t1d6" is already recorded
lvmtab" file.
vgscan: The physical volume "/dev/dsk/c26t1d7" is already recorded
lvmtab" file.
vgscan: The physical volume "/dev/dsk/c26t2d0" is already recorded
lvmtab" file.
vgscan: The physical volume "/dev/dsk/c26t2d1" is already recorded
lvmtab" file.
vgscan: The physical volume "/dev/dsk/c26t2d2" is already recorded
lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t1d5" is already recorded
lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t1d6" is already recorded
lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t1d7" is already recorded
lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t2d0" is already recorded
lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t2d1" is already recorded
lvmtab" file.
vgscan: The physical volume "/dev/dsk/c10t2d2" is already recorded
lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c3t2d0":
Invalid argument
Physical Volume "/dev/dsk/c35t0d0" contains no LVM information
Physical Volume "/dev/dsk/c26t0d0" contains no LVM information
Physical Volume "/dev/dsk/c26t0d1" contains no LVM information
Physical Volume "/dev/dsk/c26t1d5" contains no LVM information
Physical Volume "/dev/dsk/c26t1d6" contains no LVM information
Physical Volume "/dev/dsk/c26t1d7" contains no LVM information
Physical Volume "/dev/dsk/c26t2d0" contains no LVM information
Physical Volume "/dev/dsk/c26t2d1" contains no LVM information
Physical Volume "/dev/dsk/c26t2d2" contains no LVM information
Physical Volume "/dev/dsk/c29t0d0" is not part of a Volume Group
Physical Volume "/dev/dsk/c37t0d0" contains no LVM information
Physical Volume "/dev/dsk/c10t0d0" contains no LVM information
Physical Volume "/dev/dsk/c10t0d1" contains no LVM information
Physical Volume "/dev/dsk/c10t1d5" contains no LVM information
Physical Volume "/dev/dsk/c10t1d6" contains no LVM information
Physical Volume "/dev/dsk/c10t1d7" contains no LVM information
Physical Volume "/dev/dsk/c10t2d0" contains no LVM information
Physical Volume "/dev/dsk/c10t2d1" contains no LVM information
Physical Volume "/dev/dsk/c10t2d2" contains no LVM information
Physical Volume "/dev/dsk/c33t0d0" is not part of a Volume Group


The Volume Group /dev/vgdevapp was not matched with any Physical Vo
The Volume Group /dev/vgdevdb was not matched with any Physical Vol
ux_de01 #




ux_de01 #vgcfgrestore -n vgdevapp /dev/rdsk/c26t1d6
Configuration info for Physical Volume "/dev/rdsk/c26t1d6" not found
in "/etc/lvmconf/vgdevapp.conf" :
Character-special file for PV not supplied on command line, OR
PV did not belong to Volume Group /dev/vgdevapp when configuration file was cre
ted.
ux_de01 #








ux_de01 #more /etc/lvmtab
^CM-h^C/dev/vg00
M-^TM-TM-Q/dev/dsk/c2t2d0
/dev/vgdevapp
M-^TM-TM-Q?M-GM-^S/dev/dsk/c26t1d5
/dev/dsk/c26t1d6
/dev/dsk/c27t1d5
/dev/dsk/c27t1d6
/dev/dsk/c10t1d5
/dev/dsk/c10t1d6
/dev/dsk/c31t1d5
/dev/dsk/c31t1d6
/dev/vgdevdb
M-^TM-TM-Q?M-GM-^Ts^P/dev/dsk/c26t1
/dev/dsk/c26t2d0
/dev/dsk/c26t2d1
/dev/dsk/c26t2d2
/dev/dsk/c27t1d7
/dev/dsk/c27t2d0
/dev/dsk/c27t2d1
/dev/dsk/c27t2d2
/dev/dsk/c10t1d7
/dev/dsk/c10t2d0
/dev/dsk/c10t2d1
/dev/dsk/c10t2d2
/dev/dsk/c31t1d7
/dev/dsk/c31t2d0
/dev/dsk/c31t2d1
/dev/dsk/c31t2d2

lvmtab: END







ux_de01 #ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE FUJITSU MAJ3182MC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE FUJITSU MAJ3182MC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 193 0/3/0/0.1.16.52.0.0.0 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c35t0d0 /dev/rdsk/c35t0d0
disk 170 0/3/0/0.1.17.42.0.0.0 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c26t0d0 /dev/rdsk/c26t0d0
disk 195 0/3/0/0.1.17.42.0.0.1 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c26t0d1 /dev/rdsk/c26t0d1
disk 171 0/3/0/0.1.17.42.0.1.5 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c26t1d5 /dev/rdsk/c26t1d5
disk 172 0/3/0/0.1.17.42.0.1.6 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c26t1d6 /dev/rdsk/c26t1d6
disk 173 0/3/0/0.1.17.42.0.1.7 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c26t1d7 /dev/rdsk/c26t1d7
disk 174 0/3/0/0.1.17.42.0.2.0 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c26t2d0 /dev/rdsk/c26t2d0
disk 175 0/3/0/0.1.17.42.0.2.1 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c26t2d1 /dev/rdsk/c26t2d1
disk 176 0/3/0/0.1.17.42.0.2.2 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c26t2d2 /dev/rdsk/c26t2d2
disk 184 0/3/0/0.1.31.16.0.0.0 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c29t0d0 /dev/rdsk/c29t0d0
disk 194 0/7/0/0.1.16.52.0.0.0 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c37t0d0 /dev/rdsk/c37t0d0
disk 26 0/7/0/0.1.17.42.0.0.0 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c10t0d0 /dev/rdsk/c10t0d0
disk 210 0/7/0/0.1.17.42.0.0.1 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c10t0d1 /dev/rdsk/c10t0d1
disk 53 0/7/0/0.1.17.42.0.1.5 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c10t1d5 /dev/rdsk/c10t1d5
disk 54 0/7/0/0.1.17.42.0.1.6 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c10t1d6 /dev/rdsk/c10t1d6
disk 55 0/7/0/0.1.17.42.0.1.7 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c10t1d7 /dev/rdsk/c10t1d7
disk 56 0/7/0/0.1.17.42.0.2.0 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c10t2d0 /dev/rdsk/c10t2d0
disk 57 0/7/0/0.1.17.42.0.2.1 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c10t2d1 /dev/rdsk/c10t2d1
disk 58 0/7/0/0.1.17.42.0.2.2 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c10t2d2 /dev/rdsk/c10t2d2
disk 192 0/7/0/0.1.31.16.0.0.0 sdisk CLAIMED DEVICE HP A6
189A
/dev/dsk/c33t0d0 /dev/rdsk/c33t0d0
ux_de01 #




































5 REPLIES 5
Mridul Shrivastava
Honored Contributor

Re: VolumeGroup not active not available

Have you taken the vgcfgbackup after last changes were made to the vgs. If not then that could be the reason those disk details are not their in the vgconf.

Since you have manually formatted and created the LUNS.. I would suggest you the export the affected vgs and then recreate them from scratch..

Once Vg are created then you have to restore the old data.. since you already have pv to vg mapping etc so it won't be difficult..
Time has a wonderful way of weeding out the trivial
Sandy Chen
Honored Contributor

Re: VolumeGroup not active not available

Hi,

If you have formatted and then recreate the LUN, you wouldn't be able to run vgcfgrestore or vgimport (if you have a mapfile).

In your case, you will have to re-create the VG's

Regards,
Sandy
I never think of the future. It comes soon enough.
Sakui
Frequent Advisor

Re: VolumeGroup not active not available



How do u create a map file with vgcfgbackup command.I have try the vgcfgrestre - n vgdevapp /dev/rdsk/c23c??? with some of the disk.
Domenico_5
Respected Contributor

Re: VolumeGroup not active not available

try to do a vgexport and vgimport of you volumes

SANTOSH S. MHASKAR
Trusted Contributor

Re: VolumeGroup not active not available

Hi,

Since u have recreated the LUNs u have to recreate the VGs.
Before that vgexport the problematic VGs in vgscan.
Then recreate VGs and restore the data from backup.