junneyang / zumastor

Automatically exported from code.google.com/p/zumastor
0 stars 1 forks source link

Provide option to freeze filesystems while taking snapshots #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Under certain circumstances, calling sync() or the like
before taking a snapshot may not be enough to make sure the snapshot 
is safe.  We should provide an option to control whether ddsnapd
calls freeze_bdev() / thaw_bdev() around the snapshot, and consider
making this the default, as it makes XFS no longer a special case, 
and would let us remove some XFS-specific cruft from zumastor.

This is related to, but not exactly the same as,
issue 32 (Add hooks for application quiescing during snapshots).
That issue is about cooperating apps; this new issue
is about making the snapshot safe(r) in the presence of
noncooperating apps.  Both are probably needed.

See discussion on zumastor list, e.g.
http://groups.google.com/group/zumastor/msg/24d2b500f46ca2a1
which has the results of a test demonstrating the problem.

Original issue reported on code.google.com by daniel.r...@gmail.com on 24 Dec 2007 at 11:15

GoogleCodeExporter commented 9 years ago

Original comment by daniel.r...@gmail.com on 13 Feb 2008 at 6:23

GoogleCodeExporter commented 9 years ago
Issue 129 is a dup, and has some details of a possible
reason to actually fix this.

Original comment by daniel.r...@gmail.com on 14 May 2008 at 6:56

GoogleCodeExporter commented 9 years ago
Might be touchy, 0.9 code freeze nigh, deferring to 0.10

Original comment by daniel.r...@gmail.com on 21 May 2008 at 7:08