Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2009 17:52:54 -0600 (CST)
From:      Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
To:        Richard Mahlerwein <mahlerrd@yahoo.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS "Dataset is busy" error
Message-ID:  <alpine.GSO.2.01.0912301740270.1586@freddy.simplesystems.org>
In-Reply-To: <368515.86742.qm@web51005.mail.re2.yahoo.com>
References:  <368515.86742.qm@web51005.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> 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.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



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