Operating System - HP-UX
1833857 Members
2504 Online
110063 Solutions
New Discussion

Re: SAM doesn't display an VG/LVOL info

 
JaeKennedy
New Member

SAM doesn't display an VG/LVOL info

Hello, everyone --

I'm having an issue on my Development server (rp7420 hpux11.11) where SAM is not displaying any volume group or logical volume info. I can get the info I need via command line, but when I try to open either "logical volumes" or "volume groups" in SAM I get a message saying that there are currently no volume groups set up on the system (see attached). I've gone through the process of copying out the lvmtab and running a vgscan to recreate, but it still doesn't see any defined volume groups. Even after a full system reboot SAM doesn't see them.

Has anyone ever seen or heard of this before? Any suggestions on what else I may be able to try in my troubleshooting? Any feedback is much appreciated!

Cheers,
7 REPLIES 7
Yang Qin_1
Honored Contributor

Re: SAM doesn't display an VG/LVOL info

Can you run "vgscan -p -v" and see if you have some errors or not? It sounds like your /etc/lvmtab does not match your current VG configuration.

Yang
Sameer_Nirmal
Honored Contributor

Re: SAM doesn't display an VG/LVOL info

Take a look at the SAM log using
# samlog_viewer -tn >/tmp/samlog.txt

SAM uses a script called "vginfo" located in
/usr/sam/lbin. Run this script and see what it gets using
# /usr/sam/lbin/vginfo -v

Dinesh MIshra
Advisor

Re: SAM doesn't display an VG/LVOL info

Check volume groups are activated or not.
#vgchange -a y
Are u using cluster on your server.
Henk Geurts
Esteemed Contributor

Re: SAM doesn't display an VG/LVOL info

Is it just sam ? or is it more serious?
can you check your current and old lvmtab:
strings /etc/lvmtab
strings /etc/lvmtab.old ( or whatever you named it before the vgscan)

does it show the vg's ?
if not the system can not see the disks as well ? ioscan -fnC disk ...
does it show disks of the other VG's?
if not check SCSI/fiber connections..

regards.
JaeKennedy
New Member

Re: SAM doesn't display an VG/LVOL info

Sorry for the delay in response...out of the office.


To answer all the questions:

* /etc/lvmtab shows all the correct vg's and disks
* ioscan shows all disks
* vgdisplay/lvdisplay displays all the correct info

However, Sameer -- the "vginfo" command gives this error:

# /usr/sam/lbin/vginfo -v
vxvm:vxprint: ERROR: IPC failure: Configuration daemon is not accessible
vxvm:vxdisk: ERROR: Cannot get records from vxconfigd: Record not in disk group

Which is weird, because we're just using LVM...not VxVM.
Sanjay Yugal Kishore Ha
Frequent Advisor

Re: SAM doesn't display an VG/LVOL info

If the /usr/sam/lbin/vginfo -v,
just displays the error related to vxvm and not the other VGs, then therein lies your problem (or rather SAM's problem).

The vginfo is a script that uses vgdisplay, pvdisplay and other lvm(7) commands to gather the required info.
What is the SAM patch level on your system? Is it the latest?

-Sanjay
Dying is the last thing that I will do.
JaeKennedy
New Member

Re: SAM doesn't display an VG/LVOL info

Thanks for the responses, everyone. I think I'm going to open a case with HP to try and get this resolved.