All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] Dynamic remount with variable COW stacking/merging needed, support for snapshot repilication
@ 2004-01-17 21:13 Stephen D. Williams
  2004-01-18  4:45 ` [uml-devel] Re: [uml-user] " Jeff Dike
  2004-01-18 11:04 ` [uml-devel] " BlaisorBlade
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen D. Williams @ 2004-01-17 21:13 UTC (permalink / raw)
  To: user-mode-linux-devel, user-mode-linux-user

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

When a UML instance is running a always-on service, such as a web 
server, an administrator needs to be able to make live backups, or 
replications, of a running system.

This can be done using LVM snapshots, although that is not always 
appropriate for just this feature. A UML instance can be paused and then 
restarted, but this can cause severe delays while large partitions are 
replicated.

The COW ability is a great basis for an ideal solution, but I believe we 
need to identify and implement some additional features.

What I propose as a useful solution is:

A UML instance mounts filesystems directly or based on a COW image.
When an administrator invokes a console snapshot mode, the UML instance 
causes a quick freeze, new delta COWs to be created and stacked on 
existing mounts, then resumes.
When the administrator completes whatever snapshot backup is needed, 
they invoke a console unsnapshot command which pauses the instance, 
merges the delta COWs, remounts the original images with updates, and 
resumes.

This relies on COW stacking, which I saw was added in a patch last year 
and I assume is still present.
The downtime for the instance would be measured in seconds generally.

Can this be done now?  What needs to be added to support it?

sdw

-- 
swilliams@hpti.com http://www.hpti.com Personal: sdw@lig.net http://sdw.st
Stephen D. Williams 703-724-0118W 703-995-0407Fax 20147-4622 AIM: sdw



[-- Attachment #2: sdw.vcf --]
[-- Type: text/x-vcard, Size: 234 bytes --]

begin:vcard
fn:Stephen Williams
n:Williams;Stephen
email;internet:sdw@lig.net
tel;work:703-724-0118
tel;fax:703-995-0407
tel;pager:sdwpage@lig.net
tel;home:703-729-5405
tel;cell:703-371-9362
x-mozilla-html:TRUE
version:2.1
end:vcard


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

end of thread, other threads:[~2004-01-18 18:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-17 21:13 [uml-devel] Dynamic remount with variable COW stacking/merging needed, support for snapshot repilication Stephen D. Williams
2004-01-18  4:45 ` [uml-devel] Re: [uml-user] " Jeff Dike
2004-01-18  7:07   ` Stephen D. Williams
2004-01-18 16:23     ` s-uml
2004-01-18 11:04 ` [uml-devel] " BlaisorBlade

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.