tags:

views:

19

answers:

1

A tool that I am trying to install says:

MySQL server data directory needs to reside on an LVM volume

How do I check if my data directory is on LVM?

+1  A: 

If you installed the OS then you would have chosen this option as part of the partitioning during installation. I assume you are looking to set up LVM snapshots (mylvmbackup) for MySQL?

If your seeing that message then i'm just guessing but you may not have an LVM volume, or at least MySQL data files aren't on it.

http://www.debian-administration.org/articles/410 is a guide for setting up with debian.

Try running lvdisplay on command line and is should display any LVM volumes if they exist.

pharalia
The output of lvdisplay is # No volume groups found ## is it worth the exercise?
shantanuo
Tough call, I've never done it myself, other than at install time. Apparently you can do it in 3 minutes according to this post http://www.walkernews.net/2007/07/02/how-to-create-linux-lvm-in-3-minutes/ however you will need a blank disk / partition to do it.
pharalia