在 GCP Windows 实例上配置 GCP 文件存储

问题描述

我一直在尝试挂载 Google Filestore 并在我的两个 GCP Windows VM 实例上用作 NFS 共享卷,但我一直收到以下错误。非常感谢任何帮助。我需要弄清楚这一点。

PS C:\Windows\system32> mount 10.*.***.250:/logs_arcon D:\Storage

cmdlet New-PSDrive at command pipeline position 1
Supply values for the following parameters:
Root: D:\
mount : Cannot find a provider with the name 'D:\Storage'.
At line:1 char:1
+ mount 10.42.144.250:/logs_arcon D:\Storage
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (D:\Storage:String) [New-PSDrive],ProviderNotFoundException
    + FullyQualifiedErrorId : ProviderNotFound,Microsoft.PowerShell.Commands.NewPSDriveCommand

解决方法

您的命令 mount 10.42.144.250:/logs_arcon D:\Storage 的格式看起来与文档示例中提供的格式不一致。

docs 中显示的格式应该有效: mount 10.0.0.2:/vol1 z: