Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

Script to collect vginfo

SOLVED
Go to Solution
Super Advisor

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

1 ACCEPTED SOLUTIONS
Highlighted
Acclaimed Contributor Acclaimed Contributor

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.

1 REPLIES
Highlighted
Acclaimed Contributor Acclaimed Contributor

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.