<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Eric Blake" <eblake@redhat.com><br><b>To: </b>"Payes Anand" <payes.anand@cloudbyte.com>, libvirt-users@redhat.com<br><b>Sent: </b>Wednesday, November 12, 2014 5:51:12 AM<br><b>Subject: </b>Re: [libvirt-users] Problem with the use of domfsfreeze mountpoint option<br><div><br></div>On 11/11/2014 01:58 PM, Payes Anand wrote:<br>> Hi everybody,<br>> <br>> I am having a problem with the use of domfsfreeze command.<br>> <br>> It is freezing all the filesystems present on the domain,<br>> <br>> instead of freezing just the mountpoints provided.<br>> <br>> I am issuing the command--<br>> <br>> # virsh domfsfreeze <domain> --mountpoint <mountpoint><br>> <br>> Output was-- Froze 3 filesystem(s)<br>> <br>> <br>> I want to freeze a particular mount point on the VM, so that i can<br>> take a snapshot using my own snapshot feature.<br>> <br>> Using library: libvirt 1.2.5<br>> Using API: QEMU 1.2.5<br>> Running hypervisor: QEMU 2.0.0<br><div><br></div>What version of qemu-guest-agent is running in the guest?<br>qemu-guest-agent doesn't support per-mountpoint freezing until the<br>introduction of guest-fsfreeze-freeze-list in qemu 2.2 (still unreleased).<br><div><br></div>> <br>> --Upgraded libvirt to 1.2.10, but that also didn't solve the problem.<br>> <br>> Am i missing something over here?<br>> Any help would be greatly appreciated.<br><div><br></div>I wonder if you may have uncovered a libvirt bug.  If the guest agent is<br>not capable of supporting per-mount freezing (because the agent is too<br>old), the command should fail rather than blindly freezing everything.<br>But to know for sure, it would be good to find the log messages for the<br>actual agent commands issued by libvirt, to make sure we were actually<br>trying to freeze just a single mount point.<br></blockquote><div><br></div><div>On RHEL, the bug for adding <span id="summary_alias_container"><span id="short_desc_nonedit_display">FSFreeze</span></span> function is this one :<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1102457"><a>https://bugzilla.redhat.com/show_bug.cgi?id=1102457</a></a><br></div><div>And according commnet 10 in that bug, --mountpoint is not supported now. <br></div><div>Whether  you specify --mountpoing or not, it will always output</div><div><br></div><div>Froze 2 filesystem(s) or Thawed 2 filesystem(s) <br></div><div><br></div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">-- <br>Eric Blake   eblake redhat com    +1-919-301-3266<br>Libvirt virtualization library http://libvirt.org<br><div><br></div><br>_______________________________________________<br>libvirt-users mailing list<br>libvirt-users@redhat.com<br>https://www.redhat.com/mailman/listinfo/libvirt-users</blockquote><div><br><br></div><div><br></div><div>-- <br></div><div><span name="x"></span>Regards<br>shyu<span name="x"></span><br></div></div></body></html>