Hi Community,

My cloudstack deployment has NFS server that support NFS V4 only. The
Secondary Storage is attached successfully and we are able to deploy VM's.
Its Getting Mounted to XenServer as Ver=4.1.

The Actual issue is happening when we try to mount an ISO to a deployed VM.
It's always trying with NFS v3 and the ISO mount is failing.
Tried to setting the *secstorage.nfs.version to 4 and it does not have a
effect*

Xen logs:
Mar 24 16:34:51 xcp01 SM: [13233] sr_create {'sr_uuid':
'e16d9494-dd48-85e2-9166-6cbb12ffbdd4', 'subtask_of':
'DummyRef:|f271073d-ba31-4127-b375-dc78301167cf|SR.create', 'args': ['0'],
'host_ref': 'OpaqueRef:1f4335df-4651-4fa7-b249-9b97f770801d',
'session_ref': 'OpaqueRef:e9724b23-9f13-49cc-a582-b25978e23390',
'device_config': {'SRmaster': 'true', 'location':
'10.30.11.43:/Secondary/template/tmpl/1/207'},
'command': 'sr_create', 'sr_ref':
'OpaqueRef:c9453484-6e40-4d3c-a942-7098fae868e3'}
Mar 24 16:34:51 xcp01 SM: [13233] _testHost: Testing host/port:
10.30.11.43,2049
Mar 24 16:34:51 xcp01 SM: [13233] ['/usr/sbin/rpcinfo', '-s', '10.30.11.43']
Mar 24 16:34:51 xcp01 SM: [13233]   pread SUCCESS
Mar 24 16:34:51 xcp01 SM: [13233] ['mount.nfs',
'10.30.11.43:/Secondary/template/tmpl/1/207',
'/var/run/sr-mount/e16d9494-dd48-85e2-9166-6cbb12ffbdd4', '-o',
'soft,proto=tcp,vers=3,acdirmin=0,acdirmax=0']
Mar 24 16:34:51 xcp01 SM: [13233] FAILED in util.pread: (rc 32) stdout: '',
stderr: 'mount.nfs: Protocol not supported
Mar 24 16:34:51 xcp01 SM: [13233] '
Mar 24 16:34:52 xcp01 SM: [13233] ['mount.nfs',
'10.30.11.43:/Secondary/template/tmpl/1/207',
'/var/run/sr-mount/e16d9494-dd48-85e2-9166-6cbb12ffbdd4', '-o',
'soft,proto=tcp,vers=3,acdirmin=0,acdirmax=0']
Mar 24 16:34:52 xcp01 SM: [13233] FAILED in util.pread: (rc 32) stdout: '',
stderr: 'mount.nfs: Protocol not supported


Any Guidance on this

Joan

Reply via email to