13,420
edits
Changes
no edit summary
# Shut down your '''centos1''', '''centos2''', and '''centos3''' VMs.
# In your '''c7host''' VM, change to the images directory by issuing the command: <b><code><span style="color:#3366CC;font-size:1.2em;">cd /var/lib/libvirt/images/</span></code></b>. <br>Note the size of the files in this directory. What do these files contain?
# Make a compressed backup of the '''centos3.qcow2''' file to your home directory with this command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">gzip < centos3.qcow2 > ~YourUserId/centos3.qcow2.backup.gz</span></code></b><br />(Note: Make certain to use the redirection signs "<" and ">" properly in the command!)
# Compare the size of the compressed and original files (hint: use '''ls -lh'''). If file is very large (like 15GB), you didn't compress it and you need to remove that file and perform the previous step until you get it right!