Skip to content

Configure NFS version for Primary Storage #4482

@wido

Description

@wido

ISSUE TYPE

  • Improvement Request
COMPONENT NAME
NFS Primary Storage
CLOUDSTACK VERSION
ALL
CONFIGURATION
  • Primary Storage
  • NFS
OS / ENVIRONMENT
  • Ubuntu / CentOS
SUMMARY

NFS Primary Storage mounts are handled by libvirt.

Currently libvirt defaults to NFS version 3 when mounting while it does support NFS version 4 if provided in the XML definition: https://libvirt.org/formatstorage.html#StoragePoolSource

  <source>
    <host name='localhost'/>
    <dir path='/var/lib/libvirt/images'/>
    <format type='nfs'/>
    <protocol ver='4'/>
  </source>

Maybe pass the argument 'nfsvers' to the URL provided to the Management Server and then pass this down to the Hypervisors which generate the XML for libvirt.

EXPECTED RESULTS
Primary Storage is mounted over NFS version 4

Metadata

Metadata

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions