If you need to work with LVM in your scripts but haven’t found a good method to access details about Logical Volume Groups, here’s a simple Python script that will print the details about any volumes on your system. This could be useful for writing a partition check script for your MySQL data directory (if you’re not using a standard monitoring system like Nagios). Here’s the link: http://codepad.org/8kjOBJdj
Image may be NSFW.Clik here to view.

PlanetMySQL Voting: Vote UP / Vote DOWN