1753344 Members
5101 Online
108792 Solutions
New Discussion юеВ

how to monitor LVM

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

how to monitor LVM

Hi

I want to monitor physical volume, volume group and logical volume.

is there any shell script to do this?

i want a mail to be received by me if any physical volumr / volume group / logical volume goes fail.

3 REPLIES 3
Jeeshan
Honored Contributor
Solution

Re: how to monitor LVM

Sajjad Sahir
Honored Contributor

Re: how to monitor LVM

Dear Senthil

for seeing this

vgdisplay -v /dev/vg##

it will display all logical volume and physical volumes belong to this volume group

lvdisplay
pvdisply
see man pages of all theses comnmands

Sajjad
Steven E. Protter
Exalted Contributor

Re: how to monitor LVM

Shalom,

See my response to your other question.

There are good scripts in there.

No reason to re-invent the wheel.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com