跳轉至

Azure

raidrivecli add azure --azure-storage-type <blob|file>

若不指定任何選項就加入儲存空間,系統會提示您輸入 Account 與 Key。

raidrivecli add azure --azure-storage-type blob
Account: <account>
Key: ********

您也可以用選項指定 Account 或 Key。

raidrivecli add azure --azure-storage-type <blob|file> \
                      --azure-storage-account <account> \
                      --azure-key [key]

警告

Shell 指令會記錄在歷程記錄中。建議盡可能不要在 --azure-key 選項後直接指定值。

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

raidrivecli add azure --azure-storage-type blob \
                      --mount-path /myservices/azure

其他選項

--azure-storage-type <blob|file>        blob, file
--azure-storage-account <account>       account
--azure-key [key]                       key

另請參閱