<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
Hello,<BR>
<BR>
I wanted to get some help about LVM2 snapshots, but I'm not sure where to ask.<BR>
<BR>
I'm using LVM2 with KVM instances, it works great. I then wanted to play a little bit with the LVM snapshot merging facility, as long as the VM is powered off it works perfectly, but when I tried with a powered on VM I ran into troubles. The merging did not start and is now stuck :<BR>
<BR>
<B>lvdisplay :</B><BR>
<BLOCKQUOTE>
    <BR>
      --- Logical volume ---<BR>
      LV Name                /dev/ScoreMD_VG01/LV_VM_SQUEEZE<BR>
      VG Name                ScoreMD_VG01<BR>
      LV UUID                9v7Jcm-vkcq-2tiq-1uFP-yDsU-zLib-JfivEM<BR>
      LV Write Access        read/write<BR>
      LV snapshot status     source of<BR>
                             /dev/ScoreMD_VG01/SQUEEZE_SNAP [active]<BR>
      LV Status              available<BR>
      # open                 0<BR>
      LV Size                25,00 GiB<BR>
      Current LE             6400<BR>
      Segments               1<BR>
      Allocation             inherit<BR>
      Read ahead sectors     auto<BR>
      - currently set to     256<BR>
      Block device           254:6<BR>
    <BR>
</BLOCKQUOTE>
/dev/ScoreMD_VG01/LV_VM_SQUEEZE hosts my VM disk, /dev/ScoreMD_VG01/SQUEEZE_SNAP is the snapshot.<BR>
<BR>
<B>dmsetup status :</B><BR>
<BLOCKQUOTE>
    ScoreMD_VG01-SQUEEZE_SNAP: 0 52428800 error <BR>
    ScoreMD_VG01-LV_VM_SQUEEZE: 0 52428800 snapshot-merge Invalid<BR>
    ScoreMD_VG01-LV_VM_SQUEEZE-real: 0 52428800 linear <BR>
    <BR>
    <BR>
</BLOCKQUOTE>
I would like to delete the snapshot and recover the original volume.<BR>
<BR>
I will be very happy if someone could give me some hints or redirect me to the right place for asking for help.<BR>
<BR>
Thanks.<BR>
<BR>
Hervé
</BODY>
</HTML>