Error on ignite

 
Paul Thomson_2
Super Advisor

Error on ignite

When running an ignite I get the following errors
Started - Fri Oct 4 14:44:36 2002
********
/opt/ignite/bin/make_recovery -v -A -d /dev/rmt/0m
/usr/sbin/vgdisplay -v "vg00"
/usr/sbin/vgdisplay -v "vg00"
/usr/sbin/vgdisplay -v
"/opt/ignite/bin/save_config" -f "/var/opt/ignite/recovery/config.recover" "vg00
" >> "/var/opt/ignite/logs/makrec.log1" 2>&1
lvlnboot: Warning: Can not determine all Physical Volumes on which mirrored cop
ies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
Unable to query the I/O interface: Parameter error.
lvlnboot: Unable to print reliable information.
lssf: Must specify a special_file
usage: lssf special_file ...
save_config: error - unknown disk type for , not SCSI or HPFL
save_config: error - cannot determine root disk

********
Ended Unsuccessfully - Fri Oct 4 14:45:04 2002
********


Can anyone advise ??
Argh ye land lovers !
12 REPLIES 12
Pete Randall
Outstanding Contributor

Re: Error on ignite

Perhaps your lvmtab is out of sync? Try a vgscan?

Pete

Pete
harry d brown jr
Honored Contributor

Re: Error on ignite


Looks like you need to rebuild the /etc/lvmtab file:

mv /etc/lvmtab /etc/lvmtab.orig
vgscan -a

then try the backup again. BUT, before you start, you should UPGRADE ignite to the latest version:

http://www.software.hp.com/products/IUX/download.html

and start using make_tape_recovery.

After doing a make_tape_recovery, it's also advisble to update your patches.

live free or die
harry
Live Free or Die
Cheryl Griffin
Honored Contributor

Re: Error on ignite

There may also be a problem with vg00:
# vgdisplay -v /dev/vg00 |more
# lvlnboot -v
# strings /etc/lvmtab

Look for things like the command(s) error, or the Cur PV and Act PV not being equal in vgdisplay or the list of physical disks does not match what /etc/lvmtab shows.

Check /var/adm/syslog/syslog.log and dmesg for disk related errors.

Cheryl
"Downtime is a Crime."
steven Burgess_2
Honored Contributor

Re: Error on ignite

Tommo

Have a look at this doc

http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062921960

HTH

Steve
take your time and think things through
Clemens van Everdingen
Honored Contributor

Re: Error on ignite

Hi,

lvlnboot -v is giving this error as we can read above.

So follow cheryl's approach to troubleshoot before doing vgscan etc...

Show us the output from vgdisplay and strings lvmtab.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Paul Thomson_2
Super Advisor

Re: Error on ignite

In syslog there are entries such as

Oct 4 14:43:18 gb360_w vmunix: SCSI: Attempt to access partially open device --
dev: bc001000
Oct 4 14:43:18 gb360_w vmunix: SCSI: Attempt to access partially open device --
dev: bc001000
Oct 4 14:59:04 gb360_w vmunix: SCSI: Attempt to access partially open device --
dev: bc001000
Oct 4 14:59:04 gb360_w vmunix: SCSI: Attempt to access partially open device --
dev: bc001000

demsg shows

SCSI: Attempt to access partially open device -- dev: bc001000
SCSI: Attempt to access partially open device -- dev: bc001000
SCSI: Attempt to access partially open device -- dev: bc001000
SCSI: Attempt to access partially open device -- dev: bc001000
SCSI: Attempt to access partially open device -- dev: bc001000
SCSI: Attempt to access partially open device -- dev: bc001000


I have attached the output of vgdisplay and lvmtab


Does this help

I have also tried moving lvmtab to .old and vgscan -a.before raising the question.

ioscan shows for disks
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 4 0/0/1/0.1.0 sdisk CLAIMED DEVICE HP DVD-ROM 304
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
disk 0 0/0/1/1.0.0 sdisk CLAIMED DEVICE SEAGATE ST318203LC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 3 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST318203LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0

So the disk dmesg moans about is c0t1d0 which is the cd rom ?
Argh ye land lovers !
Cheryl Griffin
Honored Contributor

Re: Error on ignite

Here's the problem:
Cur PV 2
Act PV 1

Are there supposed to be 2 disks in this volume group or 1?

Cheryl
"Downtime is a Crime."
Cheryl Griffin
Honored Contributor

Re: Error on ignite

/etc/lvmtab shows only 1 so if this is true:
/dev/vg00
/dev/dsk/c1t2d0

Verify with:
# lvlnboot -v

# vgreduce -f /dev/vg00
If this succeeds then recreate the /etc/lvmtab by moving this file and recreating it:
# vgscan -v

If vgreduce fails, use ITRC Knowledge Base doc rcfaxlvm008 where you'll boot into LVM maintenance mode and vgexport/vgimport the volume group to correct it.

Cheryl
"Downtime is a Crime."
Bill McNAMARA_1
Honored Contributor

Re: Error on ignite

vgscan can be extremely hazardous for system perf.. make sure that you know what you're doing before just rescanning.

The problem will be apparent if you have HA disk arrays /fc loops and are "load balancing" via lvm primary/alternate links.

in anycase - search the forums about the numerical order vgscan recreates the lvmtab in.

You might just be better off doing a vgreduce..

Later,
Bill
It works for me (tm)