Changes between Version 25 and Version 26 of extend-disk-on-kvm-guest
- Timestamp:
- Dec 24, 2016, 12:00:16 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
extend-disk-on-kvm-guest
v25 v26 123 123 == Step 4: Assign free space and resize filesystems == 124 124 125 The next step would be to assign the free space from the VG to the LV. That's what lvresize does. For example (size in GB is the new size you want): 125 The next step would be to assign the free space from the VG to the LV. That's what lvresize does. 126 127 For example (size in GB is the new size you want): 126 128 127 129 {{{ … … 130 132 131 133 will change the specified LV to have 50GB. 134 135 Alternatively, you can provide the relative amount of free space you want to assign: 136 137 {{{ 138 lvresize --extents +95%FREE /dev/mapper/LVNAME 139 }}} 132 140 133 141 Finally you would normally need to resize the filesystem as well so that it can make use of the extra space in the logical volume.