From owner-freebsd-geom@FreeBSD.ORG Thu Jan 13 07:58:19 2011 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2C4D1065674 for ; Thu, 13 Jan 2011 07:58:19 +0000 (UTC) (envelope-from luchesar.iliev@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3D3A78FC0C for ; Thu, 13 Jan 2011 07:58:18 +0000 (UTC) Received: by fxm16 with SMTP id 16so1482157fxm.13 for ; Wed, 12 Jan 2011 23:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:disposition-notification-to:date :from:organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; bh=6Qoo6HQ4rUA+bsY3clBrtYgc4a73WM1GjbELrDH5ZuI=; b=XUU3R8s8aiDhrcAhLKMUfK232ZT/PVdxZLGIu1u/Zo9au8t3H+Lb+vWUS9dfv16yZd PRLnwPU33lzDfxQIrf7dxDOKKlDgBzqMDKbMbwaegJGYVfngFhJduhHRWMlTheNJq4Re MEqleizwfagI+S1fbLQ3tbEN3B6+rXO/k6AuI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:disposition-notification-to:date:from:organization :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=iSMW7Uzj6cJufd1Q/24flA2DWZFdnfVr2jM2W68Lqnn46ILJZQgJkwSfER3humdd0O iy9bLr47VNUfEXFA1wng7t/z4rU1T8PVJaVFJmKy1oPf1ZbpnQRNCYItONI9UuNU0Nd2 krWpxa7bOHF9S1dj8S9diA9HPGZagVEbuz7Xg= Received: by 10.223.125.196 with SMTP id z4mr2000810far.124.1294905498104; Wed, 12 Jan 2011 23:58:18 -0800 (PST) Received: from [79.124.93.41] ([79.124.93.41]) by mx.google.com with ESMTPS id y3sm515723fai.14.2011.01.12.23.58.16 (version=SSLv3 cipher=RC4-MD5); Wed, 12 Jan 2011 23:58:17 -0800 (PST) Message-ID: <4D2EB097.3030202@gmail.com> Date: Thu, 13 Jan 2011 09:58:15 +0200 From: "Luchesar V. ILIEV" Organization: Ideaconsult Ltd. User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101229 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Pete French References: In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=9A1FEEFF; url=https://cert.acad.bg/pgp-keys/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: zeus@ibs.dn.ua, freebsd-geom@freebsd.org Subject: Re: "secondary GPT table is corrupt or invalid" issue again X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2011 07:58:19 -0000 On 01/11/2011 16:03, Pete French wrote: >> 8. rsync -avH /src/ /dst/ >> but i have to admit thet rsync was much slower than tar ... it was >> about 8-9 hours for 750G of data to copy > > Use /usr/ports/sysutils/cpdup instead - faster, and designed to make > exact copiues which rsync doesn't to the bets of my knoedge. It's > what I always use form copying running installations around, and works > flawlessly. If you have both drives mounted then it's definitely > the way to go. Hi Pete, Thanks for the hint on cpdup. It does seem like an interesting alternative, though it usually gives me the shivers when I hear anything even remotely resembling cpio. ;) I don't know what you mean by rsync not making exact copies. With patches, rsync could even preserve atimes and file flags. If you mean "copying from running systems", as I see cpdump claims to be able to copy devices as well (I suppose this should really mean device nodes), I'm not quite sure if that's really a good practice anyway (and I really can't think of many reasons to copy or backup device nodes). BTW, rsync is also capable of delta-encoding, which could in theory provide significant savings in terms of transferred data, though I suppose its practical effectiveness depends heavily on the exact type of data that is being copied or backed up. More info on the subject: http://en.wikipedia.org/wiki/Rsync Cheers, Luchesar