[英]How do I move the Azure VM Agent WindowsAzure folder to a different drive
I am not sure when the Azure VM Agent got installed on my VM. 我不确定我的VM上何时安装了Azure VM代理。 I know I didn't manually do it. 我知道我不是手动进行的。 Regardless, it created a WindowsAzure folder on my VMs C: drive. 无论如何,它在我的VM C:驱动器上创建了WindowsAzure文件夹。 Unfortunately, that drive is not that big so it is eating into valuable storage. 不幸的是,该驱动器没有那么大,因此正在占用宝贵的存储空间。 I have an E: drive with tons of space. 我有一个E:拥有大量空间的驱动器。 How do I get the Azure VM Agent to use the E: drive instead of the C: drive on my VM? 如何使Azure VM代理在我的VM上使用E:驱动器而不是C:驱动器?
It seems that you could not directly move the WindowsAzure folder to another since the Azure VM Agent is installed by default on any Windows VM deployed from an Azure Marketplace image and even you could manually install it, you can not select the folder location. 似乎您无法直接将WindowsAzure文件夹移动到另一个文件夹,因为默认情况下,在从Azure Marketplace映像部署的任何Windows VM上都安装了Azure VM代理,即使您可以手动安装它,也无法选择文件夹位置。
In this case, you could expand your OS disk for more space on your VM c: drive. 在这种情况下,您可以扩展OS磁盘以在VM c:驱动器上获得更多空间。 Note that The new size should be greater than the existing disk size. 请注意, 新大小应大于现有磁盘大小。 The maximum allowed is 2048 GB for OS disks. OS磁盘最大允许为2048 GB。 You can follow this document to expand the OS drive of a virtual machine . 您可以按照本文档来扩展虚拟机的OS驱动器 。
Hope this will help. 希望这会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.