Date: Sun, 1 Jun 2008 12:44:18 -0400 From: "Niki Denev" <nike_d@cytexbg.com> To: "Pawel Jakub Dawidek" <pjd@freebsd.org> Cc: freebsd-fs@freebsd.org Subject: Re: ZFS panic when changing zfs dataset mountpoint Message-ID: <2e77fc10806010944p5fde4782nffa437230ff36362@mail.gmail.com> In-Reply-To: <20080530065439.GB3596@garage.freebsd.pl> References: <2e77fc10802120304n32fd1c42m52e6bc617ba07c35@mail.gmail.com> <20080530065439.GB3596@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 30, 2008 at 2:54 AM, Pawel Jakub Dawidek <pjd@freebsd.org> wrote: > 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! > Hi Pawel, Sorry for my late reply. I cannot test right now because the machine suffered multiple disk failures, and is currently offline, but as far as I remember the machine had several snapshots mounted at the time of the panic. Regards, Niki
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2e77fc10806010944p5fde4782nffa437230ff36362>