>Number:         185858
>Category:       misc
>Synopsis:       zvol clone can't see new device
>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:   Sat Jan 18 03:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Irwin
>Release:        10-rc4
>Organization:
>Environment:
FreeBSD ztest.lan 10.0-RC4 FreeBSD 10.0-RC4 #0 r260130: Tue Dec 31 17:10:01 UTC 
2013     r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
device is not there until reboot

root@ztest:~ # zfs snapshot ziege/targets/test1/c@140118-0446

root@ztest:~ # zfs clone -p ziege/targets/test1/c@140118-0446 
ziege/targets/test1/pc1-c-140118-0446
root@ztest:~ # zfs clone -p ziege/targets/test1/c@140118-0446 
ziege/targets/test1/pc2-c-140118-0446 
root@ztest:~ # zfs list
NAME                                    USED  AVAIL  REFER  MOUNTPOINT
ziege                                   100G  16.8G    31K  none
ziege/targets                           100G  16.8G    31K  none
ziege/targets/test1                     100G  16.8G    31K  none
ziege/targets/test1/c                   100G  99.3G  17.8G  -
ziege/targets/test1/c@140118-0446          0      -  17.8G  -
ziege/targets/test1/pc1-c-140118-0446     1K  16.8G  17.8G  -
ziege/targets/test1/pc2-c-140118-0446     1K  16.8G  17.8G  -
root@ztest:~ # ls -l /dev/zvol/ziege/targets/test1/   
total 0
crw-r-----  1 root  operator  0x88 Jan 18 11:42 c
crw-r-----  1 root  operator  0x9e Jan 18 04:46 c@140118-0446
crw-r-----  1 root  operator  0x9f Jan 18 04:46 c@140118-0446s1
crw-r-----  1 root  operator  0xa0 Jan 18 04:46 c@140118-0446s2
>How-To-Repeat:
root@ztest:~ # zfs snapshot ziege/targets/test1/c@140118-0446

root@ztest:~ # zfs clone -p ziege/targets/test1/c@140118-0446 
ziege/targets/test1/pc1-c-140118-0446
root@ztest:~ # zfs clone -p ziege/targets/test1/c@140118-0446 ziege/targets

ls -l /dev/zvol/ziege/targets/test1/
(device not there)
>Fix:
reboot... but this is gonna cause problems

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to