Re: Script to collect vginfo (198 Views)
Reply
Super Advisor
zxcv
Posts: 226
Registered: ‎04-09-2010
Message 1 of 2 (213 Views)
Accepted Solution

Script to collect vginfo

Hi ,

 

I need a script to collect vg info for all vg's except vg00 for a particular server which when ran  must give;

 

VG name             Total size             LUN number   minor number   Available size

Acclaimed Contributor
Dennis Handly
Posts: 25,291
Registered: ‎03-06-2006
Message 2 of 2 (198 Views)

Re: Script to collect vginfo

Have you looked at Bill's script here:

http://h30499.www3.hp.com/t5/LVM-and-VxVM/Device-Name-VG-LV-Mount-point/m-p/5852711

 

Do you have any idea what commands provide the info you want?

I assume you start with vgdisplay.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.