From owner-freebsd-fs@FreeBSD.ORG Thu Dec 31 09:55:44 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20F181065696 for ; Thu, 31 Dec 2009 09:55:44 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id CF8B28FC18 for ; Thu, 31 Dec 2009 09:55:42 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 7BA7719E045; Thu, 31 Dec 2009 10:55:41 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 10BF619E044; Thu, 31 Dec 2009 10:55:39 +0100 (CET) Message-ID: <4B3C751A.9040909@quip.cz> Date: Thu, 31 Dec 2009 10:55:38 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.6) Gecko/20091206 SeaMonkey/2.0.1 MIME-Version: 1.0 To: Richard Mahlerwein References: <368515.86742.qm@web51005.mail.re2.yahoo.com> <489290.49450.qm@web51006.mail.re2.yahoo.com> In-Reply-To: <489290.49450.qm@web51006.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: ZFS "Dataset is busy" error / Samba + Previous Versions X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2009 09:55:44 -0000 Richard Mahlerwein wrote: >> From: Bob Friesenhahn [...] >> This seems to have something to do with how the filesystem is mounted. >> See >> http://www.mail-archive.com/zfs-discuss@opensolaris.org/msg00812.html >> Also see >> http://defect.opensolaris.org/bz/show_bug.cgi?id=5000 >> So try >> zfs unmount tank >> zfs mount tank >> and maybe it will start working as expected. >> >> I am finding more Google hits for FreeBSD and OS-X than I am for >> Solaris so it may be that this issue is somewhat OS specific. > > So, a completely unrelated bug with Windows and ACPI took down my machine while the VM was running. After some tomfoolery to get filesystems cleaned back up again, I tried what you suggested... > > curie# zfs unmount tank > curie# zfs mount tank > curie# zfs snapshot tank@snap1 > curie# > > Poof! Success! At least at making snapshots. Of course, I don't yet see a "Previous Versions" tab in the properties of anything yet (which I do see on some other shares from other servers). But at least now I can fool with those a bit. Do you see Previous Versions on Samaba shares from FreeBSD? I think you need some tweaks in smb.conf: http://www.edplese.com/samba-with-zfs.html http://www.edplese.com/blog/2009/12/02/samba-shadow_copy2-enhancements/ http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2651813 Miroslav Lachman