[linux-lvm] Problems removing snapshots

Kottaridis, Chris chris.kottaridis at windriver.com
Wed May 9 16:19:52 UTC 2007


I am seeing something similar, did you ever get a resolution to your
problem ?

I unmount my snapshot first and then do the lvremove. I am running and
older version of 2.6.10

Thanks 


Chris Kottaridis
Senior Engineer
Wind River Systems
719-522-9786

-----Original Message-----
From: linux-lvm-bounces at redhat.com [mailto:linux-lvm-bounces at redhat.com]
On Behalf Of Dominik Epple
Sent: Friday, March 30, 2007 2:28 AM
To: linux-lvm at redhat.com
Subject: [linux-lvm] Problems removing snapshots

Hi list,

I have two snapshot volumes:

# lvs
  LV        VG         Attr   LSize  Origin Snap%  Move Copy%
  home      lvm_share  owi-ao 44.00G
  mail      lvm_share  owi-ao  4.00G
  snap_home lvm_share  swi-a-  6.00G home    63.72
  snap_mail lvm_share  swi-a-  1.00G mail    23.68

When I try to remove one of them...

# lvremove -d -v /dev/lvm_share/snap_mail
    Using logical volume(s) on command line Do you really want to remove
active logical volume "snap_mail"? [y/n]: y
    Archiving volume group "lvm_share" metadata.
    Found volume group "lvm_share"
    Loading lvm_share-mail-real
    Loading lvm_share-snap_mail-cow
    Loading lvm_share-snap_mail

... it seems to take forever (at least it does not complete within
minutes), and the load of the machine goes up very high (larger than 10,
and still increasing), and finally, I need to reboot the machine with
the reset button.

How can I get rid of my snapshots?

The system is debian sarge on amd64 with a custom kernel and standard
debian packages of lvm etc.

# uname -a
Linux hostname 2.6.18.3-k8-smp #1 SMP Wed Nov 22 11:58:25 CET 2006
x86_64 GNU/Linux

Thanks, Dominik.
--
PGP Public Key and contact information available at
http://www.tphys.physik.uni-tuebingen.de/tplist/phonelist.py?uid=epple

_______________________________________________
linux-lvm mailing list
linux-lvm at redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list