[Bug 209093] ZFS snapshot rename : .zfs/snapshot messes up
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 27 12:02:50 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209093
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 at FreeBSD.org
Reporter: f.vanniere at 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 at daily.6
/sbin/zfs rename data/backup/kaa at daily.5 data/backup/kaa at daily.6
/sbin/zfs rename data/backup/kaa at daily.4 data/backup/kaa at daily.5
/sbin/zfs rename data/backup/kaa at daily.3 data/backup/kaa at daily.4
/sbin/zfs rename data/backup/kaa at daily.2 data/backup/kaa at daily.3
/sbin/zfs rename data/backup/kaa at daily.1 data/backup/kaa at daily.2
/sbin/zfs rename data/backup/kaa at daily.0 data/backup/kaa at 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 order
to fix the .zfs/snapshot directory.
Everything was working fine on FreeBSD 10.2, all backup servers are affected
the same way.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list