On 5/14/12 2:02 AM, Ian Collins wrote:
Adding the log was OK:
zpool add -f export log mirror c10t3d0s0 c10t4d0s0
But adding the cache fails:
zpool add -f export cache c10t3d0s1 c10t4d0s1
invalid vdev specification
the following errors must be manually repaired:
/dev/dsk/c10t3d0s2 is part of active ZFS pool export. Please see zpool(1M).
/dev/dsk/c10t3d0s1 overlaps with /dev/dsk/c10t3d0s2
The only solution I know of is to get rid of the whole-disk slice s2
from the disk label. I ended up using prtvtoc to dump the table, editing
it by hand, and feeding it to fmthard.
You could also try making s0 start at cylinder 1 instead of zero, so
zpool doesn't see a magic number on s2, but I don't know if that will be
zfs-discuss mailing list