Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2012 00:08:15 +0200
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Patrick Mahan <mahan@mahan.org>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: GEOM: ada0: corrupt or invalid
Message-ID:  <4FC002CF.2080702@FreeBSD.org>
In-Reply-To: <4FBFEF94.4020407@mahan.org>
References:  <4FBFEF94.4020407@mahan.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FC002CF.2080702>