疑難排解線上模式

本文說明如何排解並解決 Transfer Appliance 線上模式的問題。

未設定線上作業

錯誤:

This appliance has not been configured for online operations.

解決方法:

如果您訂購的是線上裝置,並收到這項錯誤訊息,請傳送電子郵件至 data-support@google.com,與 Transfer Appliance 團隊聯絡。

如果您訂購的是離線裝置,收到這則訊息是正常現象。離線裝置不支援線上模式。如需進一步協助,請與 Transfer Appliance 團隊聯絡。

缺少憑證檔案

錯誤:

An error occurred while running hta containers: "credential file: '/tmp/key.json is missing"

解決方法:

請確認您已完成下列項目:

無法執行容器二進位檔

錯誤:

An error occurred while running hta containers: "Failed to run HTA containers binary \"opt/ta_containers/ta_containers\": exit status 1"

解決方法:

如需協助,請透過 data-support@google.com 與 Transfer Appliance 團隊聯絡。

無法更新作業系統

錯誤:

Failed to update Operating System. An error occurred while updating the appliance: "failed update OS: error transferring configuration files: error setting up tmp mount for new srv partition: error setting up mount /var/tmp/update1298680145: command [mount /dev/sdc2 /var/tmp/update1298680145] failed with output: mount: /var/tmp/update1298680145: special device /dev/sdc2 does not exist.\n and error: exit status 32"

解決方法:

如需協助,請透過 data-support@google.com 與 Transfer Appliance 團隊聯絡。

沒有憑證檔案就無法執行更新

錯誤:

Update cannot be run without credentials file. Please upload credentials file onto the appliance.

嘗試在 Transfer Appliance 上更新軟體時,會發生這個錯誤。

解決方法:

請確認您已完成下列步驟:

  • 準備 IAM 權限和儲存空間

  • 準備進行線上轉移。具體來說,請確保您已完成下列事項:

    • 建立使用者管理的服務帳戶。
    • 已授予服務帳戶適當權限。
    • 為使用者代管服務帳戶建立服務帳戶金鑰。
    • 將金鑰重新命名為 key.json,並上傳至設備上的 /tmp

物件前置字串不會更新為空字串

錯誤:

如果您在執行更新目的地 bucket 時,預期物件前置字串會預設為空字串,但實際並非如此,就會發生這項錯誤。

更新時未指定物件前置字元:

ta online --bucket=myrandombucket

執行這項指令不會將物件前置字串更新為空字串,因為只有在指定 --object_prefix 標記時,物件前置字串才會更新。

解決方法:

至少更新指定的物件前置字串:

ta online --bucket=myrandombucket --object_prefix=""

ta online --bucket=myrandombucket --object_prefix=

ta online --object_prefix=""

ta online --object_prefix=