zpool create fails on gpart device
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Dec 9 08:36:40 UTC 2009
On Tue, Dec 08, 2009 at 10:24:22PM -0600, Kurt Touet wrote:
> kernel: vdev_geom_open_by_path:472[1]: Found provider by name /dev/da1p3.
> kernel: vdev_geom_attach:112[1]: Attaching to da1p3.
> kernel: vdev_geom_attach:132[1]: g_access() failed
> kernel: vdev_geom_open:527[1]: Provider /dev/da1p3 not found.
> root: ZFS: vdev failure, zpool=data type=vdev.open_failed
>
> Does 132[1]: g_access() failed help you out?
We are getting closer:)
I'd need the output of those command:
# gpart list da1 | grep -A3 'Name: da1p3' | tail -1
# sysctl -b kern.geom.confxml
If the first command gives you 'r0w0e0' then we would need this updated
patch:
http://people.freebsd.org/~pjd/patches/vdev_geom.c.patch
It looks like when your pool is trying to open provider it is already
open by someone else. This is strange, because you said you can newfs
and mount it without problems, so maybe something opens it temporairly.
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20091209/4060bd5b/attachment.pgp
More information about the freebsd-fs
mailing list