Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2011 19:38:40 +1000
From:      Peter Jeremy <peterjeremy@acm.org>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Another Zpool management thing
Message-ID:  <20110923093840.GB16726@server.vk2pj.dyndns.org>
In-Reply-To: <20110922185506.GA5281@cons.org>
References:  <20110922185506.GA5281@cons.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--jq0ap7NbKX2Kqbes
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2011-Sep-22 14:55:06 -0400, Martin Cracauer <cracauer@cons.org> wrote:
>I dd-copied a whole drive that had several slices, one of which holds
>a single-disk ZFS in it (nothing mounted at the time of course).  At
>this time both disks are in the machine.
=2E..
>Is there any way to reference a pool by it's /dev/ entry so that I can
>rename the new copy?

Not AFAIK.

> Destroying it would be fine, too, as long as it
>doesn't affect the original one.

You can do this by zeroing the first and last 1MB of the unwanted ZFS
partition - that's where ZFS stores its labels.

--=20
Peter Jeremy

--jq0ap7NbKX2Kqbes
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk58U6AACgkQ/opHv/APuIci/gCfS3DUaREJXL6CxCPhfBZ7joIi
WYsAoI/gYSqa/WGaEIxiQ5ep2e+HKFUd
=G9MU
-----END PGP SIGNATURE-----

--jq0ap7NbKX2Kqbes--



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