From owner-freebsd-fs@FreeBSD.ORG Thu Dec 31 02:59:21 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 0F110106566C for ; Thu, 31 Dec 2009 02:59:21 +0000 (UTC) (envelope-from mahlerrd@yahoo.com) Received: from web51006.mail.re2.yahoo.com (web51006.mail.re2.yahoo.com [206.190.38.137]) by mx1.freebsd.org (Postfix) with SMTP id C1A048FC0C for ; Thu, 31 Dec 2009 02:59:20 +0000 (UTC) Received: (qmail 50690 invoked by uid 60001); 31 Dec 2009 02:59:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1262228357; bh=bjbIpLHtavY+84qxJlGhY3Uu1k3b4fHdzPREJIqmUCE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=4uroc8tB/7XVrgVBG65LJvbMlzq3O0fIDUC0TNFDp4kmMaR4VLqACiwm9aO2JGApFq35Fe6RxF3Bf7+Woxv95NUjwiYYR9/KLqNinmLaWawLbXsOUvIY47/IlfxNRDkPPBijvDekvhokDL0wClRSDEkfolNnoa3pRLehNcbScIA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=5oJFYLrEcw2HemElJQjznKpyPe9/vDrkJbsCky93MzWHKu0xHzrq9UVMkaXaX5vZS7EX6zpJ7Zs+VQqegLkrFrRPdAkrzvp9cYuXsU6blykRqrtGkMyPrAwzt/BDxN9bVz36xVR3KzgTamLLTSFmwlC3rDT51jSjnGfiLmlj7WM=; Message-ID: <489290.49450.qm@web51006.mail.re2.yahoo.com> X-YMail-OSG: y_Ik_D8VM1l2Xx7TTHYJ105XTJtEUtQB6m9H3V3ghqVXS4S.uMY28FHnK.I8mP8UqsQBZqLvJYv6d4UK2lGE9k51yfOYtLM3nO6DkzOgrJumx3nHLXSqcqENDCqZFDOlZqTG7hg_iuaVlQCd6Kn0CJhUXEWbFPoO1y77eR_bQMJ04SHw_eO8RWgMoDZznNCJSs5X9.1Uh3xG7oZrDwuA_MvB_FSK8Jj6IwkEYpzL5qmM5rhCJxfThrzB4.1czBqEzuWgZNFca2Zq4vPOnwD8BdEKqp9rqbN_XO5FeuMYxBNn27_v6kdb0UH5SFadWC9mC3J7WQmPN8ecJG5GYBK6M9adSzbOdPXpSr_nuxBKRRtcAGi4_wDIPK_T9fwi.UitS2t4UWn9FqLqiR5l1_hpbOusXpqggqQk6lYiRrrhJYGbh.jQ1a60xZySQWT3sUAYPa.W4LX79bkGJa4.HtCTBoezSeUfmNrSYS6.FKFTqcC21.xfUx.tj0hq.wB2Z_UVWWH_r.5lF8kJdmdQrDsoGNfhPecJWiOJGkb67J_4hTNHz30SszXyxUFIjYqvMWKbcczKaaC0yFuyEbEmsAL3O91g7C_mGw-- Received: from [208.95.208.226] by web51006.mail.re2.yahoo.com via HTTP; Wed, 30 Dec 2009 18:59:17 PST X-Mailer: YahooMailRC/240.3 YahooMailWebService/0.8.100.260964 References: <368515.86742.qm@web51005.mail.re2.yahoo.com> Date: Wed, 30 Dec 2009 18:59:17 -0800 (PST) From: Richard Mahlerwein To: Bob Friesenhahn In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS "Dataset is busy" error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Richard Mahlerwein List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2009 02:59:21 -0000 >From: Bob Friesenhahn >To: Richard Mahlerwein >Cc: freebsd-fs@freebsd.org >Sent: Wed, December 30, 2009 6:52:54 PM >Subject: Re: ZFS "Dataset is busy" error > >> >> Added a super simple entry to my smb.conf to allow user test to get to the shared /tank (which works fine, AFAICT), restarted all services and browsed the share from my windows host. I dropped in half a dozen text files, then tried... >> >> curie# zfs list >> NAME USED AVAIL REFER MOUNTPOINT >> tank 70.5K 2.94G 18K /tank >> >> curie# zfs snapshot tank@snap1 >> cannot create snapshot 'tank@snap1': dataset is busy > >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. Thanks Bob!