Date: Mon, 5 Nov 2007 14:40:36 -0800 (PST) From: FX Charpentier <charpentierfx@yahoo.com> To: Roland Smith <rsmith@xs4all.nl>, James <jamesh@lanl.gov> Cc: Sean Murphy <smurphy@calarts.edu>, freebsd-questions@freebsd.org Subject: Re: Help Failing Disk Problem Message-ID: <140051.50393.qm@web36205.mail.mud.yahoo.com>
index | next in thread | raw e-mail
Roland, The mention of dump '-L' in your email below has caught my attention. Pardon my ignorance, but what is the '-L' option? I looked it up in the man pages but wasn't able to find any mention of it. Can you point me in the right direction? Thanks, - FX ----- Original Message ---- > From: Roland Smith <rsmith@xs4all.nl> > To: James <jamesh@lanl.gov> > Cc: Sean Murphy <smurphy@calarts.edu>; freebsd-questions@freebsd.org > Sent: Monday, November 5, 2007 4:58:47 PM > Subject: Re: Help Failing Disk Problem > > 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) > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.comhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?140051.50393.qm>
