OsDisk上没有空间,无法增加磁盘大小 [英] No space on OsDisk, disk size increase does not work

查看:198
本文介绍了OsDisk上没有空间,无法增加磁盘大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

创建Linux VM时,OsDisk大小默认为30 GB.我达到了30GB的限制,并且想要将磁盘的大小增加到64 GB.我在控制台中进行了更改. ssh进入VM时,它仍然显示磁盘大小为30GB,并说我没有空间 左.

在其他VM上,我已经进行了3-4次此操作,但从未出现过问题.知道现在出了什么问题吗?

P.S.是的,自更改以来,我已经重新启动了虚拟机六次,再次检查它是否是正确的磁盘,并确保保存了更改.

解决方案

您正在运行什么版本的linux?

我假设您尝试了以下类似操作,但所做的更改无法正常工作.

https://blogs.msdn.microsoft.com/linuxonazure/2017/04/03/how-to-resize-linux-osdisk-partition-on-azure/


When I created my Linux VM the OsDisk size defaulted to 30 GB. I reached the 30GB limit and want to increase the size of the disk to 64 GB. I made the change in the console. When I ssh into my VM it still shows the disk size as 30GB and says I have no space left.

I've done this 3-4 times before on other VMs and never had an issue. Any idea what the problem is now?

P.S. Yes I have restarted my VM half a dozen times already since the change, double checked that it's the correct disk, and made sure I saved changes.

解决方案

What version of linux are you running? 

I assume you tried something like the following but the changes are just not working.

https://blogs.msdn.microsoft.com/linuxonazure/2017/04/03/how-to-resize-linux-osdisk-partition-on-azure/


这篇关于OsDisk上没有空间,无法增加磁盘大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆