From owner-freebsd-stable Tue Jul 16 15:24:21 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A4DA37B43F for ; Tue, 16 Jul 2002 15:24:03 -0700 (PDT) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E819543E58 for ; Tue, 16 Jul 2002 15:24:01 -0700 (PDT) (envelope-from nicolas@dauerreden.de) Received: from fwd07.sul.t-online.de by mailout10.sul.t-online.com with smtp id 17Uajg-0000iA-01; Wed, 17 Jul 2002 00:24:00 +0200 Received: from pc5.abc (520067998749-0001@[217.233.115.110]) by fmrl07.sul.t-online.com with esmtp id 17UajS-01aRVYC; Wed, 17 Jul 2002 00:23:46 +0200 Received: from pc5.abc (localhost.abc [127.0.0.1]) by pc5.abc (8.12.3/8.12.3) with ESMTP id g6GMNh2e049617 for ; Wed, 17 Jul 2002 00:23:44 +0200 (CEST) (envelope-from nicolas@pc5.abc) Received: (from nicolas@localhost) by pc5.abc (8.12.3/8.12.3/Submit) id g6GMNgn9049616 for freebsd-stable@FreeBSD.ORG; Wed, 17 Jul 2002 00:23:42 +0200 (CEST) Date: Wed, 17 Jul 2002 00:23:40 +0200 From: Nicolas Rachinsky To: freebsd-stable@FreeBSD.ORG Subject: Re: Poor Mans Software raid 1 on root partition? Message-ID: <20020716222339.GA49575@narr.dauerreden.de> Mail-Followup-To: freebsd-stable@FreeBSD.ORG References: <20020715225138.V82789-100000@mail.allcaps.org> <3.0.5.32.20020716083905.0117a758@mail.sage-one.net> <20020716190324.GA1042@skalman.campus.luth.se> <20020716130731.73e01b80.djb@unixan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020716130731.73e01b80.djb@unixan.com> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: C11ABC0E X-PGP-Fingerprint: 19DB 8392 8FE0 814A 7362 EEBD A53B 526A C11A BC0E X-PGP-Key: http://www.rachinsky.de/nicolas/nicolas_rachinsky.asc User-Agent: Mutt/1.5.1i X-Sender: 520067998749-0001@t-dialin.net Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Daniel Brown [2002-07-16 13:07 -0700]: > Wrote Mattias Pantzare: > > > rsync is probably better than dd. > > Indeed, 'dd' also has the problem of copying a live filesystem whose > metadata may change right under you. It is best to simply partition > your second drive the same way (you can, in fact, pipe the 'disklabel' > output of one drive into the 'disklabel -R -B /dev/stdin' for an > identical drive), add appropriate /etc/fstab entries, then do periodic > software updates. > > However, rsync is a VERY poor choice for backing up an entire > filesystem; as it loads a "worklist" in memory prior to making its > moves, it becomes very memory and CPU intensive. This is both slow > and annoyingly affects response time for services on the machine. > > Try mirrordir (good, has problems with socket nodes, not found in > ports), ssync (ok, but doesn't do devices/etc), pax -rw (ok, but > doesn't delete removed files), or rdiff-backup (nice, but hardlinks > not respected, not found in ports, never tried it on FreeBSD). Or > search for other similar tools -- keep an eye for low resources use, > incremental updates, and few/no problems with "special" filetypes. /usr/ports/sysutils/cpdup To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message