Changes between Version 26 and Version 27 of extend-disk-on-kvm-guest


Ignore:
Timestamp:
Nov 20, 2018, 9:13:11 PM (3 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

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

    v26 v27  
    7878}}}
    7979
    80 Note carefully the start sector for the last partition. You will need this exact number in the step below.
    8180
    82 Delete the last partition, and re-create it with a higher end sector (yes, you can do this without destroying the data on the disk). Replace STARTSECTOR with the start sector of the output from the command above (including the s after the number). Specifying -1 as the end sector means go as far to the end as possible. If you get a message saying that the sector you requested is not possible, accept a different one, you can safely say yes.
     81Resize the partition. Specifying -1 as the end sector means go as far to the end as possible. If you get a message saying that the sector you requested is not possible, accept a different one, you can safely say yes.
    8382
    8483Also - you will likely get a scary warning about the partitions being in use. Press "I" to ignore the warning.
     
    9291{{{
    9392unit s
    94 rm 2
    95 mkpart primary STARTSECTOR -1
    96 toggle 2 lvm
     93resize 2 -1
    9794}}}
    9895