简体   繁体   English

云盘挂载问题

[英]Clouddrive mount issue

I am trying to change the clouddrive location to another storage account so that I can map it on my computer and upload files directly to it.我正在尝试将 clouddrive 位置更改为另一个存储帐户,以便我可以在我的计算机上 map 并将文件直接上传到它。 I am running the following command in azure cli:我在 azure cli 中运行以下命令:

clouddrive mount -s subscriptionID -g Resource Group -n storageaccountname -f filesharename clouddrive mount -s subscriptionID -g 资源组 -n storageaccountname -f filesharename

But I am getting this error:但我收到此错误:

ERROR: Failed to update storage profile. Response: {
  "error": {
    "code": "UserSettingsNetworkTypeInvalid",
    "message": "The user settings network type '<null>' is invalid. The value must be one of 'Isolated,Default'."
  }
}

I have looked it up but can't seem to find anything related to this error.我已经查过了,但似乎找不到与此错误相关的任何内容。 Have anyone dealt with this before?以前有没有人处理过这个问题?

Thanks!谢谢!

Thank you for your comment, I eventually opened a ticket with MS and they had the same issue, a workaround for this is to unmount ( cluddrive unmount )the drive and then reopen Azure CLI, that way you get prompted to set up the clouddrive storage again.感谢您的评论,我最终向 MS 开了一张票,他们遇到了同样的问题,解决方法是卸载( cluddrive unmount )驱动器,然后重新打开 Azure CLI,这样您会收到设置 clouddrive 存储的提示再次。

Bear in mind that once you do this, you wont be able to get your command history back, even you revert back to the old storage account.请记住,一旦执行此操作,您将无法恢复您的命令历史记录,即使您恢复到旧的存储帐户也是如此。

Another thing I discovered in this journey is that if you go to your storage account and navigate to your fileshare clouddrive/.cloudconsole you can upload files there and they will be available on your console under clouddrive/.cloudconsole .我在这次旅程中发现的另一件事是,如果您将 go 转到您的存储帐户并导航到您的文件共享clouddrive/.cloudconsole ,您可以在那里上传文件,它们将在您的控制台上的clouddrive/.cloudconsole下可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM