Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2014 03:06:22 GMT
From:      Irwin <biatche@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/185858: zvol clone can't see new device
Message-ID:  <201401180306.s0I36MdS017553@oldred.freebsd.org>
Resent-Message-ID: <201401180310.s0I3A0nl074230@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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     root@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:



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