Editing Virt-resize

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 24: Line 24:
 
  5) Start your machine: <code>[[virsh start]] VM_NAME</code> and discard your backups if everything is working properly.
 
  5) Start your machine: <code>[[virsh start]] VM_NAME</code> and discard your backups if everything is working properly.
  
 +
<pre>
 +
virt-resize --expand /dev/sda4 my_machine-ORIGIN.qcow2 my_machine.qcow2
 +
[  0.0] Examining my_machine.qcow
 +
**********
  
* [[Virt resize execution examples]]
+
Summary of changes:
 +
 
 +
/dev/sda1: This partition will be left alone.
 +
 
 +
/dev/sda2: This partition will be left alone.
 +
 
 +
/dev/sda3: This partition will be left alone.
 +
 
 +
/dev/sda4: This partition will be resized from 99.3G to 299.3G.  The LVM PV
 +
on /dev/sda4 will be expanded using the 'pvresize' method.
 +
 
 +
**********
 +
[  5.2] Setting up initial partition table on my_machine.qcow2
 +
[ 17.5] Copying /dev/sda1
 +
[ 17.5] Copying /dev/sda2
 +
[  18.0] Copying /dev/sda3
 +
100% ⟦▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ 00:00
 +
[ 258.7] Expanding /dev/sda4 using the 'pvresize' method
 +
 
 +
Resize operation completed with no errors.  Before deleting the old disk,
 +
carefully check that the resized disk boots and works correctly.
 +
 
 +
</pre>
  
 
== Virt-resize execution with errors ==
 
== Virt-resize execution with errors ==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: