From: David Kirkby on
I've hit a problem that a Google search shows others have had before -
trying to create a snapshot, one gets a message that the dataset is
busy.

# zfs snapshot rootpool2/ROOT/S10u7zfsB(a)today
cannot create snapshot 'rootpool2/ROOT/S10u7zfsB(a)today': dataset is
busy

The usual way around this is to unmount then remount the file system.
That is not always a practical option though. I can't possibly unmount
a file system that many are using. One of the benefits of ZFS is the
snapshots. Being told the dataset is busy is not a lot of use.

Is there a better solution, or a decent explanation of why this
happens?

Dave
From: cindy on
On Feb 4, 7:46 am, David Kirkby <drkir...(a)gmail.com> wrote:
> I've hit a problem that a Google search shows others have had before -
> trying to create a snapshot, one gets a message that the dataset is
> busy.
>
> # zfs snapshot rootpool2/ROOT/S10u7zfsB(a)today
> cannot create snapshot 'rootpool2/ROOT/S10u7zfsB(a)today': dataset is
> busy
>
> The usual way around this is to unmount then remount the file system.
> That is not always a practical option though. I can't possibly unmount
> a file system that many are using. One of the benefits of ZFS is the
> snapshots. Being told the dataset is busy is not a lot of use.
>
> Is there a better solution, or a decent explanation of why this
> happens?
>
> Dave

Hi Dave,

One explanation of this problem was a bug, but it was fixed in
the past year.

Which Solaris release is this?

Thanks,

Cindy
From: cindy on
On Feb 4, 10:48 am, cindy <cindy.swearin...(a)sun.com> wrote:
> On Feb 4, 7:46 am, David Kirkby <drkir...(a)gmail.com> wrote:
>
>
>
> > I've hit a problem that a Google search shows others have had before -
> > trying to create a snapshot, one gets a message that the dataset is
> > busy.
>
> > # zfs snapshot rootpool2/ROOT/S10u7zfsB(a)today
> > cannot create snapshot 'rootpool2/ROOT/S10u7zfsB(a)today': dataset is
> > busy
>
> > The usual way around this is to unmount then remount the file system.
> > That is not always a practical option though. I can't possibly unmount
> > a file system that many are using. One of the benefits of ZFS is the
> > snapshots. Being told the dataset is busy is not a lot of use.
>
> > Is there a better solution, or a decent explanation of why this
> > happens?
>
> > Dave
>
> Hi Dave,
>
> One explanation of this problem was a bug, but it was fixed in
> the past year.
>
> Which Solaris release is this?
>
> Thanks,
>
> Cindy

Sorry, I see now that you are running s10u7. This CR was fixed in
s10u8:

http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6462803

Cindy
From: David Kirkby on
On Feb 4, 5:55 pm, cindy <cindy.swearin...(a)sun.com> wrote:
> On Feb 4, 10:48 am, cindy <cindy.swearin...(a)sun.com> wrote:
>
>
>
> > On Feb 4, 7:46 am, David Kirkby <drkir...(a)gmail.com> wrote:
>
> > > I've hit a problem that a Google search shows others have had before -
> > > trying to create a snapshot, one gets a message that the dataset is
> > > busy.
>
> > > # zfs snapshot rootpool2/ROOT/S10u7zfsB(a)today
> > > cannot create snapshot 'rootpool2/ROOT/S10u7zfsB(a)today': dataset is
> > > busy
>
> > > The usual way around this is to unmount then remount the file system.
> > > That is not always a practical option though. I can't possibly unmount
> > > a file system that many are using. One of the benefits of ZFS is the
> > > snapshots. Being told the dataset is busy is not a lot of use.
>
> > > Is there a better solution, or a decent explanation of why this
> > > happens?
>
> > > Dave
>
> > Hi Dave,
>
> > One explanation of this problem was a bug, but it was fixed in
> > the past year.
>
> > Which Solaris release is this?
>
> > Thanks,
>
> > Cindy
>
> Sorry, I see now that you are running s10u7. This CR was fixed in
> s10u8:
>
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6462803
>
> Cindy

Thank you for that Cindy. I can't seem to find any patch for Solaris
10 update 7. I would have thought this significant enough to backport.
It seems to have hit quite a few people if you Google it.

Dave
From: John D Groenveld on
In article <31b66be4-9672-421f-8a0e-3913cf03665c(a)h2g2000yqj.googlegroups.com>,
David Kirkby <drkirkby(a)gmail.com> wrote:
>On Feb 4, 5:55�pm, cindy <cindy.swearin...(a)sun.com> wrote:
>> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6462803
>
>Thank you for that Cindy. I can't seem to find any patch for Solaris
>10 update 7. I would have thought this significant enough to backport.

The fix for BugID 6462803 is in PatchID 14144[4-5].

From Martin Paul's PCA:
Patch IR CR RSB Age Synopsis
------ -- - -- --- --- -------------------------------------------------------
141445 09 = 09 RS- 114 SunOS 5.10_x86: kernel patch

Happy hacking,
John
groenveld(a)acm.org