Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

After creating a large snapshot (I assume it drifted about 30GB from the original) I noticed that vgchange -ay took noticeable longer (to the point I thought computer hanged).

What does the activation involve and why does it take so much time to activate a LVM snapshot?

share|improve this question
up vote 1 down vote accepted

A snapshot contains the differences between the original and the "mirrored" device. For being able to use both of them, it is necessary to map these differences to the "original" device (in memory). This is the more time-consuming, the fuller the "difference device" becomes.

share|improve this answer
Hmm. Any idea why it is done eagerly instead of lazily or asynchronously? – Maciej Piechotka Sep 10 '11 at 14:07
No, alas - never thought about it. Maybe because it "probably" assumes to need potential access to every block? – glglgl Sep 21 '11 at 14:10

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.