Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2008 08:54:39 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Niki Denev <nike_d@cytexbg.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS panic when changing zfs dataset mountpoint
Message-ID:  <20080530065439.GB3596@garage.freebsd.pl>
In-Reply-To: <2e77fc10802120304n32fd1c42m52e6bc617ba07c35@mail.gmail.com>
References:  <2e77fc10802120304n32fd1c42m52e6bc617ba07c35@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--l76fUT7nc3MelDdI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 12, 2008 at 01:04:38PM +0200, Niki Denev wrote:
> Hi,
>=20
> I got the following panic when trying to set/change the mountpoint
> property of a dataset.
>=20
> I did :
>   # zfs set mountpoint=3D/usr/ports zfs2/ports
> and the machine crashed.
>=20
> The datased had one snapshot taken.
>=20
> Here is what i was able to extract from the dump :
[...]
> #8  0xffffffff804800d5 in _sx_xlock (sx=3D0xa0, opts=3D0,
>     file=3D0xffffffff80c697f0
> "/usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zfs=
_ctldir.c",
> line=3D1069) at atomic.h:142
> #9  0xffffffff80c50b2a in zfsctl_umount_snapshots (vfsp=3DVariable
> "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=3D0xffffff00014f5650,
> fflag=3D0, td=3D0xffffff001483b6a0)
>     at /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/z=
fs/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=3D'? I tried both scenarious (having mounted
and unmounted snapshot) and no panic. Is there anything else you did?

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--l76fUT7nc3MelDdI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFIP6SuForvXbEpPzQRAl4iAJ9ypW2a5yLlAATkO9iJ/X+mAmNjuwCcCj1Q
BWoKpnxopLFFHDAMf92rXEc=
=Nhw6
-----END PGP SIGNATURE-----

--l76fUT7nc3MelDdI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080530065439.GB3596>