标签 ‘ Linux

Linux 虚拟机磁盘扩容(Esxi 6.7)

  • Esxi 编辑设置,将硬盘 10G 修改为 20G;
  • 重启服务器reboot
  • 查看硬盘,确认已生效
    [root@localhost ~]# fdisk -l
    
    Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: dos
    Disk identifier: 0x000db710
    
    Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048     2099199     1048576   83  Linux
    /dev/sda2         2099200    10485759     4193280   8e  Linux LVM
    /dev/sda3        10485760    20971519     5242880   8e  Linux LVM
    
    Disk /dev/mapper/cl-root: 9118 MB, 9118416896 bytes, 17809408 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/mapper/cl-swap: 536 MB, 536870912 bytes, 1048576 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    

    Disk /dev/sda: 21.5 GB
    阅读全文

  • Linux 虚拟机磁盘扩容(Esxi 6.7)已关闭评论

return top