From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 21:59:04 2007 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 71D1416A41B for ; Mon, 5 Nov 2007 21:59:04 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.freebsd.org (Postfix) with ESMTP id DA9F713C4AC for ; Mon, 5 Nov 2007 21:59:03 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id lA5LwmvG066064; Mon, 5 Nov 2007 22:58:48 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id C528BB82D; Mon, 5 Nov 2007 22:58:47 +0100 (CET) Date: Mon, 5 Nov 2007 22:58:47 +0100 From: Roland Smith To: James Message-ID: <20071105215847.GA60686@slackbox.xs4all.nl> Mail-Followup-To: James , Warren Block , Sean Murphy , freebsd-questions@freebsd.org References: <472F74A9.9090400@calarts.edu> <1194272457.44119.3.camel@secretariat.lanl.gov> <20071105135545.V19602@wonkity.com> <1194275806.44119.19.camel@secretariat.lanl.gov> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <1194275806.44119.19.camel@secretariat.lanl.gov> 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.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Sean Murphy , freebsd-questions@freebsd.org Subject: Re: Help Failing Disk Problem 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: Mon, 05 Nov 2007 21:59:04 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 05, 2007 at 03:16:46PM +0000, James wrote: > > rsync is too high-level, and may not do exactly the right thing with=20 > > links or sparse files or who knows what.=20 >=20 > rsync -cav takes cares of symlinks and all that just right. It's a > beautiful thing. >=20 > Checksumming, too. Ah, bliss. It doesn't necessarily do the right thing with flags, acls and other extended attributes, > > dd is too low-level--you get=20 > > the same partition table/bsdlabel and the exact same slice/partition=20 > > sizes. That's okay on an identical hard drive, but a pain on one that'= s=20 > > larger. > > dump, on the other hand, is just right. > If the file names on the drive change during the dump, corruption can > occur. At least on linux. I remember Torvalds ranting about it on a > mailing list. I imagine FreeBSD suffers the same issue, though, as it's > a pretty generic problem. For starters, you should _never_ dump a live filesystem. What you can do is dump a snapshot of a live filesystem, using dumps '-L' option, because a snapshot is like a frozen image of the filesystem; it doesn't change. Dump & restore is the best way to move data and all attributes to a larger disk. See =A79.2 of the FAQ. 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) --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHL5IXEnfvsMMhpyURAtQlAJ49fba58SaaQXHJEPg48ALcugCCuwCeOFKW RaSOe9FmVGYu0iVtuS9C8Bc= =YOzM -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--