跳轉至

Google Cloud

使用 RaiDrive CLI 在 Linux 上掛載 Google Cloud Storage 貯體。在網頁瀏覽器中登入 Google,然後提供專案 ID 與貯體。

如需取得此處所需的帳號、金鑰或 ID,請參閱 Windows 版應用程式的 Google Cloud 指南中的 開始之前。

Google 驗證需要預設網頁瀏覽器。

raidrivecli add gcp --gcp-project <project-id> --gcp-bucket <bucket>

若未指定掛載目錄,會掛載到 /mnt 下的目錄,例如 /mnt/gcp。若要指定掛載目錄,請使用 --mount-path 選項。

raidrivecli add gcp --gcp-project myproject --gcp-bucket mybucket \
                    --mount-path /myservices/gcp

其他選項

--gcp-project <project-id>              project id
--gcp-bucket <bucket>                   bucket

另請參閱