Operating System - HP-UX
1833863 Members
2421 Online
110063 Solutions
New Discussion

Re: vgdisplay -v =>there is not informations displayed

 
Juquin_3
Advisor

vgdisplay -v =>there is not informations displayed

Hi ,

i put a new disk (9Go) on a VG (VG03) ,
#pvcreate -f /dev/rdsk/c2t0d0
#vgcfgrestore -n dev/vg03 ....
#vgchange -a y /dev/vg03

but whence i tape #vgdisplay -v dev/vg03 , anything displayed !!

#strings /etc/lvmtab shows good informations about the new disk .

Someone can help me ,
14 REPLIES 14
Naveej.K.A
Honored Contributor

Re: vgdisplay -v =>there is not informations displayed

Hi,

ls -l /dev/vg03

does it exist?? and do you have a group device file for this VG??

Regards,
--Naveej
practice makes a man perfect!!!
Juquin_3
Advisor

Re: vgdisplay -v =>there is not informations displayed

Yes !

there are 2 disks on VG03 .

When i tape #bdf => i can see all the VG's
but not the VG03 !!
Thayanidhi
Honored Contributor

Re: vgdisplay -v =>there is not informations displayed

Post the following outputs.

ioscan -fnC disk
vgdisplay -v /dev/vg03
strings /etc/lvmtab
pvdisplay /dev/dsk/c2t0d2
Attitude (not aptitude) determines altitude.
Juquin_3
Advisor

Re: vgdisplay -v =>there is not informations displayed

always the same things...

i can't display informations about disks , logical volume . There are no errors messages !!
I try to move /etc/lvmtab ,
i put #vgscan -av ...no success !
Maybe it's LVM corrup table ?
In this case how can i resolve this problem ?
Robert-Jan Goossens
Honored Contributor

Re: vgdisplay -v =>there is not informations displayed

could it be there is something wrong with your lvm commands ?

Try
# /sbin/vgdisplay -v /dev/vg03

Robert-Jan
Juquin_3
Advisor

Re: vgdisplay -v =>there is not informations displayed

#vgdisplay -v /dev/vg03 give no answer !
(no errors messages) it does not give informations about LVM configuration ...
Thayanidhi
Honored Contributor

Re: vgdisplay -v =>there is not informations displayed

run,

which vgdisplay
and
what `which vgdisplay`

Check your path

Regds
TT
Attitude (not aptitude) determines altitude.
Juquin_3
Advisor

Re: vgdisplay -v =>there is not informations displayed

which vgdisplay is OK !
Thayanidhi
Honored Contributor

Re: vgdisplay -v =>there is not informations displayed

Hi,
What is the path shown when you run "which vgdisplay"?

run

what

and post the output.

I feel the LVM commands are not working for you!

Also post

ll /sbin/vg*
ll /usr/sbin/vg*

Regds
TT
Attitude (not aptitude) determines altitude.
Geoff Wild
Honored Contributor

Re: vgdisplay -v =>there is not informations displayed

strings /etc/lvmtab

Is vg03 in there?

How confident are you that /dev/rdsk/c2t0d0 was a new disk?

Try vgcfgrestore to the other disk in vg03...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Juquin_3
Advisor

Re: vgdisplay -v =>there is not informations displayed

#ll /sbin/vg* is OK !!

#ll /usr/sbin/vg* give the answer :

-r-sr-xr-x 23 root sys 0 jun 10
2000 /usr/sbin/vg.....

why '0' instead of 376832 for example when i put #ll /sbin/vg*

Dietmar Konermann
Honored Contributor

Re: vgdisplay -v =>there is not informations displayed

Well, for some reaon your lvm commmands under /sbin are zeroed out. Either you restore them from backup or you (re-)install an LVM commands patch to get them back.

In the meantime you can use the /usr/sbin commands by calling them with their complete path.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Juquin_3
Advisor

Re: vgdisplay -v =>there is not informations displayed

Thanks Dietmar !

i found a solution ...my VG is resynchronized

What is the name of the LVM patch ?
Robert-Jan Goossens
Honored Contributor

Re: vgdisplay -v =>there is not informations displayed

try to locate the patch on your system. The latest patches are below.

# swlist -l product | grep -i lvm

LVM commands cumulative patch

11.11
http://www4.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_30698&context=hpux:800:11:11

11.0
http://www4.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_23791&context=hpux:800:11:00

Regards,
Robert-Jan