Operating System - HP-UX
1751900 Members
4924 Online
108783 Solutions
New Discussion

Re: make_tape_recovery completed unsuccessfully

 
WilliamSmith11
Super Advisor

make_tape_recovery completed unsuccessfully

Hi

I have a HPUX machine rx2600 running hpux 11.23

I am trying to make an ignite but I receive a message

    /var/opt/ignite/recovery/2011-09-21,20:33/system_cfg vg00
lvlnboot: Couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group
save_config: Error - The command "lvlnboot" returns a non-zero value. You may use "vgscan -v " command to recreate the "/etc/lvmtab" file.
ERROR:   /opt/ignite/bin/save_config failed

=======  09/21/11 20:35:27 CDT  make_tape_recovery completed unsuccessfully

 

I issue the command ioscan -func disk

and the disk /dev/dsk/c2t1d0 is claimed

disk      1  0/1/1/0.0.0    sdisk      CLAIMED     DEVICE       HP 36.4GST373455LC#36
                           /dev/dsk/c2t0d0     /dev/dsk/c2t0d0s2   /dev/rdsk/c2t0d0    /dev/rdsk/c2t0d0s2
                           /dev/dsk/c2t0d0s1   /dev/dsk/c2t0d0s3   /dev/rdsk/c2t0d0s1  /dev/rdsk/c2t0d0s3
disk      2  0/1/1/0.1.0    sdisk      CLAIMED     DEVICE       COMPAQ  BF03685A35
                           /dev/dsk/c2t1d0   /dev/rdsk/c2t1d0
disk      3  0/2/1/0.0.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t0d0   /dev/rdsk/c4t0d0
disk      5  0/2/1/0.1.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t1d0   /dev/rdsk/c4t1d0
disk      7  0/2/1/0.2.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t2d0   /dev/rdsk/c4t2d0
disk      9  0/2/1/0.3.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t3d0   /dev/rdsk/c4t3d0
disk     11  0/2/1/0.4.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t4d0   /dev/rdsk/c4t4d0
disk     13  0/2/1/0.5.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t5d0   /dev/rdsk/c4t5d0
disk     15  0/2/1/0.8.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t8d0   /dev/rdsk/c4t8d0
disk      4  0/3/1/0.0.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c5t0d0   /dev/rdsk/c5t0d0
disk      6  0/3/1/0.1.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c5t1d0   /dev/rdsk/c5t1d0
disk      8  0/3/1/0.2.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c5t2d0   /dev/rdsk/c5t2d0
disk     10  0/3/1/0.3.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c5t3d0   /dev/rdsk/c5t3d0
disk     12  0/3/1/0.4.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c5t4d0   /dev/rdsk/c5t4d0
disk     14  0/3/1/0.5.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14689BB9
                           /dev/dsk/c5t5d0   /dev/rdsk/c5t5d0
disk     16  0/3/1/0.8.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c5t8d0   /dev/rdsk/c5t8d0

Also I enter

vgscan -v

# vgscan -v
vgscan: Warning: couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query all of the physical volumes.
vgscan: The physical volume "/dev/dsk/c2t0d0s2" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c2t1d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t1d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t2d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t3d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t4d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t5d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t8d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c5t8d0" is already recorded in the "/etc/lvmtab" file.

 

So I cant understand if the disk is Bad or is OK

What I can do to get an ignite of my machine?

 

rperez
3 REPLIES 3
Jesus_51
Advisor

Re: make_tape_recovery completed unsuccessfully

Hi,

 

 
Can you give you the result?

# strings /etc/lvmtab 

 

in this file is the link between Vg and disk or disks.

 

Thanks,

Jesus

Matti_Kurkela
Honored Contributor

Re: make_tape_recovery completed unsuccessfully

With the information you posted, it is not possible to tell if the disk /dev/dsk/c2t1d0 is good or bad. However, your LVM configuration may need some work.

 

Each LVM PV has a PVID assigned to it at the time you run "pvcreate" on it. Each VG also has a VGID assigned at the time "vgcreate" was used. When a PV is assigned to a particular VG, the VGID is written to the PV header too.

 

Now, your current LVM configuration says /dev/dsk/c2t1d0 should be a part of vg00... but apparently it has a VGID that does not match the rest of vg00, or it has no VGID at all.

 

What's the output of these commands?

pvdisplay -v /dev/dsk/c2t1d0 #this may be very long
vgdisplay -v vg00

 

Hmm... your disk /dev/dsk/c2t0d0 contains partitions (slices), so it's an Itanium system. The MirrorDisk procedures for Itanium vg00 are subtly different from PA-RISC equivalents: I would have expected the vg00 physical volume to be /dev/dsk/c2t1d0s2 instead of plain /dev/dsk/c2t1d0, if it's supposed to be a mirror of the main system disk. I would need to see the output of the above-mentioned pvdisplay/vgdisplay commands to fully understand the current configuration.

MK
WilliamSmith11
Super Advisor

Re: make_tape_recovery completed unsuccessfully

# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0
/dev/vg01
/dev/dsk/c4t0d0
/dev/vg02
/dev/dsk/c4t1d0
/dev/vg03
/dev/dsk/c4t2d0
/dev/vg04
/dev/dsk/c4t3d0
/dev/vg05
/dev/dsk/c4t4d0
/dev/vg06
/dev/dsk/c4t5d0
/dev/vg07
/dev/dsk/c4t8d0
/dev/vg09
/dev/dsk/c5t8d0

 

# ioscan -funC disk
Class     I  H/W Path       Driver     S/W State   H/W Type     Description
============================================================================
disk      0  0/0/2/0.0.0.0  sdisk      CLAIMED     DEVICE       TEAC    DV-28E-C
                           /dev/dsk/c0t0d0   /dev/rdsk/c0t0d0
disk      1  0/1/1/0.0.0    sdisk      CLAIMED     DEVICE       HP 36.4GST373455LC#36
                           /dev/dsk/c2t0d0     /dev/dsk/c2t0d0s2   /dev/rdsk/c2t0d0    /dev/rdsk/c2t0d0s2
                           /dev/dsk/c2t0d0s1   /dev/dsk/c2t0d0s3   /dev/rdsk/c2t0d0s1  /dev/rdsk/c2t0d0s3
disk      2  0/1/1/0.1.0    sdisk      CLAIMED     DEVICE       COMPAQ  BF03685A35
                           /dev/dsk/c2t1d0   /dev/rdsk/c2t1d0
disk      3  0/2/1/0.0.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t0d0   /dev/rdsk/c4t0d0
disk      5  0/2/1/0.1.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t1d0   /dev/rdsk/c4t1d0
disk      7  0/2/1/0.2.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t2d0   /dev/rdsk/c4t2d0
disk      9  0/2/1/0.3.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t3d0   /dev/rdsk/c4t3d0
disk     11  0/2/1/0.4.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t4d0   /dev/rdsk/c4t4d0
disk     13  0/2/1/0.5.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t5d0   /dev/rdsk/c4t5d0
disk     15  0/2/1/0.8.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c4t8d0   /dev/rdsk/c4t8d0
disk      4  0/3/1/0.0.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c5t0d0   /dev/rdsk/c5t0d0
disk      6  0/3/1/0.1.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c5t1d0   /dev/rdsk/c5t1d0
disk      8  0/3/1/0.2.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c5t2d0   /dev/rdsk/c5t2d0
disk     10  0/3/1/0.3.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c5t3d0   /dev/rdsk/c5t3d0
disk     12  0/3/1/0.4.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c5t4d0   /dev/rdsk/c5t4d0
disk     14  0/3/1/0.5.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14689BB9
                           /dev/dsk/c5t5d0   /dev/rdsk/c5t5d0
disk     16  0/3/1/0.8.0    sdisk      CLAIMED     DEVICE       COMPAQ  BD14685A26
                           /dev/dsk/c5t8d0   /dev/rdsk/c5t8d0

rperez