Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2016 12:02:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 209093] ZFS snapshot rename : .zfs/snapshot messes up
Message-ID:  <bug-209093-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 209093
           Summary: ZFS snapshot rename : .zfs/snapshot messes up
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: f.vanniere@planet-work.com

I'm using FreeBSD 10.3 + ZFS as backup server with snapshots. Snapshots are
renamed every day with script like :


/sbin/zfs destroy data/backup/kaa@daily.6
/sbin/zfs rename data/backup/kaa@daily.5 data/backup/kaa@daily.6
/sbin/zfs rename data/backup/kaa@daily.4 data/backup/kaa@daily.5
/sbin/zfs rename data/backup/kaa@daily.3 data/backup/kaa@daily.4
/sbin/zfs rename data/backup/kaa@daily.2 data/backup/kaa@daily.3
/sbin/zfs rename data/backup/kaa@daily.1 data/backup/kaa@daily.2
/sbin/zfs rename data/backup/kaa@daily.0 data/backup/kaa@daily.1

The commands works and returns 0 but in the .zfs/snapshot directory
the daily.* are not pointing to the right snapshot. Some directories returns
"Device busy" because the snapshot doesn't exist anymore.

I can't umount the ZFS filesystem (device busy) and I need to reboot in ord=
er
to fix the .zfs/snapshot directory.

Everything was working fine on FreeBSD 10.2, all backup servers are affected
the same way.

--=20
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-209093-8>