google-cloud-platform - 如何在 windows 文件系统上使用 GCP 存储桶数据

标签 google-cloud-platform fuse

我想在 Windows 10 上访问 GCP 存储桶数据作为文件系统。
GCP 为 mac 和 Linux 提供 FUSE,有没有办法在 Windows 上挂载 GCP bucket。

最佳答案

根据文档 Cloud Storage FUSE :

Cloud Storage FUSE is an open source FUSE adapter that allows you to mount Cloud Storage buckets as file systems on Linux or macOS systems.


因此,在 Windows 系统上使用它并不容易。
有几种可能的方法可以解决它 :
  • Rclone

    Rclone is a command line program to manage files on cloud storage. It is a feature rich alternative to cloud vendors' web storage interfaces. Over 40 cloud storage products support rclone including S3 object stores, business & consumer file storage services, as well as standard transfer protocols.


  • 安装 Rclone 和 WinFsp .请记住将 Rclone 位置添加到您的 PATH .
  • 关注 instructions设置您的远程 GCP 存储桶。如果您的 GCP 存储桶使用 Uniform bucket-level access ,记得设置--gcs-bucket-policy-only配置 Rclone 远程驱动器时,选项为 true。
  • Mount远程 GCP 存储桶作为本地磁盘
    rclone mount remote:path/to/files X: 
    
    哪里X:是一个未使用的驱动器号。

  • GcsFuse-Win :

    GcsFuse-Win is a distributed FUSE based file system backed by Google cloud storage service. It is the first open source native version of gcs fuse on windows.It allows you to mount the buckets/folders in the storage account as a the local folder/driver on Windows system. It support the cluster mode. you can mount the blob container (or part of it) across multiple windows nodes.


  • CloudBerry Drive (专有软件):

    Mount cloud storage as a network drive to your Windows workstation or Windows Server


  • 使用 FUSE 将存储桶挂载到 Linux 实例中并通过网络 Samba/NFS 共享。
  • 关于google-cloud-platform - 如何在 windows 文件系统上使用 GCP 存储桶数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67332957/

    相关文章:

    c++ - 如何优化路径列表中的目录列表?

    amazon-s3 - s3fs 使用 $HOME/.aws 中的凭据和配置,而不是/passwd-s3fs 文件

    reactjs - 当我部署到 Google App Engine 时,我的 React 前端没有改变

    node.js - 使用 Cloud Functions for Firebase 和 @google-cloud/storage 删除图像时出现问题

    mysql - 从本地数据库将数据加载到 Bigquery

    linux - FIO : Always write error when direct=1 and use libaio in mergerfs

    python - python 中的recvmsg 相当于什么?

    git - homebrew-fuse git 存储库已弃用 brew 更新失败

    google-cloud-platform - GCP GCE F1-micro 不是免费的吗?

    php - 503 "Service Unavailable"在谷歌云中使用 Laravel 8 的 Docker 容器