From owner-freebsd-hackers Fri Jul 19 10:53:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A761737B401 for ; Fri, 19 Jul 2002 10:53:49 -0700 (PDT) Received: from mail2.dreamscape.com (mail2.dreamscape.com [206.64.128.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5CF143E6A for ; Fri, 19 Jul 2002 10:53:48 -0700 (PDT) (envelope-from krentel@dreamscape.com) Received: from dreamscape.com (sA6-p43.dreamscape.com [207.198.13.171]) by mail2.dreamscape.com (8.9.3+blt/8.9.3) with ESMTP id NAA09989; Fri, 19 Jul 2002 13:53:41 -0400 (EDT) Received: from blue.mwk.domain (localhost [127.0.0.1]) by dreamscape.com (8.11.1/8.11.1) with ESMTP id g6JHr8519290; Fri, 19 Jul 2002 13:53:09 -0400 (EDT) (envelope-from krentel@blue.mwk.domain) Message-Id: <200207191753.g6JHr8519290@dreamscape.com> To: "Brandon D. Valentine" Cc: David Malone , freebsd-hackers@freebsd.org Subject: Re: dump on mounted fs In-Reply-To: Message from "Brandon D. Valentine" of "Fri, 19 Jul 2002 09:19:42 CDT." <20020719091153.F18913-100000@dallben> Date: Fri, 19 Jul 2002 13:53:08 -0400 From: "Mark W. Krentel" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > This is what the general consensus on the amanda-users list has been for > some time now. Linux ext2 dump/restore is massively broken. I believe that ext2 dump on a mounted file system in Linux is pretty much deprecated, though it should still work ok if the partition is unmounted. It's not dump's fault and it's not something that dump can fix. The design of the page and buffer caches in the 2.4 kernels makes it impossible for dump to see the correct versions of some files. (Strangely, my tests suggest that it's files written without O_TRUNC that are handled incorrectly.) And no amount of waiting or syncs will help. http://old.lwn.net/2001/0503/a/lt-dump.php3 http://old.lwn.net/2001/0503/a/lt-metadata.php3 But my real question is if these kinds of problems occur in Freebsd? I understand there are risks, but dump on a mounted partition isn't hopelessly broken in Freebsd, right? --Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message