I wrote a couple of Perl scripts that make querying basic LVM information on HP-UX hosts a bit easier and show info alike the much loved Linux tools pvs/vgs/lvs. I got the idea from Juanma’s LVM scripts but his original scripts throw back some errors or faulty information in certain circumstances and well they are a bit slow too. So I made a rewrite in Perl, getting rid of the errors and making it all a good bit faster too.

You can find the scripts at my Github hp-ux scripts repository: https://github.com/patvdv/hpux_scripts

Some examples are displayed in the following sections.

Tags:

Categories:

Updated: