* A standard snapshot notification framework in Linux ?
@ 2005-11-15 7:45 Block Device
2005-11-15 8:24 ` Coywolf Qi Hunt
0 siblings, 1 reply; 2+ messages in thread
From: Block Device @ 2005-11-15 7:45 UTC (permalink / raw)
To: Linux Kernel Mailing List
Hi,
does the linux kernel provide a mechanism whereby applications can
register themselves
to be notified when a snapshot is being taken of the volume they might
be writing to.
If there is no such framework then how do backup applications
guarantee ( application level ) consistency. I have seen freeze_bdev
and friends which work for file systems and how the device mapper uses
them. But when it comes to application level consistency, a mechanism
is required to give the application a chance to flush & quiesce its
writes so that the backup taken will be consistent for the application
also. Windows has the VSS ( Volume Shadow Service ) which provides an
elaborate framework for this. Is anyone working on something similar
for Linux and if not why is it not such a worthwhile idea ?
Regards
BD
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: A standard snapshot notification framework in Linux ?
2005-11-15 7:45 A standard snapshot notification framework in Linux ? Block Device
@ 2005-11-15 8:24 ` Coywolf Qi Hunt
0 siblings, 0 replies; 2+ messages in thread
From: Coywolf Qi Hunt @ 2005-11-15 8:24 UTC (permalink / raw)
To: Block Device; +Cc: Linux Kernel Mailing List
On Tue, Nov 15, 2005 at 01:15:54PM +0530, Block Device wrote:
> Hi,
>
> does the linux kernel provide a mechanism whereby applications can
> register themselves
> to be notified when a snapshot is being taken of the volume they might
> be writing to.
>
> If there is no such framework then how do backup applications
> guarantee ( application level ) consistency. I have seen freeze_bdev
call sync and mount read-only, or go down to init 1.
Coywolf
> and friends which work for file systems and how the device mapper uses
> them. But when it comes to application level consistency, a mechanism
> is required to give the application a chance to flush & quiesce its
> writes so that the backup taken will be consistent for the application
> also. Windows has the VSS ( Volume Shadow Service ) which provides an
> elaborate framework for this. Is anyone working on something similar
> for Linux and if not why is it not such a worthwhile idea ?
>
> Regards
> BD
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-15 8:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 7:45 A standard snapshot notification framework in Linux ? Block Device
2005-11-15 8:24 ` Coywolf Qi Hunt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox