彈性云升級系統盤后擴容系統分區大小- 云主機/vps,虛擬主機域名注冊-常見問題,虛擬主機,網頁制作,域名注冊,主機,企業郵局,主頁空間,個人主頁,網絡實名,主機托管,網站建設,域名">

www.欧美-www.欧美.com-www.欧美com-www.欧美黄色-久热爱精品视频在线观看久爱-久热福利

  • 購物車  0

    我的購物車

    0 件商品,共計 0
    去購物車結算
  • 最新公告 
  • 常見問題
  • 有問必答
  • 網站備案

歡迎您來到禾城數碼,開始互聯網之旅!

彈性云升級系統盤后擴容系統分區大小

windows系統:

彈性云升級C盤大小后,系統不會自動擴容C盤大小,需按照一下操作完成擴容,擴容前,請關閉服務器虛擬內存和mysql及mssql服務,避免因擴容造成數據損壞


Win2008系統或者Win2012手工操作擴容:

首先請檢查您要擴展到的分區是否有設置虛擬內存,如果有請先取消虛擬內存,并重啟。

重啟后點擊開始--運行,輸入cmd,進入命令窗口,如圖:

blob.png

依次輸入以下命令:

diskpart              回車
list  volume         回車(顯示卷,找到C盤卷號,如:卷1)
select volume 1   回車(1在這里表示C盤卷標)
extend                回車(表示將余下的空間全部增加到C盤)

操作流程如圖(紅色方框中是輸入的命令):

blob.png


Win2003系統使用下列方法擴容C盤:

1.下載分區調整.rar 

下載報錯到D盤(必須),然后解壓到D盤

blob.png

2.雙擊launcher.exe 運行分區調整

blob.png

3.接下來,將C盤大小調整,如下圖

QQ圖片20150318113953.png

點擊是,然后點擊

軟件頂部blob.png

等待執行完成,即可完成C盤擴容


linux系統:

紅色為您要鍵入的指令,綠色為需要注意的內容,藍色為說明


特別提醒:刪除分區后一定要先建立分區再保存,刪除后點了保存會導致數據丟失,如果對linux不熟悉的,建議提交維護工單我司手工處理,費用30元。該操作有風險,為避免誤操作導致數據丟失,操作前請對您的重要數據進行備份!

[root@ebs ~]#yum -y install gdisk        //安裝分區工具

[root@ebs ~]#gdisk /dev/vda        //操作根分區磁盤

Command (? for help): p    //查看分區

Disk /dev/vda: 104857600 sectors, 50.0 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): B7172F0B-2C30-4535-981D-F0ED8B4A6065

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 104857566

Partitions will be aligned on 2048-sector boundaries

Total free space is 41945021 sectors (20.0 GiB)


Number  Start (sector)    End (sector)  Size       Code  Name

   1            2048        62914559   30.0 GiB    8300  Linux filesystem    //注意這個值

Command (? for help): d        //刪除分區

Using 1


Command (? for help): 1

b       back up GPT data to a file

c       change a partition's name

d       delete a partition

i       show detailed information on a partition

l       list known partition types

n       add a new partition

o       create a new empty GUID partition table (GPT)

p       print the partition table

q       quit without saving changes

r       recovery and transformation options (experts only)

s       sort partitions

t       change a partition's type code

v       verify disk

w       write table to disk and exit

x       extra functionality (experts only)

?       print this menu


Command (? for help): n

Partition number (1-128, default 1): 1

First sector (34-104857566, default = 2048) or {+-}size{KMGTP}: 2048   //剛才記錄的

Last sector (2048-104857566, default = 104857566) or {+-}size{KMGTP}:   //直接回車

Current type is 'Linux filesystem'

Hex code or GUID (L to show codes, Enter = 8300):            //直接回車

Changed type of partition to 'Linux filesystem'


Command (? for help): w


Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING

PARTITIONS!!


Do you want to proceed? (Y/N): y

OK; writing new GUID partition table (GPT) to /dev/vda.

Warning: The kernel is still using the old partition table.

The new table will be used at the next reboot.

The operation has completed successfully.


[root@ebs ~]#reboot                        //重啟讓分區生效

[root@ebs ~]#resize2fs -f /dev/vda1                 //開始擴容根分區

resize2fs -f /dev/vda1

resize2fs 1.41.12 (17-May-2010)

Filesystem at /dev/vda1 is mounted on /; on-line resizing required

old desc_blocks = 2, new_desc_blocks = 4

Performing an on-line resize of /dev/vda1 to 13106939 (4k) blocks.

The filesystem on /dev/vda1 is now 13106939 blocks long.


[root@ebs ~]#df -vh                            //完成,查看新的根分區大小




來源: 禾城數碼
閱讀:6551
日期:2015/12/13

  >> 相關文章
 
Top

客服熱線

0573-80897175

主站蜘蛛池模板: 欧美国产亚洲一区二区三区 | 久久精品免费一区二区三区 | 美女色网站| 韩国理论片a级在线观看丶 韩国毛片免费 | 中文网丁香综合网 | 在线亚洲一区 | 天堂网www最新版在线资源 | 免费啪视频观在线视频在线 | 一本色道久久综合狠狠躁 | 色综合久久丁香婷婷 | 久久免费小视频 | 超级成人97碰碰碰免费 | 国产高清一级在线观看 | 天天干夜夜爱 | 久久夜色国产精品噜噜 | 亚洲国产一区二区三区 | 999这里只有精品 | 激情丁香网 | 亚洲码欧美码一区二区三区 | 久久久久久午夜精品 | 久久蜜视频| 国产产一区二区三区久久毛片国语 | 久色小说| 亚洲国产精品视频 | 国产精品免费一区二区三区四区 | 天天狠狠色噜噜 | 999久久久国产 | 乱人伦在线资源中文字幕 | 天天干天天色天天干 | 91久久婷婷| 中国女人一级毛片 | 欧美国产精品va在线观看 | 久久久久88色偷偷免费 | 久久久久久久久国产 | 国产成人毛片毛片久久网 | 国产精品久久久久久夜夜夜夜 | www中文字幕在线观看 | 天天做天天爱夜夜爽毛片毛片 | 久久99影院| 成 人 亚洲 综合天堂 | 黄色片网站免费看 |