Re: Cannot see vg02 /usr/informix (329 Views)
Reply
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 1 of 23 (329 Views)

Cannot see vg02 /usr/informix

Dears,
can anyone help out, i have a volume group not mounted with the following error
/dev/vg02/lvol1, error=6
no such device

BR,
Sherif Mattar
Acclaimed Contributor
Torsten.
Posts: 23,303
Registered: ‎10-02-2001
Message 2 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

Some steps:

# strings /etc/lvmtab

what disk belong to vg02?

# ioscan -fn

disks are there?

# vgdisplay -v vg02

VG active?

Post results!

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!   
Acclaimed Contributor
James R. Ferguson
Posts: 21,184
Registered: ‎07-06-2000
Message 3 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

Hi:

This sounds like the device file is missing (which is what the error and error number say).

Do:

# ls -l /dev/vg02

If the device file(s) are missing, you could try a 'vgexport' and then a 'vgimport'.

Regards!

...JRF...
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 4 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

what disk belong to vg02?

/dev/dsk/c0t0d0
/dev/dsk/c0t1d0

ioscan -fn
i assume that
3 8/12.0.0
5 8/12.1.0

vgdisplay -v vg02

vgdisplay: volume group not activated.
vgdisplay: cannot display volume group "vg02"
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 5 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

the return back for the ls -l /dev/vg02 is
group, lvol1, rvol1 with a root/sys user/group
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 6 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

Dears,
what is the next step to recover ?
also how far is my situation ?
could it be a H/W issue ?
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 7 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

i have tried vgchange -a y /dev/vg02
result:
vgchange: couldn't activate volume group /dev/vg02
Quorum not present, or some physical volume(s) are missing !!!?

any help
Trusted Contributor
Basheer_2
Posts: 571
Registered: ‎09-12-2002
Message 8 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

Mattar,

Do pvdisplay on each one of them.

this will return the vg it belongs to.
Honored Contributor
R.K. #
Posts: 705
Registered: ‎05-20-2008
Message 9 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

Hi Sherif,

>>Quorum not present
Try to activate the Vg in low quorum mode.
# vgchange -a y -q n vg02

If two disks are present then probably one disk is missing or gone bad.

What is the status of /dev/dsk/c0t0d0 and /dev/dsk/c0t1d0 in:
# ioscan -fnC disk

Are they claimed??
Don't fix that what ain't broke
Advisor
Patricio Besteiro
Posts: 32
Registered: ‎12-03-2009
Message 10 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

Try:
ioscan -nfC disk |grep -i no_hw

I think disks are missing...
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 11 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

All the result for ioscan -fn are claimed,
i will try the activation command and let you know.
===============================================
if a hardisk is faulty, how can i identify it ?
i have a new one but don't know which i should replace?

i have two auto raid storage, each has three 18.2GB

ordered A1, A2 & B1

thanks for your help.
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 12 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

pvdisplay /dev/dsk/
couldn't query physical volume
couldn't query all of the physical volumes
couldn't retrive the names of the names of physical volumes belonging to volume group /dev/vg02

Honored Contributor
R.K. #
Posts: 705
Registered: ‎05-20-2008
Message 13 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

Hi Again,

PLease post the result of:
# vgchange -a y -q n vg02

If above works, post:
# vgdisplay -v vg02

Else:
#strings /etc/lvmtab
to see which disks were present in vg02. NOw see if they are "claimed" in "ioscan -fnC disk".

If yes..run:
#vgscan -pav
(This is only preview mode. No changes will be made to system.) And see which disks comes up under vg00.
If it is different from those in /etc/lvmtab, take backup of original lvmtab and run:

#vgscan -av
to recreate lvmtab (only after taking backup of lvmtab).
Don't fix that what ain't broke
Acclaimed Contributor
Torsten.
Posts: 23,303
Registered: ‎10-02-2001
Message 14 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

autoraid?

Please post

# arraydsp -a

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!   
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 15 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

hi back Torsten,
yes there are two autoRaid. i will update you shortly with the requested command result.
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 16 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

while ioscan -fnC disk
array monitor daemon access error: unable to get status from disk array on

/dev/rsdsk/c0t2d0 at invest1
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 17 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

the data on VG02 is: /usr/informix
i want to restore it on the /usr/informix directly. (VG00)

i have
full backup (5 tapes)
informix backup (1 tape)
Ignite backup
user backup
informix CD

can you provide me with the different read commands, i tried tar tvf /dev/rmt/0m
with a check sum error. it seems backup was taken with other method.
BR,
Sherif Mattar
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 18 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

how can i get the !!??
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 19 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

i have replaced the scsi cable and geting a stream of errors:

lv_readvgdats: couldn't read VGDA 1 header and trailer from disk H/W path 8/12.2.1 (error =5)

lv_readvgdats: couldn't read VGDA 2 header and trailer from disk H/W path 8/12.2.1 (error =5)

LVM: PV 0 has been returned to VG [6]
LVM: vg[6] pvnum=0 (dev_t=0x1f002100) is powerfailed
LVM: performed a switch of Lun ID = 0 (pv = 0x2f224000), from raw device 0x1f001100 (with priority: ..)

it is an endless loop !!

can any one kindly advice
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 20 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

Dears,
i have reached the original point,
VG02 is not mounted.
now my only hope is to fix the VG02 volume

any hope .......??
Acclaimed Contributor
Torsten.
Posts: 23,303
Registered: ‎10-02-2001
Message 21 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

Post

# arraydsp -i

# arraydsp -a

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!   
Advisor
Sherif Mattar
Posts: 14
Registered: ‎12-03-2009
Message 22 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

dear torsten,
i am little late, what has got in my mind is to reinstall informix on the same path and configure fast the configuration files.

it works, but efficiency problems and some error messages pops up.

can you kindly clarify if the # arraydsp -i
command pops out two controllers.

# arraydsp -a (i can not get the array-id can you help ?)
Acclaimed Contributor
Torsten.
Posts: 23,303
Registered: ‎10-02-2001
Message 23 of 23 (329 Views)

Re: Cannot see vg02 /usr/informix

Please post the result of

arraydsp -i


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!   
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.