From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 23:07:48 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 1A91C16A41A for ; Mon, 5 Nov 2007 23:07:48 +0000 (UTC) (envelope-from charpentierfx@yahoo.com) Received: from web36205.mail.mud.yahoo.com (web36205.mail.mud.yahoo.com [209.191.68.231]) by mx1.freebsd.org (Postfix) with SMTP id C661013C49D for ; Mon, 5 Nov 2007 23:07:47 +0000 (UTC) (envelope-from charpentierfx@yahoo.com) Received: (qmail 51248 invoked by uid 60001); 5 Nov 2007 22:40:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=W833ITmlBDJtXzrBCwP19Ra2neeAu/DjOm9slZN5GuwvDH5CbQJLmA0XfbdN71dIlWGPu7qAePZaWdlYn6j27wT6jpl2KQT/0Sb4yKkE4Uhcev0qalAda1KE4tp8pVUAy7sg4ZE2l1yfWH1Iua0E0BQM54cb4/Fucoqcs29nLQU=; X-YMail-OSG: AAUUvwwVM1mvzDgzm.XI06QwE612kA8S65qqx4owDMBCVLrm_4uGXQWEM64VownKHF3mzHhoOvmk.iIFthCOky8QjT0CG0BnbuMb3LvIi3AdKv0BrSo- Received: from [198.45.19.38] by web36205.mail.mud.yahoo.com via HTTP; Mon, 05 Nov 2007 14:40:36 PST X-Mailer: YahooMailRC/814.06 YahooMailWebService/0.7.152 Date: Mon, 5 Nov 2007 14:40:36 -0800 (PST) From: FX Charpentier To: Roland Smith , James MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <140051.50393.qm@web36205.mail.mud.yahoo.com> 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 23:07:48 -0000 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 =0A> To: James =0A> Cc: Sean Murphy ; 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