ZFS panic when changing zfs dataset mountpoint

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri May 30 06:54:44 UTC 2008


On Tue, Feb 12, 2008 at 01:04:38PM +0200, Niki Denev wrote:
> Hi,
> 
> I got the following panic when trying to set/change the mountpoint
> property of a dataset.
> 
> I did :
>   # zfs set mountpoint=/usr/ports zfs2/ports
> and the machine crashed.
> 
> The datased had one snapshot taken.
> 
> Here is what i was able to extract from the dump :
[...]
> #8  0xffffffff804800d5 in _sx_xlock (sx=0xa0, opts=0,
>     file=0xffffffff80c697f0
> "/usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c",
> line=1069) at atomic.h:142
> #9  0xffffffff80c50b2a in zfsctl_umount_snapshots (vfsp=Variable
> "vfsp" is not available.
> ) at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c:1069
> #10 0xffffffff80c57978 in zfs_umount (vfsp=0xffffff00014f5650,
> fflag=0, td=0xffffff001483b6a0)
>     at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c:692
[...]

I tried to reproduce your problem, but I can't. This is clearly related
to unmounting snapshots. Was your snapshot mounted at the time of
calling 'zfs set mountpoint='? I tried both scenarious (having mounted
and unmounted snapshot) and no panic. Is there anything else you did?

-- 
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/20080530/da07b9e4/attachment.pgp


More information about the freebsd-fs mailing list