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>
next in thread | raw e-mail | index | archive | help
Roland,=0A=0AThe mention of dump '-L' in your email below has caught my att= ention.=0APardon my ignorance, but what is the '-L' option?=0A=0AI looked i= t up in the man pages but wasn't able to find any mention of it.=0ACan you = point me in the right direction?=0A=0AThanks,=0A- FX=0A=0A----- Original Me= ssage ----=0A> From: Roland Smith <rsmith@xs4all.nl>=0A> To: James <jamesh@= lanl.gov>=0A> Cc: Sean Murphy <smurphy@calarts.edu>; freebsd-questions@free= bsd.org=0A> Sent: Monday, November 5, 2007 4:58:47 PM=0A> Subject: Re: Help= Failing Disk Problem=0A> =0A> On Mon, Nov 05, 2007 at 03:16:46PM +0000, Ja= mes wrote:=0A> > > rsync is too high-level, and may not do exactly the righ= t=0A> thing=0A> =0A with =0A> > > links or sparse files or who knows what. = =0A> > =0A> > rsync -cav takes cares of symlinks and all that just right. I= t's a=0A> > beautiful thing.=0A> > =0A> > Checksumming, too. Ah, bliss.=0A>= =0A> It doesn't necessarily do the right thing with flags, acls and other= =0A> extended attributes,=0A> =0A> > > dd is too low-level--you get =0A> >= > the same partition table/bsdlabel and the exact=0A> same=0A> =0A slice/p= artition =0A> > > sizes. That's okay on an identical hard drive, but a pai= n on=0A> one=0A> =0A that's =0A> > > larger.=0A> > > dump, on the other han= d, is just right.=0A> =0A> > If the file names on the drive change during t= he dump, corruption can=0A> > occur. At least on linux. I remember Torvalds= ranting about it on a=0A> > mailing list. I imagine FreeBSD suffers the sa= me issue, though,=0A> as=0A> =0A it's=0A> > a pretty generic problem.=0A> = =0A> For starters, you should _never_ dump a live filesystem. What you=0A> = can=0A> =0A do is=0A> dump a snapshot of a live filesystem, using dumps '-L= ' option,=0A> because=0A> =0A a=0A> snapshot is like a frozen image of the = filesystem; it doesn't change.=0A> =0A> Dump & restore is the best way to m= ove data and all attributes to a=0A> larger disk. See =A79.2 of the FAQ.=0A= > =0A> Roland=0A> -- =0A> R.F.Smith =0A> = =0A http://www.xs4all.nl/~rsmith/=0A> [plain text _non-HTML_ PGP/GnuPG encr= ypted/signed email=0A> much=0A> =0A appreciated]=0A> pgp: 1A2B 477F 9970 BA= 3C 2914 B7CE 1277 EFB0 C321 A725=0A> (KeyID:=0A> =0A C321A725)=0A> =0A=0A= =0A=0A__________________________________________________=0ADo You Yahoo!?= =0ATired of spam? Yahoo! Mail has the best spam protection around =0Ahttp:= //mail.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?140051.50393.qm>