Skip to content

No location on ZFS pools can be shared via NFS on Windows Server (2022) #545

@besterino

Description

@besterino

ZFS version: zfswin-2.3.1rc14
zfs-kmod-zfswin-2.3.1rc14
Windows Server 2022(21H2 (OS Build 20348.4529)
ZFS pool mounted as D:

It is not possible to create an NFS share on any location on a ZFS pool.

In the GUI the ZFS pool does not even appear, manually entering d: or d:\dataset or d:\dataset\folder returns error "The entered path is not valid for the selected server. Please enter a new path or select a different server."

Via powershell the error reads:

PS C:\Users\Administrator> new-nfsshare -Name "NFSshare" -Path "D:\dataset\test" -permission readwrite
new-nfsshare : Failed to perform the requested operation.
At line:1 char:1
+ new-nfsshare -Name "nextcloud" -Path "D:\nextcloud\test" -permission  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (MSFT_NfsServerTasks:root/Microsoft/..._NfsServerTasks) [New-NfsShare], CimException
    + FullyQualifiedErrorId : HRESULT 0x80070032,New-NfsShare

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions