Another Zpool management thing

Peter Jeremy peterjeremy at acm.org
Fri Sep 23 09:38:59 UTC 2011


On 2011-Sep-22 14:55:06 -0400, Martin Cracauer <cracauer at 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.
...
>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.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20110923/b7aa6f59/attachment.pgp


More information about the freebsd-fs mailing list