侧边栏壁纸

parted分盘方法

  • admin 2022年02月02日 361阅读 0评论
  • [root@manbu ~]# parted /dev/vdb
    (parted) mklabel gpt                                                    
    Warning: The existing disk label on /dev/vdb will be destroyed and all data on this disk will be lost. Do you want to
    continue?
    Yes/No? yes                                                               
    (parted) mkpart a 0% 40%
    (parted) mkpart b 40% 80%                                                 
    (parted) mkpart c 80% 90%                                                
    (parted) mkpart d 90% 100%                                               
    (parted) print                                                            
    Model: Virtio Block Device (virtblk)
    Disk /dev/vdb: 107GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags: 
    
    Number  Start   End     Size    File system  Name  Flags
     1      1049kB  42.9GB  42.9GB               a
     2      42.9GB  85.9GB  42.9GB               b
     3      85.9GB  96.6GB  10.7GB               c
     4      96.6GB  107GB   10.7GB               d
    
    (parted) quit
    Information: You may need to update /etc/fstab.

    0
    打赏

    —— 评论区 ——

    昵称
    邮箱
    网址
    取消
    人生倒计时
    最新评论
    舔狗日记