跳转至

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

另请参阅