search for: domfsfreeze

Displaying 18 results from an estimated 18 matches for "domfsfreeze".

2014 Nov 11
3
Problem with the use of domfsfreeze mountpoint option
Hi everybody, I am having a problem with the use of domfsfreeze command. It is freezing all the filesystems present on the domain, instead of freezing just the mountpoints provided. I am issuing the command-- # virsh domfsfreeze <domain> --mountpoint <mountpoint> Output was-- Froze 3 filesystem(s) I want to freeze a particular mount point on...
2014 Nov 14
2
Re: Problem with the use of domfsfreeze mountpoint option
On 11/12/14 22:17, Eric Blake wrote: > On 11/12/2014 10:24 AM, Michal Privoznik wrote: ... >> Although, I see a way that we could get something reasonable here. If >> qemu would tell us whenever somebody (dis-)connects (from)to the virtio >> channel. That way we could query the qemu-ga capabilities and make good >> decisions. And whenever we see a disconnect, we may
2014 Nov 11
0
Re: Problem with the use of domfsfreeze mountpoint option
On 11/11/2014 01:58 PM, Payes Anand wrote: > Hi everybody, > > I am having a problem with the use of domfsfreeze command. > > It is freezing all the filesystems present on the domain, > > instead of freezing just the mountpoints provided. > > I am issuing the command-- > > # virsh domfsfreeze <domain> --mountpoint <mountpoint> > > Output was-- Froze 3 filesystem(...
2014 Nov 17
0
Re: Problem with the use of domfsfreeze mountpoint option
...t, https://www.redhat.com/archives/libvir-list/2014-May/msg00033.html > OpenStack cinder provides these storages' snapshot feature, but it cannot > quiesce the guest filesystems automatically for now. > > This patchset adds virDomainFSFreeze()/virDomainFSThaw() APIs and virsh > domfsfreeze/domfsthaw commands to enable the users to freeze and thaw > domain's filesystems cleanly. > Do these API's ( commands ) also push the dirty buffer to the disk, or it has to be done separately before freezing, to take snapshots. If we don't specify any mount points, how different...
2020 Feb 17
2
RE: guest-fsfreeze-freeze freezes all mounted block devices
Hi Peter, Should I assume that the virsh domfsfreeze, does not require the qemu-agent service in the guest? PS. I couldn't find the result. Afaik it looks like it is returning the amount of frozen/thawed filesystem's -----Original Message----- Cc: libvirt-users Subject: Re: guest-fsfreeze-freeze freezes all mounted block devices On Fri...
2014 Nov 12
0
Re: Problem with the use of domfsfreeze mountpoint option
On 11/12/2014 10:24 AM, Michal Privoznik wrote: >> What version of qemu-guest-agent is running in the guest? >> qemu-guest-agent doesn't support per-mountpoint freezing until the >> introduction of guest-fsfreeze-freeze-list in qemu 2.2 (still >> unreleased). >> >>> >>> --Upgraded libvirt to 1.2.10, but that also didn't solve the problem.
2020 Feb 14
2
guest-fsfreeze-freeze freezes all mounted block devices
I wondered if anyone here can confirm that virsh qemu-agent-command domain '{"execute":"guest-fsfreeze-freeze"}' Freezes all mounted block devices filesystems. So if I use 4 block devices they are all frozen for snapshotting. Or just the root fs?
2014 Nov 12
3
Re: Problem with the use of domfsfreeze mountpoint option
On 11.11.2014 22:51, Eric Blake wrote: > On 11/11/2014 01:58 PM, Payes Anand wrote: >> Hi everybody, >> >> I am having a problem with the use of domfsfreeze command. >> >> It is freezing all the filesystems present on the domain, >> >> instead of freezing just the mountpoints provided. >> >> I am issuing the command-- >> >> # virsh domfsfreeze <domain> --mountpoint <mountpoint> >> >&g...
2020 Feb 17
0
Re: guest-fsfreeze-freeze freezes all mounted block devices
On Mon, Feb 17, 2020 at 10:03:27 +0100, Marc Roos wrote: > Hi Peter, > > Should I assume that the virsh domfsfreeze, does not require the > qemu-agent service in the guest? No. That's the official way how to drive the "guest-fsfreeze-freeze" agent command via libvirt, thus you must have the guest agent the same way as you used it before. Using qemu-agent-command is a backdoor for testing arbi...
2020 Feb 17
2
RE: guest-fsfreeze-freeze freezes all mounted block devices
...: 0 Report Id: 3d82596e-517c-11ea-b213-525400e83365 Report Status: 0 -----Original Message----- Cc: libvirt-users Subject: Re: guest-fsfreeze-freeze freezes all mounted block devices On Mon, Feb 17, 2020 at 10:03:27 +0100, Marc Roos wrote: > Hi Peter, > > Should I assume that the virsh domfsfreeze, does not require the > qemu-agent service in the guest? No. That's the official way how to drive the "guest-fsfreeze-freeze" agent command via libvirt, thus you must have the guest agent the same way as you used it before. Using qemu-agent-command is a backdoor for testing arb...
2020 Feb 17
0
Re: guest-fsfreeze-freeze freezes all mounted block devices
On Fri, Feb 14, 2020 at 22:14:55 +0100, Marc Roos wrote: > > I wondered if anyone here can confirm that > > virsh qemu-agent-command domain '{"execute":"guest-fsfreeze-freeze"}' Note that libvirt implements this directly via 'virsh domfsfreeze'. This is the corresponding man page entry: domfsfreeze domain [[--mountpoint] mountpoint...] Freeze mounted filesystems within a running domain to prepare for consistent snapshots. The --mountpoint option takes a parameter mountpoint, which is a mount point path of the filesyst...
2014 Dec 11
2
Freeze Windows Guests For Consistent Storage Snapshots
Hi, Is it possible to freeze windows guests for a consistent storage level snapshot. I am using openstack icehouse on centos 6.6 Hypervisor: KVM Libvirt: 0.10.2 Qemu: 0.10.2 Guest OS: Windows 7 and Windows Server 2008 I was able to freeze Centos guests by issuing the command: virsh qemu-agent-command <guest_ID> '{"execute":"guest-fsfreeze-freeze"}' For CentOS
2016 Feb 01
2
virsh, virt-filesystems, guestmount, virt-install not working well with ceph rbd yet?
...art working for Redhat as I don't have the resources myself, but I can help with some money towards a crowed fund or bounty. Maybe my software is outdated? virsh 1.2.9 ceph version 0.80.10 libguestfs-tools 1:1.28.1-1 3.16.7-ckt20-1+deb8u2 My current workarounds for full storage exports: virsh domfsfreeze $quest sleep 2 virsh domblklist $quest rbd snap create --snap snapshot $blkdevice virsh domfsthaw $quest rbd export $blkdevice at snapshot - | xz -1 | ssh -p 222 $user@$server "dd of=/$location/$blkdevice$snapshot-$daystamp.dd.disk.gz" rbd snap rm $blkdevice at snapshot Kind regards, Je...
2016 Feb 01
2
virsh, virt-filesystems, guestmount, virt-install not working well with ceph rbd yet?
...art working for Redhat as I don't have the resources myself, but I can help with some money towards a crowed fund or bounty. Maybe my software is outdated? virsh 1.2.9 ceph version 0.80.10 libguestfs-tools 1:1.28.1-1 3.16.7-ckt20-1+deb8u2 My current workarounds for full storage exports: virsh domfsfreeze $quest sleep 2 virsh domblklist $quest rbd snap create --snap snapshot $blkdevice virsh domfsthaw $quest rbd export $blkdevice at snapshot - | xz -1 | ssh -p 222 $user@$server "dd of=/$location/$blkdevice$snapshot-$daystamp.dd.disk.gz" rbd snap rm $blkdevice at snapshot Kind regards, Je...
2014 Dec 11
0
Re: Freeze Windows Guests For Consistent Storage Snapshots
...cause it relies on libvirt-qemu.so. You should really prefer the libvirt commands from libvirt.so instead (the --quiesce flag to 'virsh snapshot-create[-as]'), because it is less likely to get libvirt out of sync by going behind libvirt's back. Also, libvirt 1.2.5 introduced 'virsh domfsfreeze' as the official way to do a guest-agent 'guest'fsfreeze-freeze' command, although since you are using older CentOS builds, your libvirt does not yet have that command supported. > > For CentOS guests, I enabled access between compute nodes and guests > through a socket b...
2014 Nov 16
0
Suspend Domain (virsh suspend) or Freeze Filesystems (virsh domfsfreze) to take Snapshot of ISCSI volume
...ular iscsi disk mounted inside the guest operating system. I have created my own snapshot feature for that. Could someone please suggest the better choice for stopping read/write operations on disk out of the two to take snapshots, or if you have any better solution, 1) freeze filesystems ( using domfsfreeze ) and then take the snapshot or, 2) suspend the VM ( using virsh suspend ) and then take the snapshot And, before taking the snapshots what other operations should i perform ( like sync or flush buffer ) for a consistent snapshot. Any help would be greatly appreciated. Best Regards, Payes
2014 Dec 22
0
Re: Using virsh blockcopy -- what's it supposed to accomplish?
...hat just before breaking sync, you tell the guest to freeze all I/O, so that when you do break sync, the disk you are no longer using _is_ a consistent image (and depending on how well your guest is able to freeze I/O, it may well be bootable). But until that is implemented, you can use 'virsh domfsfreeze' as the manual access to freezing guest I/O, if you have new enough qemu and also have qemu-guest-agent wired up in your guest. > I expect this operation to create a pristine copy of my source qcow2 > file (at a given point in time) which implies that I can swap that copy > in and use...
2014 Dec 22
7
Using virsh blockcopy -- what's it supposed to accomplish?
I am experimenting with the blockcopy command, and after figuring out how to integrate qemu-nbd, nbd-client and dumpxml/undefine/blockcopy/define/et. al. I have one remaining question: What's the point? The "replication" disk file is not, from what I can ascertain, bootable. I expect this operation to create a pristine copy of my source qcow2 file (at a given point in time)