Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2013 01:21:55 +0000
From:      Steve Wills <swills@FreeBSD.org>
To:        fs@FreeBSD.org
Subject:   Re: dev entries for cloned zvol don't show up until after reboot
Message-ID:  <51A2B533.8030504@FreeBSD.org>
In-Reply-To: <8ea8b9c8074fd122f78c5eaa3b289805.squirrel@mouf.net>
References:  <8ea8b9c8074fd122f78c5eaa3b289805.squirrel@mouf.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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