Are snapshots always consistent?

David Schultz das at FreeBSD.ORG
Mon May 12 13:53:25 PDT 2003


On Sat, May 10, 2003, Farid Hajji wrote:
> I'm somewhat confused about snapshots.
> 
> Are snapshots (e.g. created with dump -L) supposed to
> be always in a consistent state?

Yes.

> What happens if a snapshot is taken, while background
> fsck is fixing a filesystem?

fsck creates its own snapshot of the filesystem and analyzes the
snapshot, so nothing bad should happen.  fsck's snapshot will show
up as a zero-length file in dump's snapshot.


More information about the freebsd-current mailing list