On Mon, Apr 19, 2010 at 4:21 PM, Brandon High <bh...@freaks.com> wrote:
> I think I remember someone posting a method to copy the boot drive's layout 
> with prtvtoc and fmthard, but I don't remember the exact syntax.

Apparently Google and the man pages know the answer.

prtvtoc /dev/rdsk/c5t0d0s2 | fmthard -s - /dev/rdsk/c6t0d0s2

With drives of different sizes, I expect I may need to change the
input to fmthard though. There's also a note in the man page: "On x86
systems, fdisk(1M) must be run on the drive before fmthard."

-B

-- 
Brandon High : bh...@freaks.com
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to