Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Quiescing a file system allows you to make a backup of the database while it is still running and other programs and their data as well.

The application generally needs to be notified of the quiesce backup operation because all the buffers need to be flushed to disk and any incoming write requests need to be stopped so that a valid backup can be created without stopping the system completely.

Does Linux yet have any support for this sort of thing? I've read that Microsoft Windows has had support for this since Windows Server 2003, and I've seen a few places where they talk about how this can be done with Linux using a VM. But I don't know which specific VMs, if the VMs have to be running on Windows as a host.

Also what about platforms that are above the OS level like Java? Is there any support for quiesce there?

share|improve this question
Feel free to suggest a wiki tag unix.stackexchange.com/edit-tag-wiki/2294, since you know about it –  warl0ck Sep 20 '12 at 1:39
Is there at least an OpenSource project in Linux to get something similar to VSS going in Linux? –  leeand00 Sep 20 '12 at 4:06

1 Answer 1

up vote 5 down vote accepted

When you do an LVM snapshot, pending data (in kernel buffers, not applications') is flushed to disk and applications are blocked from writing while the snapshotting is ongoing. You can also freeze a FS in that same way if you're backuping the block device the FS is on by some external means (like the disk is virtual and you're backing it up on the host) using fsfreeze or xfs_aio. Filesystems that implement snapshotting (like BTRFS, NILFS, ZFS...) would do that as well. In general snapshots at those levels do guarantee that the data in the snapshot is an instant freeze of what was committed to the FS at a given time and the frozen FS is in a consistent clean state.

As for telling the applications to quiesce and flush their buffered data to the FS, there's no general framework and the last time I checked, the general consensus was that it would more likely cause harm by introducing unnecessary complexity and associated bugs than improve matters as applications should focus on having their data in consistent shape on disk in case of system/hardware crash anyway.

Some applications, like some databases can be told to quiesce like MySQL's FLUSH TABLES WITH READ LOCK.

share|improve this answer
Is this similar? r1soft.idera.com/tools/linux-hot-copy –  leeand00 Feb 13 '13 at 21:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.