Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2003 14:55:27 +0200
From:      Farid Hajji <me@farid-hajji.de>
To:        freebsd-fs@freebsd.org
Cc:        schweikh@schweikhardt.net
Subject:   Re: Are snapshots always consistent?
Message-ID:  <200305111455.28175.me@farid-hajji.de>
In-Reply-To: <20030510144132.GA4214@schweikhardt.net>
References:  <200305100055.37190.me@farid-hajji.de> <20030510144132.GA4214@schweikhardt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Jens,

> # 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.

dump saves the contents of inodes. This is more than just file contents and 
fsck operates on inodes. So there is potential for breakage if fsck is in the 
process of modifying inodes (e.g. block counts).

> Regards,
>
> 	Jens

-- 
Farid Hajji -- Unix Systems and Network Management.
http://www.farid-hajji.net/address.html
Quoth the Raven, "Nevermore." --Edgar Allan Poe.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305111455.28175.me>