Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
*Location*: http://docs.mongodb.org/manual/tutorial/backup-with-filesystem-snapshots/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
*Screen Resolution*: 1680 x 1050
*repo*: docs
*source*: tutorial/backup-with-filesystem-snapshots
Description
" If writes are in progress when the backup occurs, the data files will reflect an inconsistent state."
$ man fsfreeze
fsfreeze halts new access to the filesystem and creates a stable image on disk. fsfreeze is intended to be used with hardware
RAID devices that support the creation of snapshots.
fsfreeze is unnecessary for device-mapper devices. The device-mapper (and LVM) automatically freezes filesystem on the device
when a snapshot creation is requested. For more details see the dmsetup(8) man page.