彈性云升級系統(tǒng)盤后擴(kuò)容系統(tǒng)分區(qū)大小- 云主機(jī)/vps,虛擬主機(jī)域名注冊-常見問題,虛擬主機(jī),網(wǎng)頁制作,域名注冊,主機(jī),企業(yè)郵局,主頁空間,個人主頁,網(wǎng)絡(luò)實名,主機(jī)托管,網(wǎng)站建設(shè),域名">
  • 購物車  0

    我的購物車

    0 件商品,共計 0
    去購物車結(jié)算
  • 最新公告 

    未讀消息 :  忽略

    查看全部

  • 常見問題
  • 有問必答
  • 網(wǎng)站備案

歡迎您來到禾城數(shù)碼,開始互聯(lián)網(wǎng)之旅!

彈性云升級系統(tǒng)盤后擴(kuò)容系統(tǒng)分區(qū)大小

windows系統(tǒng):

彈性云升級C盤大小后,系統(tǒng)不會自動擴(kuò)容C盤大小,需按照一下操作完成擴(kuò)容,擴(kuò)容前,請關(guān)閉服務(wù)器虛擬內(nèi)存和mysql及mssql服務(wù),避免因擴(kuò)容造成數(shù)據(jù)損壞


Win2008系統(tǒng)或者Win2012手工操作擴(kuò)容:

首先請檢查您要擴(kuò)展到的分區(qū)是否有設(shè)置虛擬內(nèi)存,如果有請先取消虛擬內(nèi)存,并重啟。

重啟后點擊開始--運(yùn)行,輸入cmd,進(jìn)入命令窗口,如圖:

blob.png

依次輸入以下命令:

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

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

blob.png


Win2003系統(tǒng)使用下列方法擴(kuò)容C盤:

1.下載分區(qū)調(diào)整.rar 

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

blob.png

2.雙擊launcher.exe 運(yùn)行分區(qū)調(diào)整

blob.png

3.接下來,將C盤大小調(diào)整,如下圖

QQ圖片20150318113953.png

點擊是,然后點擊

軟件頂部blob.png

等待執(zhí)行完成,即可完成C盤擴(kuò)容


linux系統(tǒng):

紅色為您要鍵入的指令,綠色為需要注意的內(nèi)容,藍(lán)色為說明


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

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

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

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

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        //刪除分區(qū)

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                        //重啟讓分區(qū)生效

[root@ebs ~]#resize2fs -f /dev/vda1                 //開始擴(kuò)容根分區(qū)

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                            //完成,查看新的根分區(qū)大小




來源: 禾城數(shù)碼
閱讀:6743
日期:2015/12/13

  >> 相關(guān)文章
 
Top

客服熱線

0573-80897175

主站蜘蛛池模板: 欧美日韩综合精品| 人人妻人人狠人人爽天天综合网| 亚洲图片综合区| 亚洲综合精品香蕉久久网97| 国产综合成人久久大片91| 丁香婷婷色五月激情综合深爱| 亚洲伊人久久综合影院| 欧美日韩国产综合视频在线看 | 欧美国产日韩另类综合一区| 亚洲国产aⅴ综合网| 伊人青青综合网站| 亚洲综合久久综合激情久久| 亚洲狠狠综合久久| 色综合伊人色综合网站| 伊人色综合久久天天人手人婷| 99精品国产综合久久久久五月天| 亚洲综合另类小说色区| 久久精品综合网| 精品无码综合一区| 久久香综合精品久久伊人| 狠狠色噜噜狠狠狠狠狠色综合久久| av色综合久久天堂av色综合在| 日本伊人色综合网| 亚洲 欧洲 日韩 综合在线| 人人狠狠综合久久亚洲88| 亚洲Av综合色区无码专区桃色| 欧美成电影综合网站色www| 人人妻人人狠人人爽天天综合网| 国产成人综合网在线观看| 涩涩色中文综合亚洲| 国产成人综合一区精品| 五月天综合网| 浪潮AV色综合久久天堂| 国产成+人+综合+欧美亚洲| 伊人久久大香线蕉综合Av| 国产成人综合久久精品红| 色诱久久久久综合网ywww| 综合激情五月综合激情五月激情1| 国产欧美日韩综合自拍 | 91久久婷婷国产综合精品青草 | 欧美综合视频在线|