Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 0 down vote accepted
+50

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

Your Answer

 
discard

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.