Date: Mon, 5 Nov 2007 22:58:47 +0100 From: Roland Smith <rsmith@xs4all.nl> To: James <jamesh@lanl.gov> Cc: Sean Murphy <smurphy@calarts.edu>, freebsd-questions@freebsd.org Subject: Re: Help Failing Disk Problem Message-ID: <20071105215847.GA60686@slackbox.xs4all.nl> In-Reply-To: <1194275806.44119.19.camel@secretariat.lanl.gov> References: <472F74A9.9090400@calarts.edu> <1194272457.44119.3.camel@secretariat.lanl.gov> <20071105135545.V19602@wonkity.com> <1194275806.44119.19.camel@secretariat.lanl.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 > > links or sparse files or who knows what. > > rsync -cav takes cares of symlinks and all that just right. It's a > beautiful thing. > > 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 > > the same partition table/bsdlabel and the exact same slice/partition > > sizes. That's okay on an identical hard drive, but a pain on one that's > > 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 §9.2 of the FAQ. Roland -- 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) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHL5IXEnfvsMMhpyURAtQlAJ49fba58SaaQXHJEPg48ALcugCCuwCeOFKW RaSOe9FmVGYu0iVtuS9C8Bc= =YOzM -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071105215847.GA60686>
