2017-08-17
Oracle VM - resize root disk

  1. Check current virtual disk
    [root@localhost ~]# fdisk -l /dev/xvda
    
    Disk /dev/xvda: 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: 0x000b3dc8
    
        Device Boot      Start         End      Blocks   Id  System
    /dev/xvda1   *        2048     1026047      512000   83  Linux
    /dev/xvda2         1026048    41943039    20458496   8e  Linux LVM
Read More