Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

The files in /dev are not ordinary files - they are devices represented as files. The LVM-snapshot is a block device, and takes up space from LVM.

The 1G you specified with lvcreate is taken from the Free column on the lvmData line after you've run the vgs-command.

share|improve this answer
I see. That - is awesome. – bottles Nov 7 '11 at 6:30

if you have all the space in the VG filled with LV's, you can add a disk to the VG and use it as a snapshot. So next time you create a snapshot, you know that the snapshot must be created in the the new disk.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.