Changes

Jump to: navigation, search

OPS245 Lab 2

163 bytes added, 18:01, 17 January 2021
m
Part 1: Backing Up Virtual Machines: - clarifying instructions.
<li> '''Make certain that you are in your VM and <u>not</u> in your main system!''' </li>
<li> Wreck <u>only</u> your centos3 system! Try this command inside the centos3 virtual machine:<b><code><span style="color:#3366CC;font-size:1.2em;">sudo rm -rf /*</span></code></b> (ignore error messages).</li>
<li> Shut down and restart the centos3 VM(you may need to use the '''Force Reset''' option to do so). It </lI><li> When the machine restarts it will not boot since all system files have been removed!</li><li> Use the '''Force Off''' option to turn centos3 back off.</li>
<li> Restore the original image from the backup from your home directory to your '''images''' directory by typing this command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">sudo gunzip < ~YourUserId/backups/centos3.qcow2.gz > /var/lib/libvirt/images/centos3.qcow2'''</span></code></b></li>
<li> Restart the VM. Is it working normally?</li>
932
edits

Navigation menu