[illumos-Developer] Can only use "rdsk" for COMSTAR UNMAP support...

Garrett D'Amore garrett at damore.org
Thu Mar 3 19:20:10 PST 2011


Probably, yes.  When we support this for ZFS on sd I will need to fix it up.  For now, I think you can defer to a future project.

Dan McDonald <danmcd at nexenta.com> wrote:

>If I use the COMSTAR tools to use the block zvol device, UNMAP/DKIOCFREE
>fails because spec_ioctl() fails on this check:
>
>   1266 	if (vp->v_type != VCHR)
>   1267 		return (ENOTTY);
>
>If I use the character device (rdsk), everything works just fine.
>
>It begs the higher-level question: Should there be an alternate DKIOCFREE
>path for block devices?
>
>Curious,
>Dan
>
>_______________________________________________
>Developer mailing list
>Developer at lists.illumos.org
>http://lists.illumos.org/m/listinfo/developer


More information about the Developer mailing list