Operating System - HP-UX
1834419 Members
1830 Online
110067 Solutions
New Discussion

Re: command error on a cluster node

 
najibakiki
Frequent Advisor

command error on a cluster node

Dear All,

I have a Cluster on 2 nodes intalled on Rp3440 servers. Node NSS1 and NSS2.

Node NSS2 primary node is working just fine and all the commands runs well on it.

I have a problem on the NSS1 node. i cannot execute any commands.
If i try to do:
lvlnboot -v
vgdisplay /dev/vg00
pvdisplay /dev/dsk/c2t0d0
lvextend -m 1...

it gives me the errors and warnings:

Couldn't query physicalvolume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to this volume group

Please any help would be appreciated.
Regards
18 REPLIES 18
Denver Osborn
Honored Contributor

Re: command error on a cluster node

Has the drive failed?

What does "lssf /dev/dsk/c2t0d0" show? Or even diskinfo /dev/rdsk/c2t0d0. Does the drive show up in ioscan as NO_HW or CLAIMED?

If the hardware looks good and the disk is available, could be corrupt lvm header. Running vgcfgrestore -n vg00 /dev/rdsk/c2t0d0 followed by vgchange -a y vg00 should do it.

post additional info if you need more help.

-denver
Torsten.
Acclaimed Contributor

Re: command error on a cluster node

A bad drive in vg00?

Have a look at this:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

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!   
Torsten.
Acclaimed Contributor

Re: command error on a cluster node

BTW - The disk in question is probably the disk in the bottom slot. Send an "ioscan -fn" to check this.

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!   
najibakiki
Frequent Advisor

Re: command error on a cluster node

Dear All,

Thanks for your replies,

But all my disks are fine and they are all claimed in "ioscan -fnCdisk" the boot one and the shared disks on the storage as well, no problems in the disks at all.

Also one of the other errors i get when doing vgdisplay /dev/vg00 i get:

vgdisplay: Couldnt query volume group "/dev/vg00"
Possible error in the volume group minor number;
Please check and make sure the minor number is unique.
vgdisplay: Cannot display volume group "/dev/vg00"

I run the command ll /dev/lvol/*
i found no conflict of minor numbers
and the group has a minor number of 0x000000

I read a thread that advice to vgexport and then vgimport the volume group but how i can do this since im dealing with VG00?

Regards

Torsten.
Acclaimed Contributor

Re: command error on a cluster node

What do you get?

# ll /dev/*/group
# strings /etc/lvmtab

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!   
najibakiki
Frequent Advisor

Re: command error on a cluster node

i tried to do the following:

vgcfgrestore -n vg00 /dev/rdsk/c2t0d0
But i could not since i get the same error;
Couldn't query physical volume ....

Also if i try to do
vgchange -a y /dev/vg00
i get the same error

najibakiki
Frequent Advisor

Re: command error on a cluster node

Dear Torsten,

Please find attached the output of the commands u ask:
ll /dev/*/group
strings /etc/lvmtab

the output are for both node NSS1 and NSS2

Plese HELP i founf in the output of NSS1 in lvmtab the following:

strings etc/lvmtab

/dev/vg00
CB$$
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0
/dev/vglock
/dev/dsk/c5t0d0
/dev/vgmxp
/dev/dsk/c5t1d0
/dev/dsk/c5t2d0
/dev/dsk/c5t3d0
/dev/dsk/c5t4d0
/dev/dsk/c5t5d0
/dev/dsk/c5t6d0
/dev/dsk/c5t7d0
/dev/dsk/c5t8d0
/dev/dsk/c4t1d0
/dev/dsk/c4t2d0
/dev/dsk/c4t3d0
/dev/dsk/c4t4d0
/dev/dsk/c4t5d0
/dev/dsk/c4t6d0
/dev/dsk/c4t7d0
/dev/dsk/c4t8d0


Whats the CB$$ about ??!!

Regards
najibakiki
Frequent Advisor

Re: command error on a cluster node

this is the attached file of the above
najibakiki
Frequent Advisor

Re: command error on a cluster node

Also this is the output of the healty node NSS2 to compare it if you like. attached above

Thanks
unixdaddy
Trusted Contributor

Re: command error on a cluster node

i seem to remember that when i've seen this problem, i've move /etc/lvmtab and done a vgscan and it seems to sort out the problem of not being able to query vg00. This was because the device paths had changed and the disks in vg00 were therefore different.
Hasan  Atasoy
Honored Contributor

Re: command error on a cluster node

hello ;
first you need to check physical volume
ioscan -fnC disk output should show disk as claimed. if you can see the disk in ioscan output you nedd to check disk.
dd if=/dev/dsk/c2t0d0 of=/dev/null bs=128k
should end without error. if you get error you need to replace physical disk.
najibakiki
Frequent Advisor

Re: command error on a cluster node

All disks are claimed in "ioscan -fnC disk"

Also when running this command it ended without any errors.
Torsten.
Acclaimed Contributor

Re: command error on a cluster node

Don't worry about the "strings" output - it's normal. See what "strings" does:
man strings

The disk is probably OK, but there is a configuration problem.

Move /etc/lvmtab

# mv /etc/lvmtab /etc/lvmtab.orig

(do not delete)

and run vgscan in preview mode first.

# vgscan -v -p

If the result is good, leave the "-p" away.


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!   
najibakiki
Frequent Advisor

Re: command error on a cluster node

postponed
Torsten.
Acclaimed Contributor

Re: command error on a cluster node

Already solved or not?

Remember to read this:

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

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!   
najibakiki
Frequent Advisor

Re: command error on a cluster node

Im sorry but it was not solved and any of the comands above worked.

The customer postponed us form work because he's shifting to other site, we will be later on working on it while the system is offline.

Thanks
najibakiki
Frequent Advisor

Re: command error on a cluster node

Im sorry but it was not solved and none of the comands above worked.

The customer postponed us form work because he's shifting to other site, we will be later on working on it while the system is offline.

Thanks
Torsten.
Acclaimed Contributor

Re: command error on a cluster node

I would suggest to re-open this thread if you continue to work on this problem later.

Anyway, consider to assign points to all helped you ;-)

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!