On Tue, 23 Feb 2010, patrik wrote:
I want to import my zpool's from FreeBSD 8.0 in OpenSolaris 2009.06.
secure UNAVAIL insufficient replicas
raidz1 UNAVAIL insufficient replicas
c8t1d0p0 ONLINE
c8t2d0s2 ONLINE
c8t3d0s8 UNAVAIL corrupted data
c8t4d0s8 UNAVAIL corrupted data
The zpool import command is finding the wrong slices to import. Notice
this says s8 for the last two slice numbers. It's also using s2 for the
second disk, but s2 is typcally the entire disk anyway, so it's able to
see all the data.
On the other hand, s8 is typically just the first cylinder -- just enough
information for zfs to see the front labels, but not enough to see all the
data.
zfs should probably be better about what it chooses for a disk to import.
A coworker suggests looking at the zdb -l output, fdisk output, and
prtvtoc output to see if there's a common theme that will lead to a
solution independent of modifying zfs import code.
Regards,
markm
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss