Can You Specify Where LVM Snapshots Are (Initially) Stored?

Posted by bottles on Server Fault See other posts from Server Fault or by bottles
Published on 2011-11-07T06:22:15Z Indexed on 2012/09/25 9:39 UTC
Read the original article Hit count: 140

Filed under:
|
|

Disclaimer: this is my first time using lvm.

Upon RTFM, it appears that LVM snapshots are automatically stored in the same directory as the original logical volume. In my case, that would mean the /dev directory. This isn't very nice, because there's not enough disk space in there for me to store a large snapshot.

So when I run a command like lvcreate --size 1G --snapshot --name snapshot /dev/lvmData/usr, I need an additional 1G of space free in /dev?

Is there any way to specify a different directory in which to store my snapshot?

© Server Fault or respective owner

Related posts about backup

Related posts about lvm