[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-fs
Subject:    Re: Are snapshots always consistent?
From:       Farid Hajji <me () farid-hajji ! de>
Date:       2003-05-11 12:55:27
Message-ID: 200305111455.28175.me () farid-hajji ! de
[Download RAW message or body]

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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic