You are not logged in.

#1 2015-09-21 00:16:04

Rob_H
Member
Registered: 2012-06-19
Posts: 72

LVM merging snapshot won't die

I restored an LVM snapshot using lvconvert --merge and all seems OK except that the snapshot volume isn't removed, even after several reboots. It seems to be stuck.

08:10 PM [rob@caprica:~]$ sudo lvs -a
[sudo] password for rob: 
  LV          VG         Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  old_kubuntu caprica_vg -wi-a-----  50.00g                                                    
  root        caprica_vg Owi-aos--- 250.00g                                                    
  [snappy]    caprica_vg Swi-a-s--- 200.00g      root   0.00  

If I try to remove the "snappy" volume, I get an error saying that it can't remove a merging snapshot.

Anyone know how to solve this? When I shutdown the system, I get "resource busy" warnings from device mapper, but as far as I can tell, nothing is referring to this volume.

Offline

#2 2015-09-29 00:28:13

Rob_H
Member
Registered: 2012-06-19
Posts: 72

Re: LVM merging snapshot won't die

Many days later, the problem persists. I tried booting from a live USB and ran vgscan to initialize the volume group without mounting any of the volumes. Still no change. How can I get rid of this snapshot?

Offline

#3 2015-09-29 02:01:55

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: LVM merging snapshot won't die

Rob_H wrote:
  old_kubuntu caprica_vg -wi-a-----  50.00g                                                    
  root        caprica_vg Owi-aos--- 250.00g                                                    
  [snappy]    caprica_vg Swi-a-s--- 200.00g      root   0.00  

Is this Arch Linux?

Offline

#4 2015-09-29 02:28:12

Rob_H
Member
Registered: 2012-06-19
Posts: 72

Re: LVM merging snapshot won't die

Yes. The "old_kubuntu" volume is just a backup of my old laptop, not relevant here.

Linux caprica 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64 GNU/Linux

Offline

Board footer

Powered by FluxBB