From owner-freebsd-fs@FreeBSD.ORG Mon May 27 01:22:08 2013 Return-Path: Delivered-To: fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C6E948AD for ; Mon, 27 May 2013 01:22:08 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) by mx1.freebsd.org (Postfix) with ESMTP id 9100389B for ; Mon, 27 May 2013 01:22:08 +0000 (UTC) Received: from meatwad.mouf.net (cpe-098-122-135-254.nc.res.rr.com [98.122.135.254]) (authenticated bits=0) by mouf.net (8.14.5/8.14.5) with ESMTP id r4R1LtBG078364 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT) for ; Mon, 27 May 2013 01:22:00 GMT (envelope-from swills@FreeBSD.org) Message-ID: <51A2B533.8030504@FreeBSD.org> Date: Mon, 27 May 2013 01:21:55 +0000 From: Steve Wills User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130413 Thunderbird/17.0.5 MIME-Version: 1.0 To: fs@FreeBSD.org Subject: Re: dev entries for cloned zvol don't show up until after reboot References: <8ea8b9c8074fd122f78c5eaa3b289805.squirrel@mouf.net> In-Reply-To: <8ea8b9c8074fd122f78c5eaa3b289805.squirrel@mouf.net> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Mon, 27 May 2013 01:22:00 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mouf.net X-Virus-Scanned: clamav-milter 0.97.7 at mouf.net X-Virus-Status: Clean X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 01:22:08 -0000 On 05/24/13 17:56, Steve Wills wrote: > Hi, > > I've noticed that if I make zvol, create a snapshot of it, then clone > that, the /dev/zvol/* entries for it don't show up until after I reboot. > This is on r250925. Is this a known bug? To add a bit more detail to this, the steps are: zfs create -V 1G pool/somevol ls /dev/zvol/pool # witness somevol entries zfs create pool/somevol@somesnap ls /dev/zvol/pool # witness no new entries zfs clone pool/somvol@somesnap pool/anothervol ls /dev/zvol/pool # again witness no new entries reboot ls /dev/zvol/pool # witness missing entries appearing I'll go ahead and submit a PR too in case that helps. Steve