Re: .fsck_snapshot file

From: Robert Watson <>
Date: Tue, 2 Sep 2003 10:02:40 -0400 (EDT)
On Tue, 2 Sep 2003, Peter Jeremy wrote:

> On Tue, Sep 02, 2003 at 08:27:00AM +0200, Christoph Kukulies wrote:
> >I have a file .fsck_snapshot in /usr (of 7 GB ?!)
> >-r--------   1 root   wheel  7220781056 Aug 22 18:08 .fsck_snapshot
> The '7GB' does not mean you'll free up 7GB of disk space by freeing it. 
> IIRC, it's actually the size of the filesystem. 

Although, as time goes by since the creation a snapshot, if you have a
fairly live file system, it will begin to approach it :-).  I've been
wondering if we ought to have some magic to GC these snapshots if/when
they are discovered during the boot or mount process just to be on the
safe side.  In theory, the window where the name exists is small (fsck
creates, opens, and immediately unlinks the snapshot).  Unfortunately, in
practice the window is apparently pretty wide since any system failure
during snapshot creation will (I believe) leave the snapshot reference

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects      Network Associates Laboratories
Received on Tue Sep 02 2003 - 05:03:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC