代码改变世界

服务器磁盘扩展卷时遭遇“There is not enough space available on the disk(s) to complete this operation.”错误

2015-03-03 12:28  潇湘隐者  阅读(8312)  评论(0编辑  收藏  举报

在ESX VM的一台服务器由于磁盘空间告警,打算决定给E盘扩展空间,增加20G的空间,在操作过程遭遇了Expanding Disk Volume gives error “There is not enough space available on the disk(s) to complete this operation.”错误。具体步骤如下

clipboard

 

Step 1:

clipboard[1]

 

Step 2:

clipboard[2]

 

Step 3:

clipboard[3]

 

Step 4:

clipboard[4]

 

 

 

 

 

 

使用dispart命令查看时,也是如此

 

clipboard[5]

clipboard[6]

clipboard[7]

 

原因分析:

    应该是服务器硬盘扩容了20G,但是没有被系统完全识别,所以才会出现这个错误。网上这篇博客Expanding Disk Volume gives error “There is not enough space available on the disk(s) to complete this operation.”介绍,可以通过“重新扫描磁盘”(Rescan Disks)来解决这个错误。另外一种方法就是重启服务器可以解决。不过数据库服务器不是你啥时候想重启就重启的。这个方法对比第一个方法逊色很多。

clipboard[8]

 

参考资料:

https://social.technet.microsoft.com/Forums/zh-CN/8119a78e-c3e7-4033-bb18-00bb2ebda303/there-is-not-enough-space-available-on-the-disk-sto-complete-this-operation?forum=winserverfiles

http://www.natestiller.com/2012/09/expanding-disk-volume-gives-error-there-is-not-enough-space-available-on-the-disks-to-complete-this-operation/