<dfn id="bq4sp"><code id="bq4sp"><dl id="bq4sp"></dl></code></dfn>
<menuitem id="bq4sp"><mark id="bq4sp"></mark></menuitem>

<menuitem id="bq4sp"></menuitem>
<abbr id="bq4sp"><button id="bq4sp"><pre id="bq4sp"></pre></button></abbr>
  • <strike id="bq4sp"><rt id="bq4sp"></rt></strike>
  • <nobr id="bq4sp"></nobr>
  • 国产亚洲tv在线观看,五月综合婷婷开心综合婷婷,嫩草院一区二区乱码,国产精品18久久久久久麻辣 ,国产精品剧情亚洲二区,国产美熟女乱又伦AV果冻传媒,国产福利高颜值在线观看,无码人妻丰满熟妇啪啪网不卡

    彈性云linux系統(tǒng)升級(jí)系統(tǒng)盤后擴(kuò)容根分區(qū)

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

    特別提醒:刪除分區(qū)后一定要先建立分區(qū)再保存,刪除后點(diǎn)了保存會(huì)導(dǎo)致數(shù)據(jù)丟失,如果對(duì)linux不熟悉的,建議提交維護(hù)工單我司手工處理,費(fèi)用30元。該操作有風(fēng)險(xiǎn),為避免誤操作導(dǎo)致數(shù)據(jù)丟失,操作前請(qǐng)對(duì)您的重要數(shù)據(jù)進(jìn)行備份!
    相關(guān)連接:
    彈性云window系統(tǒng)盤擴(kuò)容后將未分配空間合并擴(kuò)容到C盤
    Linux云主機(jī)(VPS)升級(jí)硬盤以后HOME分區(qū)擴(kuò)容操作流程

    [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    //注意這個(gè)值

    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ū)大小




    編輯:三五互聯(lián)
    日期:2015-03-31

    收藏 】 【 打印 】   
    您可對(duì)文檔進(jìn)行評(píng)分喲~

    勾選遇到的問(wèn)題提交給我們,收到反饋后保證及時(shí)修正更新!

    提交反饋需要先登陸會(huì)員帳號(hào)

    上一篇:國(guó)家互聯(lián)網(wǎng)應(yīng)急中心通知被HOLD域名申請(qǐng)解封流程
    下一篇:FTP上傳大文件時(shí)連接重置或者中斷,重新連接上傳也出現(xiàn)同樣情況處理辦法
    若文檔內(nèi)容對(duì)您沒(méi)有幫助,不能解決問(wèn)題? 您還可以 咨詢?cè)诰客服提交工單搜索常見問(wèn)題 ,我們將竭誠(chéng)為您服務(wù)。
      >> 相關(guān)文章
     
    分享至: