Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2015 08:30:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 201735] zpool export fails after process accesses .zfs/snapshot directory
Message-ID:  <bug-201735-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201735

            Bug ID: 201735
           Summary: zpool export fails after process accesses
                    .zfs/snapshot directory
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: marcus@blazingdot.com

This is broken:

    # zpool import derp
    # cd /derp/archive/archive/.zfs/snapshot
    # ls
    20141204 20141227 20150209 20150708 20150720
    # cd /
    # zpool export derp
    cannot unmount '/derp/archive/archive': Device busy

This works:

    # zpool import derp
    cd# cd /derp/archive/archive/.zfs/snapshot
    # ls
    20141204 20141227 20150209 20150708 20150720
    # cd /
    # zfs unmount derp/archive/archive
    # zpool export derp
    #

However, if you trigger the export bug first, the unmount is broken too.
This might provide a clue as to where the problem is.

    # zpool import derp
    # cd /derp/archive/archive/.zfs/snapshot
    # ls
    20141204 20141227 20150209 20150708 20150720
    # cd /
    # zpool export derp
    cannot unmount '/derp/archive/archive': Device busy
    # zfs unmount derp/archive/archive
    cannot unmount '/derp/archive/archive': Device busy

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201735-8>