All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] more than 10 shapshots freeze system
@ 2007-02-12 17:47 ` Andre Noll
  0 siblings, 0 replies; 4+ messages in thread
From: Andre Noll @ 2007-02-12 17:47 UTC (permalink / raw)
  To: Alasdair G Kergon
  Cc: dm-devel, LVM general discussion and development, Heinz Mauelshagen

[-- Attachment #1: Type: text/plain, Size: 1539 bytes --]

Hi

last week I was experimenting a bit with lvm snapshots. What I tried
to do was to create 2 snapshots per day from our ~5T "backup" ext3
filesystem which gets rsynced twice a day from the (remote) "real"
production filesystem.

Our workload changes at most 50G of data a day, so I chose an initial
snapshot size of 50G. After each rsync run, the snapshot lvs were
extended so that each of them had again 50G free space available.

This worked very well for about three days, i.e. six snapshots. From
this day on, the system [1] became more and more sluggish during
the rsync runs. Hitting return in bash on the otherwise idle system
began to take as much as several seconds. Simple lvm commands like
lvdisplay took up to several minutes.

Two or three days later (i.e. 10+ snapshots) the system froze totally
during the rsync. Nothing made it to the system log. I could easily
reproduce this by running rsync again or by simply creating a 100M
file.

Is this an expected behaviour?

If so, is there a formula in terms of filesytem/snapshot/ram size to
compute the maximal number of snapshots that may be created from the
same filesystem without risking to freeze the system?

If this behaviour is not expected, what can I do to improve the
situation or to debug this problem?

Thanks
Andre

[1] HP Proliant, 2-way AMD Opteron, 5G Ram, linux-2.6.19.x and
linux-2.6.20, ubuntu server lvm tools based on libdevmapper-1.02
-- 
The only person who always got his work done by Friday was Robinson Crusoe

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-28 17:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12 17:47 [linux-lvm] more than 10 shapshots freeze system Andre Noll
2007-02-12 17:47 ` Andre Noll
2007-02-28 17:45 ` [linux-lvm] Re: INFO: possible recursive locking detected. Was: " Andre Noll
2007-02-28 17:45   ` Andre Noll

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.