Skip to content

xe sr-probe does not find NFSv4/NFSv4.1 #135

Open
@borzel

Description

@borzel

Background:

  • XCP-ng 7.6 (with all extras/testing packages up to date)
  • FreeNAS-11.2-RELEASE-U1 as NFS-Server (NFSv4 enabled)

Steps:

  1. enable NFSv4 on FreeNAS and reboot it to fully enable it (!)
    grafik
  2. Create new SR with XCP-ng Center (https://github.com/xcp-ng/xenadmin/releases/tag/v7.6.3.21) with NFSv4.1 (or XenOrchestra -> this step just proves NFSv4.1 support)
    grafik
  3. Detach SR
  4. run xe sr-probe type=nfs device-config:server=<some-ip> device-config:serverpath=/mnt/testpool/nfsv41test device-config:probeversion

Output of sr-probe

<?xml version="1.0" ?>
<SRlist>
        <SR>
                <UUID>2131f8f8-49be-0868-2b97-d624c9851584</UUID>
        </SR>
        <SR>
                <UUID>cce30ede-0fd2-b34a-04e5-291b56b9f8fc</UUID>
        </SR>
        <SupportedVersions>
                <Version>3</Version>
        </SupportedVersions>
</SRlist>

Expected result
Shows SupportedVersions 3, 4 and 4.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions