cancel
Showing results for 
Search instead for 
Did you mean: 

VG00 missing from lvmtab 11.23

 
brownj1989
Advisor

VG00 missing from lvmtab 11.23

Hi all, I have seen some similar posts about my issue but none that solved the problem. I am running version 11.23 and I have a failed boot path that I can't figure out the cause of. The system will boot without problems going to the alternate boot path but throws this error during boot when trying first path:

Loading.: HP-UX Primary Boot: 0/1/1/1.2.0
Load of HP-UX Primary Boot: 0/1/1/1.2.0 failed: Not Found

 

In the process of looking for an answer I noticed that vg00 is not being displayed in the lvmtab. I can still cd into /dev/vg00 and it has all of its files. The system also reports that VG00 is active when I try to import it again. I have recreated the lvm tab to no avail. When I run an ioscan it shows all of the disks claimed so IM not thinking bad disk. When I run a /sbin/vgscan it reports the following about VG00:vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg00"

 

 

Please offer any ideas you can :-)

20 REPLIES 20
Robert_Jewell
Honored Contributor

Re: VG00 missing from lvmtab 11.23

What model of server?

 

Also, post the following:

 

# vgdisplay -v vg00

# strings /etc/lvmtab

# vgcfgrestore -l -n vg00

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
brownj1989
Advisor

Re: VG00 missing from lvmtab 11.23

The server is a rx2620 running 11iv23

vgdisplay -v vg00
vgdisplay: Volume group "/dev/vg00" does not exist in the "/etc/lvmtab" file.
vgdisplay: Cannot display volume group "vg00".

 

strings /etc/lvmtab
/dev/data
/dev/dsk/c22t0d0
/dev/dsk/c24t0d0
/dev/dsk/c18t0d0
/dev/dsk/c20t0d0
/dev/newprod_rfs
tM8G
/dev/dsk/c22t0d1
/dev/dsk/c24t0d1
/dev/dsk/c18t0d1
/dev/dsk/c20t0d1
/dev/newprod_rfs_archive
tM8P
/dev/dsk/c22t0d2
/dev/dsk/c24t0d2
/dev/dsk/c18t0d2
/dev/dsk/c20t0d2

 

 

 vgcfgrestore -l -n vg00
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
 ---- Physical volumes : 2 ----
       /dev/rdsk/c2t0d0s2 (Bootable)
       /dev/rdsk/c3t2d0s2 (Bootable)


 

 


 

 

Torsten.
Acclaimed Contributor

Re: VG00 missing from lvmtab 11.23

What is the result of

# vgscan -p -v

and

# ioscan -fn

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
brownj1989
Advisor

Re: VG00 missing from lvmtab 11.23

 

vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg00".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/dca".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/prod_rfs".
vgscan: The physical volume "/dev/dsk/c22t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c22t0d1" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c22t0d2" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c24t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c24t0d1" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c24t0d2" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c18t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c18t0d1" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c18t0d2" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c20t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c20t0d1" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c20t0d2" is already recorded in the "/etc/lvmtab" file.
Current path "/dev/dsk/c24t0d0" is an alternate link, skip.
Current path "/dev/dsk/c24t0d1" is an alternate link, skip.
Current path "/dev/dsk/c24t0d2" is an alternate link, skip.
Current path "/dev/dsk/c18t0d0" is an alternate link, skip.
Current path "/dev/dsk/c18t0d1" is an alternate link, skip.
Current path "/dev/dsk/c18t0d2" is an alternate link, skip.
Current path "/dev/dsk/c20t0d0" is an alternate link, skip.
Current path "/dev/dsk/c20t0d1" is an alternate link, skip.
Current path "/dev/dsk/c20t0d2" is an alternate link, skip.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument
Physical Volume "/dev/dsk/c2t0d0" contains no LVM information
Physical Volume "/dev/dsk/c3t2d0" contains no LVM information


/dev/data
/dev/dsk/c22t0d0
/dev/dsk/c24t0d0
/dev/dsk/c18t0d0
/dev/dsk/c20t0d0

 

/dev/newprod_rfs
/dev/dsk/c22t0d1
/dev/dsk/c24t0d1
/dev/dsk/c18t0d1
/dev/dsk/c20t0d1

 

/dev/newprod_rfs_archive
/dev/dsk/c22t0d2
/dev/dsk/c24t0d2
/dev/dsk/c18t0d2
/dev/dsk/c20t0d2


The Volume Group /dev/vg00 was not matched with any Physical Volumes.
The Volume Group /dev/dca was not matched with any Physical Volumes.
The Volume Group /dev/prod_rfs was not matched with any Physical Volumes.

 

brownj1989
Advisor

Re: VG00 missing from lvmtab 11.23

 ioscan -fn
Class       I  H/W Path        Driver     S/W State   H/W Type     Description
===============================================================================
root        0                  root       CLAIMED     BUS_NEXUS
ioa         0  0               sba        CLAIMED     BUS_NEXUS    System Bus Adapter (1229)
ba          0  0/0             lba        CLAIMED     BUS_NEXUS    Local PCI-X Bus Adapter (122e)
OO          0  0/0/1/0         UsbOhci    CLAIMED     INTERFACE    USB OHCI Interface
OO          1  0/0/1/1         UsbOhci    CLAIMED     INTERFACE    USB OHCI Interface
OO          2  0/0/1/2         UsbEhci    CLAIMED     INTERFACE    USB EHCI Interface
sideba      0  0/0/2/0         side_multi CLAIMED     INTERFACE    CMD IDE controller
ext_bus     0  0/0/2/0.0       side       CLAIMED     INTERFACE    IDE Primary Channel
target      0  0/0/2/0.0.0     tgt        CLAIMED     DEVICE
disk        0  0/0/2/0.0.0.0   sdisk      CLAIMED     DEVICE       TEAC    DV-28E-N
                              /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0
disk        1  0/1/1/0.0.0     sdisk      CLAIMED     DEVICE       HP 146 GST3146854LC
                              /dev/dsk/c2t0d0     /dev/dsk/c2t0d0s3   /dev/rdsk/c2t0d0s3
                              /dev/dsk/c2t0d0s1   /dev/rdsk/c2t0d0
                              /dev/dsk/c2t0d0s2   /dev/rdsk/c2t0d0s1
target      4  0/1/1/0.7       tgt        CLAIMED     DEVICE
ctl         2  0/1/1/0.7.0     sctl       CLAIMED     DEVICE       Initiator
                              /dev/rscsi/c2t7d0
ext_bus     3  0/1/1/1         mpt        CLAIMED     INTERFACE    SCSI Ultra320
                              /dev/mpt3
target      5  0/1/1/1.2       tgt        CLAIMED     DEVICE
disk        2  0/1/1/1.2.0     sdisk      CLAIMED     DEVICE       HP 146 GST3146854LC
                              /dev/dsk/c3t2d0     /dev/dsk/c3t2d0s3   /dev/rdsk/c3t2d0s3
                              /dev/dsk/c3t2d0s1   /dev/rdsk/c3t2d0
                              /dev/dsk/c3t2d0s2   /dev/rdsk/c3t2d0s1
target      6  0/1/1/1.7       tgt        CLAIMED     DEVICE
ctl         3  0/1/1/1.7.0     sctl       CLAIMED     DEVICE       Initiator
                              /dev/rscsi/c3t7d0
lan         0  0/1/2/0         iether     CLAIMED     INTERFACE    HP  PCI-X 1000Base-T Dual-port Built-in
lan         1  0/1/2/1         iether     CLAIMED     INTERFACE    HP  PCI-X 1000Base-T Dual-port Built-in
ba                                 /dev/mpt4
target     15  0/2/1/0.7       tgt        CLAIMED     DEVICE
ctl         4  0/2/1/0.7.0     sctl       CLAIMED     DEVICE       Initiator
                              /dev/rscsi/c4t7d0
ext_bus     5  0/2/1/1         mpt        CLAIMED     INTERFACE    SCSI Ultra320 A6961-60011
                              /dev/mpt5
target     16  0/2/1/1.7       tgt        CLAIMED     DEVICE
ctl         5  0/2/1/1.7.0     sctl       CLAIMED     DEVICE       Initiator
                              /dev/rscsi/c5t7d0
ba          3  0/3             lba        CLAIMED     BUS_NEXUS    Local PCI-X Bus Adapter (122e)
fc          0  0/3/1/0         fcd        CLAIMED     INTERFACE    HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
                              /dev/fcd0
fcp         5  0/3/1/0.21      fcd_fcp    CLAIMED     INTERFACE    FCP Domain
ext_bus    22  0/3/1/0.21.5.0.0         fcd_vbus   CLAIMED     INTERFACE    FCP Array Interface
target     13  0/3/1/0.21.5.0.0.0       tgt        CLAIMED     DEVICE
disk       24  0/3/1/0.21.5.0.0.0.0     sdisk      CLAIMED     DEVICE       NETAPP  LUN
                              /dev/dsk/c22t0d0   /dev/rdsk/c22t0d0
disk       30  0/3/1/0.21.5.0.0.0.1     sdisk      CLAIMED     DEVICE       NETAPP  LUN
                              /dev/dsk/c22t0d1   /dev/rdsk/c22t0d1
disk       33  0/3/1/0.21.5.0.0.0.2     sdisk      CLAIMED     DEVICE       NETAPP  LUN
                              /dev/dsk/c22t0d2   /dev/rdsk/c22t0d2
ext_bus    23  0/3/1/0.21.5.255.0       fcd_vbus   CLAIMED     INTERFACE    FCP Device Interface
target     11  0/3/1/0.21.5.255.0.0     tgt        CLAIMED     DEVICE
ctl        16  0/3/1/0.21.5.255.0.0.0   sctl       CLAIMED     DEVICE       NETAPP  LUN
                              /dev/rscsi/c23t0d0
ext_bus    24  0/3/1/0.21.6.0.0         fcd_vbus   CLAIMED     INTERFACE    FCP Array Interface
target     14  0/3/1/0.21.6.0.0.0       tgt        CLAIMED     DEVICE
disk       23  0/3/1/0.21.6.0.0.0.0     sdisk      CLAIMED     DEVICE       NETAPP  LUN
                              /dev/dsk/c24t0d0   /dev/rdsk/c24t0d0
disk       32  0/3/1/0.21.6.0.0.0.1     sdisk      CLAIMED     DEVICE       NETAPP  LUN
                              /dev/dsk/c24t0d1   /dev/rdsk/c24t0d1
disk       34  0/3/1/0.21.6.0.0.0.2     sdisk      CLAIMED     DEVICE       NETAPP  LUN
                              /dev/dsk/c24t0d2   /dev/rdsk/c24t0d2
ext_bus    25  0/3/1/0.21.6.255.0       fcd_vbus   CLAIMED     INTERFACE    FCP Device Interface
target     12  0/3/1/0.21.6.255.0.0     tgt        CLAIMED     DEVICE
ctl        17  0/3/1/0.21.6.255.0.0.0   sctl       CLAIMED     DEVICE       NETAPP  LUN
                              /dev/rscsi/c25t0d0
fc          1  0/3/1/1         fcd        CLAIMED     INTERFACE    HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2)
                              /dev/fcd1
fcp         4  0/3/1/1.232     fcd_fcp    CLAIMED     INTERFACE    FCP Domain
ext_bus    18  0/3/1/1.232.5.0.0        fcd_vbus   CLAIMED     INTERFACE    FCP Array Interface
target      8  0/3/1/1.232.5.0.0.0      tgt        CLAIMED     DEVICE
disk       25  0/3/1/1.232.5.0.0.0.0    sdisk      CLAIMED     DEVICE       NETAPP  LUN
                              /dev/dsk/c18t0d0   /dev/rdsk/c18t0d0
disk       28  0/3/1/1.232.5.0.0.0.1    sdisk      CLAIMED     DEVICE       NETAPP  LUN
                              /dev/dsk/c18t0d1   /dev/rdsk/c18t0d1
disk       31  0/3/1/1.232.5.0.0.0.2    sdisk      CLAIMED     DEVICE       NETAPP  LUN
                              /dev/dsk/c18t0d2   /dev/rdsk/c18t0d2
ext_bus    19  0/3/1/1.232.5.255.0      fcd_vbus   CLAIMED     INTERFACE    FCP Device Interface
target      7  0/3/1/1.232.5.255.0.0    tgt        CLAIMED     DEVICE
ctl        15  0/3/1/1.232.5.255.0.0.0  sctl       CLAIMED     DEVICE       NETAPP  LUN
                              /dev/rscsi/c19t0d0
ext_bus    20  0/3/1/1.232.6.0.0        fcd_vbus   CLAIMED     INTERFACE    FCP Array Interface
target     10  0/3/1/1.232.6.0.0.0      tgt        CLAIMED     DEVICE
disk       26  0/3/1/1.232.6.0.0.0.0    sdisk      CLAIMED     DEVICE       NETAPP  LUN
                              /dev/dsk/c20t0d0   /dev/rdsk/c20t0d0
disk       27  0/3/1/1.232.6.0.0.0.1    sdisk      CLAIMED     DEVICE       NETAPP  LUN
                              /dev/dsk/c20t0d1   /dev/rdsk/c20t0d1
disk       29  0/3/1/1.232.6.0.0.0.2    sdisk      CLAIMED     DEVICE       NETAPP  LUN
                              /dev/dsk/c20t0d2   /dev/rdsk/c20t0d2

Torsten.
Acclaimed Contributor

Re: VG00 missing from lvmtab 11.23

Strange!

Any recent changes?

Maybe someone did a wrong step during mirroring or disk replacement?

Please post

# setboot

# lvlnboot -v

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Robert_Jewell
Honored Contributor

Re: VG00 missing from lvmtab 11.23

The LVM config files appear to be correct:

 

 vgcfgrestore -l -n vg00
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
 ---- Physical volumes : 2 ----
       /dev/rdsk/c2t0d0s2 (Bootable)
       /dev/rdsk/c3t2d0s2 (Bootable)

 

 

Perhaps try to manually restore these to the disks and see if LVM then sees things as it should:

 

# vgcfgrestore -n vg00 /dev/rdsk/c2t0d0s2

# vgcfgrestore -n vg00 /dev/rdsk/c3t2d0s2

 

You may get an error regarding a mismatch between backup file and running kernel though.

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
brownj1989
Advisor

Re: VG00 missing from lvmtab 11.23


@Torsten. wrote:
Strange!

Any recent changes?

Maybe someone did a wrong step during mirroring or disk replacement?

Please post

# setboot

# lvlnboot -v

setboot
Primary bootpath : 0/1/1/1.2.0
HA Alternate bootpath : 0/1/2/0
Alternate bootpath : 0/1/1/0.0.0

Autoboot is ON (enabled)

 

 

 lvlnboot -v
Current path "/dev/dsk/c24t0d0" is an alternate link, skip.
Current path "/dev/dsk/c18t0d0" is an alternate link, skip.
Current path "/dev/dsk/c20t0d0" is an alternate link, skip.
Current path "/dev/dsk/c24t0d1" is an alternate link, skip.
Current path "/dev/dsk/c18t0d1" is an alternate link, skip.
Current path "/dev/dsk/c20t0d1" is an alternate link, skip.
Current path "/dev/dsk/c24t0d2" is an alternate link, skip.
Current path "/dev/dsk/c18t0d2" is an alternate link, skip.
Current path "/dev/dsk/c20t0d2" is an alternate link, skip.

 

No recent changes, these boxes are new though and we had some issues with the mirror when we first installed this box. So there may have been a mistake made in that process i just find it hard to believe it took this long to find out.

STumped

 

brownj1989
Advisor

Re: VG00 missing from lvmtab 11.23


@Robert_Jewell wrote:

The LVM config files appear to be correct:

 

 vgcfgrestore -l -n vg00
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
 ---- Physical volumes : 2 ----
       /dev/rdsk/c2t0d0s2 (Bootable)
       /dev/rdsk/c3t2d0s2 (Bootable)

 

 

Perhaps try to manually restore these to the disks and see if LVM then sees things as it should:

 

# vgcfgrestore -n vg00 /dev/rdsk/c2t0d0s2

# vgcfgrestore -n vg00 /dev/rdsk/c3t2d0s2

 

You may get an error regarding a mismatch between backup file and running kernel though.

 

-Bob


Hey Robert, Thanks for the post. Is the above safe to do while online in a production environment?