From owner-freebsd-stable@FreeBSD.ORG Wed Oct 8 08:54:14 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BA121065688 for ; Wed, 8 Oct 2008 08:54:14 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 30A328FC0A for ; Wed, 8 Oct 2008 08:54:13 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by QMTA10.emeryville.ca.mail.comcast.net with comcast id Q8qg1a00D0FhH24AA8uDDy; Wed, 08 Oct 2008 08:54:13 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id Q8uC1a0042P6wsM8U8uCsj; Wed, 08 Oct 2008 08:54:13 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=6BG0NSmBbwLhz_5thuAA:9 a=HBWu_kGR9_uuzL1jDuEA:7 a=9BS8K6iQZNunXSe0niTBs4_DAHIA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 519B3C9419; Wed, 8 Oct 2008 01:54:12 -0700 (PDT) Date: Wed, 8 Oct 2008 01:54:12 -0700 From: Jeremy Chadwick To: David Peall Message-ID: <20081008085412.GA71654@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: Problem with dump stalling X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 08:54:14 -0000 On Wed, Oct 08, 2008 at 10:29:00AM +0200, David Peall wrote: > Hi > > If I have the wrong list please feel free to redirect me. > > I'm running 7.0-RELEASE-p4 and trying to backup to an external USB > drive. > > I'm using the following command > > dump -a0Lf /backup/diskimages/root /dev/mfid0s1a > > Where df: > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/mfid0s1a 507630 208436 258584 45% / > /dev/da1s1d 709513458 9853800 642898582 2% /backup > > The following processes start > > 75399 p0 I+ 0:00.04 dump -a0Lf /backup/diskimages/root /dev/mfid0s1a (dump) > 75402 p0 S+ 0:00.71 dump: /dev/mfid0s1a: pass 4: 77.05% done, finished in 0:00 at Wed Oct 8 08:25:06 2008 (dump) > 75403 p0 S+ 0:00.85 dump -a0Lf /backup/diskimages/root /dev/mfid0s1a (dump) > 75404 p0 S+ 0:00.96 dump -a0Lf /backup/diskimages/root /dev/mfid0s1a (dump) > 75405 p0 S+ 0:00.86 dump -a0Lf /backup/diskimages/root /dev/mfid0s1a (dump) > > But it just stops at a random percentage, the system continues to run > and the processes are killable? > > Perhaps I'm using dump incorrectly if anyone could help would be greatly > appreciated. This is a known problem with dump on UFS2 filesystems. See "dump/restore" here: http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues There is no fix, AFAIK. My recommendation is to use something else. I'm particularly fond of rsnapshot, but be aware that rsync will cause file atimes to be lost (on the source) when copying; this can impact classic UNIX mail spools (mbox), where people use clients like mutt/pine which utilise atimes to determine if there's new mail or not. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |