From owner-freebsd-questions@FreeBSD.ORG Fri Jul 18 21:44:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A1BD1065676 for ; Fri, 18 Jul 2008 21:44:03 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id 158098FC1E for ; Fri, 18 Jul 2008 21:44:02 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id m6ILhx7C063440; Fri, 18 Jul 2008 23:44:00 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 25536BAA1; Fri, 18 Jul 2008 23:43:54 +0200 (CEST) Date: Fri, 18 Jul 2008 23:43:54 +0200 From: Roland Smith To: Peter Boosten Message-ID: <20080718214354.GA77685@slackbox.xs4all.nl> References: <48810956.5090905@boosten.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <48810956.5090905@boosten.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions Subject: Re: dump and restore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2008 21:44:03 -0000 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 18, 2008 at 11:21:26PM +0200, Peter Boosten wrote: > Hi all, >=20 > My harddisk was failing and I wanted the data copied to another disk,=20 > but since my original wouldn't boot, I installed a minimal FreeBSD on=20 > the new disk, mounted the old partitions under /mnt and copied from the= =20 > original to the new partitions by using: >=20 > dump 0af - /dev/ad2s1[adef] | restore xf - >=20 > (the partitions adef where done one by one) >=20 > The /usr/ partition was 74Gb, and it took (according to dump 52631=20 > seconds (~ 14.5 hours) to copy. Both disks are IDE, in the same machine= =20 > on different IDE controllers. >=20 > Is it normal for a backup/restore to take this long? Or could this be=20 > due to my failing disk? When dumping to a file it should not take this long. But in this case it might be that dump is waiting for restore, since the space in a pipe is not infinite.=20 Also, when dumping mounted partitions you should use the -L flag with dump. But in a case like this there is little reason to mount the old partitions.=20 If the failing disk was giving trouble, you might find errors in /var/log/messages.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkiBDpoACgkQEnfvsMMhpyVr4gCghPWIr0Ts9Ro4fFzeBFs5/huI vqcAn1MvTroQPKxI0u9Ht34Euq+Enkqj =WdP3 -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--