MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.26k stars 21.43k forks source link

Error when using mount options in the persistent volume (statically provisioning) #120754

Closed deividfoggi closed 7 months ago

deividfoggi commented 7 months ago

🚨 Looks like you arrived from the internal review site 🚨 Do not enter Microsoft confidential information here

When statically provisioning a nfs file share, no matter what mount options I use in the pv defintion, the following error happens. The only way to workaound is by removing all mount options from pv:

MountVolume.MountDevice failed for volume "xxx-xx-xxx" : rpc error: code = Internal desc = volume(unique-volumeid) mount xxxx.privatelink.file.core.windows.net://xxxx/dados on /var/lib/kubelet/plugins/kubernetes.io/csi/file.csi.azure.com/6c02ffeec8bc86f5020d8c5925d8c73ea55e1a22d00fb3c067c55f0fdab20f76/globalmount failed with mount failed: exit status 32 Mounting command: mount Mounting arguments: -t nfs -o cache=strict,dir_mode=0777,file_mode=0777,gid=0,mfsymlinks,noatime,rsize=4096,uid=0,vers=4,minorversion=1,sec=sys,wsize=4096,noresvport,actimeo=30 xxx.privatelink.file.core.windows.net://xxxx/dados /var/lib/kubelet/plugins/kubernetes.io/csi/file.csi.azure.com/6c02ffeec8bc86f5020d8c5925d8c73ea55e1a22d00fb3c067c55f0fdab20f76/globalmount Output: mount.nfs: an incorrect mount option was specified Please refer to http://aka.ms/filemounterror for possible causes and solutions for mount errors.
Unable to mount Azure file share - Azure
Describes errors that cause the mounting of an Azure file share to fail and provides solutions.

Is it really supported to pass mount options in the pv manifest?


Document Details

⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Naveenommi-MSFT commented 7 months ago

@deividfoggi Thanks for your feedback! We will investigate and update as appropriate.

AjayBathini-MSFT commented 7 months ago

@deividfoggi

Thank you for your feedback! I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds. [Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows. [Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1) Thank you for your time and patience throughout this issue.