1832605 Members
2821 Online
110043 Solutions
New Discussion

Disk configuration info

 
SOLVED
Go to solution
Raynald Boucher
Super Advisor

Disk configuration info

Hello all,

Just a little question:
Where do [pv|vg|lv]display get their info?
ie do they only scan device files or do they actually scan the disks you want to look at?

My problem is that we currently have a bad disk I have to remove. "ioscan" times out on it which generates a syslog error which in turn get picked up by our system monitor which then pages our on call person.
So I just want to make sure that any queries I make don't trigger pages.

Thanks

Rayb
-------------------------------------------------------------------------------------------------------
P.S. This thread has been moved from HP-UX> system administration to LVM and VxVM - Forum Moderator
5 REPLIES 5
Suraj K Sankari
Honored Contributor

Re: Disk configuration info

Hi,
Not able to understand your question, if you want to change any faulty disk then reffer this attached pdf file.
This will help you.

Suraj
Dennis Handly
Acclaimed Contributor

Re: Disk configuration info

>Where do [pv|vg|lv]display get their info?

From /etc/lvmtab, /etc/lvmpvg and /dev/vg*/group.
Solution

Re: Disk configuration info

each disk has a vgra that contains information about which vg the disk belongs to , the extent size and other such details .
commands like vgscan , pvdisplay scan the vgra of the disks but vgdisplay just looks in the files like /etc/lvmtab/.conf
Rita C Workman
Honored Contributor

Re: Disk configuration info

If you don't want pages...either turn off the monitor, or (depending on what you use to monitor) edit out disk monitoring. I am presuming you are meaning getting additional errors when you replace the disk and then have to run ioscan again to ensure all is seen and working properly.

Turn things back on when done and all is working properly.

Regards,
Rita

Raynald Boucher
Super Advisor

Re: Disk configuration info

Thanks for the info.
We don't want to stop the monitor as it checks for many other things and the paperwork we have to do to make any update to a production system is huge.

Thanks again.

RayB