From owner-freebsd-fs@FreeBSD.ORG Fri Nov 23 11:30:01 2012 Return-Path: Delivered-To: freebsd-fs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5595EFC2 for ; Fri, 23 Nov 2012 11:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3BDA28FC0C for ; Fri, 23 Nov 2012 11:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qANBU1Qw060776 for ; Fri, 23 Nov 2012 11:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qANBU1e5060775; Fri, 23 Nov 2012 11:30:01 GMT (envelope-from gnats) Date: Fri, 23 Nov 2012 11:30:01 GMT Message-Id: <201211231130.qANBU1e5060775@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org Cc: From: Andriy Gapon Subject: Re: kern/167066: [zfs] ZVOLs not appearing in /dev/zvol X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Andriy Gapon List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 11:30:01 -0000 The following reply was made to PR kern/167066; it has been noted by GNATS. From: Andriy Gapon To: bug-followup@FreeBSD.org, rimbalza@gmail.com, Andreas Nilsson Cc: Subject: Re: kern/167066: [zfs] ZVOLs not appearing in /dev/zvol Date: Fri, 23 Nov 2012 13:22:26 +0200 Please try the following patch: --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c @@ -3824,6 +3824,11 @@ zfs_ioc_recv(zfs_cmd_t *zc) error = 1; } #endif + +#ifdef __FreeBSD__ + if (error == 0) + zvol_create_minors(tofs); +#endif /* * On error, restore the original props. */ -- Andriy Gapon