運維問題.解決亞馬遜AWS雲EC2主機申請時加大根分區啓動實例後不識別問題?

問題緣由:
ui

申請AWS EC2時按照嚮導,在選擇存儲時默認根分區硬盤大小爲8G,這時候能夠根據本身須要輸入一個合適的數字,例如50G,完成啓動EC2後登陸機器,使用命令orm


解決辦法:server

[root@xm-server-50007 ~]# resize2fs /dev/xvde文檔

resize2fs 1.41.12 (17-May-2010)get

Filesystem at /dev/xvde is mounted on /; on-line resizing requiredio

old desc_blocks = 1, new_desc_blocks = 4form

Performing an on-line resize of /dev/xvde to 13107200 (4k) blocks.登錄

The filesystem on /dev/xvde is now 13107200 blocks long.require


相關文檔:file

http://serverfault.com/questions/414983/ec2-drive-not-ebs-volume-size

相關文章
相關標籤/搜索