Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Extend rootvg filesystem in openstack instances running RHEL 7.1

    Posted on

    I have created a RHEL 7.1 cloud-image with a couple of partitions and filesystems with a total size of 75GB as per my client's requirements. When this image is launched in OpenStack as an instance, with different disk sizes (for ex: 100 GB), the VG still shows up with 75GB only. While fdisk reports 100 GB, it doesn't show the additional sectors when trying to create additional partitions that can be added to the VG.

    [root@test009 ~]# vgs
      VG   #PV #LV #SN Attr   VSize  VFree
      vg00   2  11   0 wz--n- 74.25g 13.00g
    [root@test009 ~]# fdisk -l |grep "^Disk /dev/vd"
    Disk /dev/vda: 107.4 GB, 107374182400 bytes, 209715200 sectors
    [root@test009 ~]# lvs
      LV       VG   Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
      auditvol vg00 -wi-ao---- 256.00m
      crashvol vg00 -wi-ao----   8.00g
      homevol  vg00 -wi-ao----   5.00g
      logvol   vg00 -wi-ao----   5.00g
      nmonvol  vg00 -wi-ao----   6.00g
      optvol   vg00 -wi-ao----  10.00g
      repovol  vg00 -wi-ao----   5.00g
      rootvol  vg00 -wi-ao----  10.00g
      swapvol  vg00 -wi-ao----   2.00g
      tmpvol   vg00 -wi-ao----   5.00g
      varvol   vg00 -wi-ao----   5.00g
    
    

    How can I make the OS use the additional disk space allocated to it?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat