From owner-freebsd-fs@FreeBSD.ORG Fri May 25 22:08:46 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26D1F106564A for ; Fri, 25 May 2012 22:08:46 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 84BB78FC1C for ; Fri, 25 May 2012 22:08:45 +0000 (UTC) Received: from seedling.local (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q4PM8cjt008926 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 25 May 2012 23:08:41 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q4PM8cjt008926 Authentication-Results: smtp.infracaninophile.co.uk/q4PM8cjt008926; dkim=none (no signature); dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host seedling.black-earth.co.uk [81.187.76.163] claimed to be seedling.local Message-ID: <4FC002CF.2080702@FreeBSD.org> Date: Sat, 26 May 2012 00:08:15 +0200 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Patrick Mahan References: <4FBFEF94.4020407@mahan.org> In-Reply-To: <4FBFEF94.4020407@mahan.org> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD28DF0D1AE674D6101CBF9B5" X-Virus-Scanned: clamav-milter 0.97.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-fs@FreeBSD.org Subject: Re: GEOM: ada0: corrupt or invalid X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2012 22:08:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD28DF0D1AE674D6101CBF9B5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 25/05/2012 22:46, Patrick Mahan wrote: > But the question is - "Is this recoverable? Or should we just > re-install everything from scratch?" Re-install. You can't use dd(1) to copy a disk image to a smaller physical drive: the disk size is encoded in various structures on disk and used at boot time; copying a filesystem with dd(8) and truncating it (even if the used space is less than the target partition size) just doesn't work. If you have work you've done on the original disk images that you'ld like to copy to the new ones, then use a file-system level copy program. There are any number of suitable candidates, most of which have the ability to write across a network link if needed: * dump(8) and restore(8) * rsync(1) * tar(1) * find(1) and cpio(1) Even cp(1). Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigD28DF0D1AE674D6101CBF9B5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/AAuUACgkQ8Mjk52CukIywngCdEXdWxFvk4AeSWiAdPY0lqTlP sAQAn2dHSeh8GjgdijH1qrKNdnCn1y5T =y+8K -----END PGP SIGNATURE----- --------------enigD28DF0D1AE674D6101CBF9B5--