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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFIP6SuForvXbEpPzQRAl4iAJ9ypW2a5yLlAATkO9iJ/X+mAmNjuwCcCj1Q BWoKpnxopLFFHDAMf92rXEc= =Nhw6 -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080530065439.GB3596>
