Mounting from zfs failed with error 22 with gmirror
Warren Block
wblock at wonkity.com
Sun Sep 15 13:36:15 UTC 2013
On Sun, 15 Sep 2013, Ronald Klop wrote:
> Is it possible you used these disks with gmirror in the past and you did not
> correctly clean the meta-data from the disks when you started using zfs?
> So gmirror now detects meta-data, starts handling the disks in some way and
> zfs does not get all the sectors of the disk it is expecting?
Both the gmirrored swap and the ZFS mirror are using individual
partitions, so a metadata conflict is less likely than with entire
disks.
Error 22 is EINVAL. Maybe GEOM is hiding label or partition names
because of the gmirror mount, then ZFS can't find the members of the
zmirror. Booting from a liveCD, loading ZFS and gmirror, then looking
at partition names and labels might show what is missing. There is a
version of mfsBSD (http://mfsbsd.vx.sk/) with ZFS.
More information about the freebsd-fs
mailing list