Super User is a question and answer site for computer enthusiasts and power users. 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

I currently have 2 volume's:

  [root@compute4 /]# lvscan
  ACTIVE            '/dev/vps/vm108_img' [30.00 GB] inherit
  ACTIVE            '/dev/vps/vm109_img' [90.00 GB] inherit

Now, I use the LVM snapshot function to create backups. My quesion is, what size does the snapshot needs to be? Atleast the same as the volume in question or can it be a lot smaller and will only the changes be saved into it?

share|improve this question
up vote 0 down vote accepted

You'll only need to assign the amount of space for changes to happen. From a recipe in the docs:

A snapshot volume can be as large or a small as you like but it must be large enough to hold all the changes that are likely to happen to the original volume during the lifetime of the snapshot.

However, be sure to allocate enough space:

If the snapshot logical volume becomes full it will be dropped (become unusable) so it is vitally important to allocate enough space.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .