From owner-freebsd-questions@FreeBSD.ORG Mon Dec 8 16:22:07 2008 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 63B901065670 for ; Mon, 8 Dec 2008 16:22:07 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id E27A38FC26 for ; Mon, 8 Dec 2008 16:22:06 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so2697880fkk.11 for ; Mon, 08 Dec 2008 08:22:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=sqIHf+7TIQJ5CR5/TpLXECsJ4av0WPzyGovhVS2xsPY=; b=ERjWBSJqH63Qiis5ZqKWzLtuYtOgpIeKyJuJH+exQgVBSNFqZQgvyJ3wk2S7neTVxJ wb7tfAyKzoPqghL709B1gknB7WJ1VUk+fSeCnFGPe51oIsBx3ga461JYUS4e+2UlZFAG QUuesGIYs0qzhsQUhu4N95Kn4OcBJupOo9c54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=VHZCz25iAsdrlSeiUog4YMFQpTcYAdxyzsyjCow62KwqV6iMnqFecI5zno1qoBv9Ln w0V84w+V6esyJ92lX+IKMHZd4C+x51QPewunng0Y0nyKjY3SCbZMa9cVxYAZi1iSdQ0R FPr7np+JBSOlUN+R5Eb1PBTPMMEdo47jEdvgg= Received: by 10.181.148.2 with SMTP id a2mr1283071bko.117.1228753325345; Mon, 08 Dec 2008 08:22:05 -0800 (PST) Received: by 10.181.229.16 with HTTP; Mon, 8 Dec 2008 08:22:05 -0800 (PST) Message-ID: <9bbcef730812080822q495da820h1fdd28c9ab2c96d7@mail.gmail.com> Date: Mon, 8 Dec 2008 17:22:05 +0100 From: "Ivan Voras" Sender: ivoras@gmail.com To: "Doug Poland" In-Reply-To: <20081208153348.GA57784@polands.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <493AFD81.6020705@polands.org> <20081208153348.GA57784@polands.org> X-Google-Sender-Auth: 455abd711580c0fd Cc: freebsd-questions@freebsd.org Subject: Re: Backup complete gmirror/gstripe/gjournal drives, how-to? 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, 08 Dec 2008 16:22:07 -0000 2008/12/8 Doug Poland : > On Mon, Dec 08, 2008 at 10:29:36AM +0100, Ivan Voras wrote: >> I hope you understand the problems with this kind of backup >> procedures. >> > Actually, I don't, that's why I'm posting :) My intent is to have a Here are a couple of things: a) How do you intend to restore the images? You need drives with >= size of the original drives (and images). If you have larger drives, the extra space might be wasted. b) With this method you cannot use (or actually, you can but it's very hard) any kind of differential/incremental backup, and in addition to the used space you're also backuping the unused/"empty" space. c) dd as you've used it will skip bad sectors, in a bad way - it will either stop (according to the documentation) or concatenate data blocks around the ones containing the bad sector (e.g. if a sector in the tenth block of 2 MB is bad, your file will contain blocks ...8,9,11,12,...). See conv=noerror,sync options to dd.