zpool create fails on gpart device

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Dec 9 23:27:55 UTC 2009


On Wed, Dec 09, 2009 at 03:20:31PM -0600, Kurt Touet wrote:
> With the patch:
> 
> # sysctl vfs.zfs.debug=1
> vfs.zfs.debug: 0 -> 1
> 
> # zpool create data /dev/da1p3
> cannot create 'data': permission denied
> 
[...]
> kernel: vdev_geom_open_by_path:487[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_attach:136[1]: cp=0xffffff0002b70480 r0w0e0 geom=zfs::vdev class=ZFS::VDEV
> kernel: vdev_geom_attach:136[1]: cp=0xffffff000263bd00 r1w0e1 geom=da1p3 class=LABEL

So some label keeps it open exclusively. Could you also send the output of:

	# glabel list

-- 
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/041283d7/attachment.pgp


More information about the freebsd-fs mailing list