From owner-freebsd-stable@FreeBSD.ORG Sat Dec 4 02:03:51 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 338F316A4CE for ; Sat, 4 Dec 2004 02:03:51 +0000 (GMT) Received: from lon-mail-2.gradwell.net (lon-mail-2.gradwell.net [193.111.201.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30B5243D55 for ; Sat, 4 Dec 2004 02:03:50 +0000 (GMT) (envelope-from aw1@stade.co.uk) Received: from alsager-adsl.stade.co.uk ([81.6.222.119] helo=access2.hanley.stade.co.uk) 1.156) id 41b11b04.b869.31; Sat, 4 Dec 2004 02:03:48 +0000 Received: from titus.hanley.stade.co.uk (titus [192.168.1.5]) iB423mWI040872; Sat, 4 Dec 2004 02:03:48 GMT (envelope-from aw1@titus.hanley.stade.co.uk) Received: from titus.hanley.stade.co.uk (localhost [127.0.0.1]) iB423lfm015355; Sat, 4 Dec 2004 02:03:47 GMT (envelope-from aw1@titus.hanley.stade.co.uk) Received: (from aw1@localhost)iB423gIP015354; Sat, 4 Dec 2004 02:03:42 GMT (envelope-from aw1) Date: Sat, 4 Dec 2004 02:03:42 +0000 From: Adrian Wontroba To: freebsd-stable@freebsd.org Message-ID: <20041204020341.B14096@titus.hanley.stade.co.uk> Mail-Followup-To: Adrian Wontroba , freebsd-stable@freebsd.org, Ceri Davies References: <200412020048.iB20mhiP009447@app.auscert.org.au> <20041202024052.GA11786@electra.cse.Buffalo.EDU> <20041203142415.GJ513@submonkey.net> <20041203142707.GD29117@electra.cse.Buffalo.EDU> <20041203143609.GL513@submonkey.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20041203143609.GL513@submonkey.net>; from ceri@submonkey.net on Fri, Dec 03, 2004 at 02:36:09PM +0000 X-Operating-System: FreeBSD 4.10-STABLE Organization: Oh dear, I've joined one again. cc: Ceri Davies Subject: Re: 4.x can't read 5.x dump? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: aw1@stade.co.uk List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 02:03:51 -0000 On Fri, Dec 03, 2004 at 02:36:09PM +0000, Ceri Davies wrote: > > > Should I expect a dump taken from 4.X to be restorable on 5.X though? > > Yes. > Phew. I didn't even think about the possibility of dump not being forwards compatible (8-( In passing, you may find the buffer port useful. I spent a while a couple of years ago experimenting with settings, and find this sort of thing sufficiently fast: /sbin/dump -L -0 -u -C 32 -b 32 -f - /home | /usr/local/bin/buffer -s 32k -m 16m -t | gzip | /usr/local/bin/buffer -s 32k -m 16m -t > new/home.dump.gz That is, big buffers and block sizes for dump, with a 16 MB buffer of either side of gzip to absorb some of the delays in compression or writing the dump file. Sorry, no timings available at the moment. Note: * Remove the -L under Release 4 * When the above line is executed, the script has changed its CWD to the dump directory, usually on an NFS mount. * When dumping to the same machine, I include -h 0 and make the dump directory (and a slew of other recoverable by other ways ones) nodump with chflags nodump. -- Adrian Wontroba