[linux-lvm] LVM snapshot unreliable?

Falko Zurell falko.zurell at idmedia.com
Thu Jul 26 08:13:38 UTC 2007


I still got this major issue that automatic nightly snapshoting is  
absolutly not reliable. In 4 out of 5 times the snapshoting will fail.

My Setup:
	HP DL320s box with 6 harddisks
	Ubuntu server 7.04 (feisty)
	kernel: 2.6.20-16-server
	device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm- 
devel at redhat.com
	LVM version:     2.02.06 (2006-05-12)
   		Library version: 1.02.08 (2006-07-17)
   		Driver version:  4.11.0

All my disks form a big hardware RAID5. LVM is serving one volume  
group with 4 logical volumes. To of the volumes have the XFS  
filesystem and should be snapshot every night.

Therefor I unmount the last snapshot, remove the snapshot and the re- 
create it with the same name. But it looks like lvm isn't removing  
the snapshot most of the time. The lvremove returns that it has  
successfully removed the snapshot. But when I try to re create the  
snaphost it fails. Then with "lvs" I can see that the snapshot is  
still there.

I tried to deactivate the snapshot prior to removing with "lvchange - 
an" but that wont help or even work most of the times.

Has someone a working konfiguration? Home often do you snapshots?  
Could this be a XFS issue?

thanks and kind regards


Falko Zurell
Head of Application Management

Mobil +49 (0)160 - 3 62 52 77
icq: 327004879
skype: zero_data

/i-d media AG
Ohlauer Straße 43
D-10999 Berlin

Tel +49 (0)30 - 2 59 47 - 357
Fax +49 (0)30 - 2 59 47 - 471


Board: Regine Haschka-Helmer (CEO), Franz Klose (CFO)
Chairman of the Supervisory Board: Christian A. Hufnagl
Headquarters: Berlin, Place of Jurisdiction: Berlin HRB 76342
UST-Id. DE812698340

This message may contain confidential information and must not be  
copied, disclosed or used by anybody other than the intended  
recipient. If you have received this message in error, please notify  
us immediately by reply e-mail and delete all records of the message  
from your computer. The views represented in this message are solely  
those of the author. Neither the author nor I-D Media AG accepts any  
liability for the contents of this message.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20070726/8230d1c6/attachment.htm>

More information about the linux-lvm mailing list