kern/167066: [zfs] ZVOLs not appearing in /dev/zvol

Andriy Gapon avg at FreeBSD.org
Fri Nov 23 11:30:01 UTC 2012


The following reply was made to PR kern/167066; it has been noted by GNATS.

From: Andriy Gapon <avg at FreeBSD.org>
To: bug-followup at FreeBSD.org, rimbalza at gmail.com,
        Andreas Nilsson <andrnils at gmail.com>
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


More information about the freebsd-fs mailing list