Are snapshots always consistent?

Jens Schweikhardt schweikh at
Sun May 11 12:00:47 PDT 2003


On Sat, May 10, 2003 at 12:55:37AM +0200, 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?
# What happens if a snapshot is taken, while background
# fsck is fixing a filesystem?

I'm no expert in file systems, but AFAIK the bg fsck mostly looks for
unreferenced blocks and puts them in the free block bitmap again, while
dump reads files (contents) and does not store block bitmaps and other
fs meta information. So, these operations should not interfere with
one another.

# If snapshots are not always consistent, how can one
# be sure about dump -L output? Is it better to take
# a snapshot first, fsck it, and _then_ dump the
# snapshot without -L (how?)?

The most appropriate place to ask this is probably freebsd-fs@ (in Cc:
and Reply-To:).


Jens Schweikhardt
SIGSIG -- signature too long (core dumped)
freebsd-current at mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscribe at"

More information about the freebsd-fs mailing list