nerdexam
LPI

305-300 · Question #23

Which of the following commands lists all differences between the disk images vm1-snap.img and vm1.img?

The correct answer is E. virt-diff -a vm1-snap.img -A vm1.img. The virt-diff command-line tool can be used to list the differences between files in two virtual machines or disk images. The output shows the changes to a virtual machine's disk images after it has been running. The command can also be used to show the difference between…

Virtualization

Question

Which of the following commands lists all differences between the disk images vm1-snap.img and vm1.img?

Options

  • Avirt-delta -a vm1-snap.img -A vm1.img
  • Bvirt-cp-in -a vm1-snap.img -A vm1.img
  • Cvirt-cmp -a vm1-snap.img -A vm1.img
  • Dvirt-history -a vm1-snap.img -A vm1.img
  • Evirt-diff -a vm1-snap.img -A vm1.img

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    13% (5)
  • C
    5% (2)
  • E
    79% (31)

Explanation

The virt-diff command-line tool can be used to list the differences between files in two virtual machines or disk images. The output shows the changes to a virtual machine's disk images after it has been running. The command can also be used to show the difference between overlays. To specify two guests, you have to use the -a or -d option for the first guest, and the -A or -D option for the second guest. For example: virt-diff -a old.img -A new.img. Therefore, the correct command to list all differences between the disk images vm1-snap.img and vm1.img is: virt-diff -a vm1-snap.img - A vm1.img.

Topics

#virt-diff#disk image comparison#virt-tools#snapshots

Community Discussion

No community discussion yet for this question.

Full 305-300 Practice