Changes between Version 14 and Version 15 of extend-disk-on-kvm-guest


Ignore:
Timestamp:
Sep 22, 2011, 5:54:19 PM (10 years ago)
Author:
Athens IMC
Comment:

Added information about resizing the LV and filesystem

Legend:

Unmodified
Added
Removed
Modified
  • extend-disk-on-kvm-guest

    v14 v15  
    104104And now your volume group should show additional free space.
    105105
     106The next step would be to assign the free space from the VG to the LV. That's what lvextend does. For example:
     107
     108{{{
     109lvextend -l +100%FREE /dev/rest/data
     110}}}
     111
     112will add 100% of the VG's free space to the specified LV.
     113
     114Finally you would normally need to resize the filesystem as well. This is done for ext2/ext3/ext4 like that:
     115
     116{{{
     117e2fsck -f /dev/rest/data
     118resize2fs /dev/rest/data
     119}}}