如何在虚拟机中挂载Azure数据磁盘

ast*_*ght 3 azure

如何从Linux虚拟机挂载Azure数据磁盘?

我想可能是这样的

az vm disk attach-existing [virtualmachinename] [datadiskname]
Run Code Online (Sandbox Code Playgroud)

ast*_*ght 5

我发现该解决方案令人困惑,因为很难从用于创建挂载点的文档中整理出用于创建天蓝色磁盘的文档。这是相关的文档。

https://docs.microsoft.com/zh-cn/azure/virtual-machines/linux/add-disk#connect-to-the-linux-vm-to-mount-the-new-disk

有关其他演练,请参见以下博客:https : //chrismckee.co.uk/creating-mounting-new-drives-in-ubuntu-azure/。我无法确定要使用官方Azure文档装入的磁盘,这篇文章对您有所帮助。