kern/164256: zfs: device entry for volume is not created after zfs receive

Dmitry Afanasiev KOT at MATPOCKuH.Ru
Tue Jan 17 19:50:10 UTC 2012


>Number:         164256
>Category:       kern
>Synopsis:       zfs: device entry for volume is not created after zfs receive
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 17 19:50:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Afanasiev
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
FreeBSD green 9.0-STABLE FreeBSD 9.0-STABLE #82: Sat Jan  7 00:24:08 MSK 2012     root at green:/usr/obj/usr/src/sys/green  amd64

>Description:
Device entry for received from snapshot volume must be created, but not created.
>How-To-Repeat:
# zpool create tank `mdconfig -a -t swap -s 64m`
# zfs create -V 1M tank/vol1
# zfs snapshot tank/vol1 at snap
# ls /dev/zvol/tank
vol1            vol1 at snap
# zfs send tank/vol1 at snap | zfs receive tank/vol2
# ls /dev/zvol/tank
vol1            vol1 at snap <- there is no entries for vol2
# zpool export tank
# zpool import tank
# ls /dev/zvol/tank
vol1            vol1 at snap       vol2            vol2 at snap <- magic!

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list