All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] syncing with snapshots takes forever?
@ 2003-01-24  7:08 Sean Oh
  2003-01-24  7:33 ` Jan-Benedict Glaw
  2003-01-24 12:16 ` Andreas Dilger
  0 siblings, 2 replies; 7+ messages in thread
From: Sean Oh @ 2003-01-24  7:08 UTC (permalink / raw)
  To: linux-lvm

I am having difficult with LVM snapshots and syncing.
I have tested LVM 1.0.6 and also LVM2. Both generate the same problem.

My testing environment is as follows:

VG vg01 Size 100GB
LV lv01 Size 50GB
LV lv01_snapshot1 size 10GB
LV lv01_snapshot2 size 10GB
LV lv01_snapshot3 size 10GB

as you can see above, there 4 LVs, one LV and 3 snapshots for the LV
and also the system has SCSI raid controller(Mylex) and 1024GB of RAM, 
though these does not seem to matter, since the problem happens to other 
systems, also.
The FS does not matter here, since Reiserfs and XFS both produce the same 
syncing problem.

For LVM 1.0.6, I have applied VFS lock patch and lvm-1.0.6 patch to the 
kernel 2.4.20. ---> same problem. Kernel 2.4.20 without any patches gives 
the same problem,too.

For LVM2 ---> I removed all the LVs and VG that made with LVM1 and remake 
them with LVM2. No diifference at all. BTW, LVM2 genereates a stragne error 
message to console 'invalidate: busy buffer'

After copying a file with 1GB size to lv01 and typing 'sync' takes more 30 
minitus or sometime forever. During these time period, access to lv01 is 
neary blocked, producing very slow performance(0 ~ 400B/s). If I remove the 
snapshots, sync returns normally. So it is the issue with LVM making the 
changes in LV to 3 snapshots while locking the LV.

Is there any way to make the snapshots syncing faster? Is that what LVM2 
promise? Is there any alternative to LVM for snapshoting?

Any help and comments are apperciated.


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

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

end of thread, other threads:[~2003-01-25  8:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-24  7:08 [linux-lvm] syncing with snapshots takes forever? Sean Oh
2003-01-24  7:33 ` Jan-Benedict Glaw
2003-01-24  7:56   ` Sean Oh
2003-01-24 12:16 ` Andreas Dilger
2003-01-24 12:27   ` Joe Thornber
2003-01-25  1:57     ` Sean Oh
2003-01-25  8:34   ` Sean Oh

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.