Re: libvirt home assistant integration

2025-05-15 Thread Peter Krempa via Users
On Fri, May 16, 2025 at 08:56:39 +0200, Peter Krempa via Users wrote: > On Fri, May 16, 2025 at 00:21:54 +0200, Bram Diederik wrote: > > Hello libvirt users. > > > > I had fun with chatgpt (and lots of frustration) and created an integration > > I missed for some

Re: libvirt home assistant integration

2025-05-15 Thread Peter Krempa via Users
On Fri, May 16, 2025 at 00:21:54 +0200, Bram Diederik wrote: > Hello libvirt users. > > I had fun with chatgpt (and lots of frustration) and created an integration > I missed for some time for home assistant: a libvirt integration. > > view your libvirt systems inside home assistant, control them

Re: Cannot restore internal snapshots since libvirt 11.2.0

2025-05-12 Thread Peter Krempa via Users
On Mon, May 12, 2025 at 17:05:25 +0200, anonym wrote: > Hi! > > Since libvirt 11.2.0 attempting to restore internal snapshots fails for me > with: > > error: Failed to revert snapshot foo1 > error: operation failed: load of internal snapshot 'foo1' job > failed: Device 'libvirt-1-format'

Re: How to use microVM as a machine type?

2025-04-10 Thread Peter Krempa via Users
On Tue, Apr 08, 2025 at 17:37:06 +0930, Qu Wenruo via Users wrote: > Hi, > > Recently I'm hitting a bug related to edk2 that sometimes boot up can be > very slow (before loading the bootloader): > > https://github.com/tianocore/edk2/issues/10765 > > It looks like the cause is the related to fl

Re: General use of zstd instead of zlib compression

2025-03-17 Thread Peter Krempa via Users
On Mon, Mar 17, 2025 at 09:31:55 +, Daniel P. Berrangé wrote: > On Fri, Mar 14, 2025 at 03:34:46PM +0100, Peter Krempa wrote: > > On Fri, Mar 14, 2025 at 14:18:03 -, Michael Niehren wrote: > > > one more ... > > > > > > what would happen, if i create t

Re: General use of zstd instead of zlib compression

2025-03-15 Thread Peter Krempa
On Fri, Mar 14, 2025 at 13:33:04 -, Michael Niehren wrote: > An implementation only in the backup job would be great, that would fit my > needs. > > Maybe some more flags in the backupxml file would be useful. I used for > compressing > on the zstd call > "--sparse --rsyncable -B128 " > as

Re: General use of zstd instead of zlib compression

2025-03-14 Thread Peter Krempa
On Fri, Mar 14, 2025 at 14:18:03 -, Michael Niehren wrote: > one more ... > > what would happen, if i create the qcow2 image with zstd compression enabled > and > use the '--reuse-external' flag ? > Would qemu write compressed data in it or not ? It would not be compressed, as I've explained

Re: General use of zstd instead of zlib compression

2025-03-14 Thread Peter Krempa
On Fri, Mar 14, 2025 at 13:11:00 +0100, Peter Krempa wrote: > On Fri, Mar 14, 2025 at 11:12:09 -, Michael Niehren wrote: [...] > As noted above the fact that any compression algorithm is enabled > doesn't mean that compressed data will be written. > > I don't see

Re: General use of zstd instead of zlib compression

2025-03-14 Thread Peter Krempa
On Fri, Mar 14, 2025 at 11:12:09 -, Michael Niehren wrote: > Hi, > > currently i use on all VM's qcow2-Images with zlib compression. If i do an > Backup, the Backup-Image will > be compressed with zstd Level 3 to shrink the image for transfering it over > not so fast internet connections. L

Re: best backup strategy for full backup's

2025-03-11 Thread Peter Krempa
On Mon, Mar 10, 2025 at 11:09:38 -, Michael Niehren wrote: > Hi together, > > actually i only do full-backup's of my virtual machines. > I use the for the backup the "old" strategy: > - virsh snapshot-create-as $vmname overlay --disk-only --atomic --no-metadata > --quiesce > - copy the qcow2

Re: best backup strategy for full backup's

2025-03-10 Thread Peter Krempa
On Mon, Mar 10, 2025 at 11:48:58 -, Michael Niehren wrote: > One additional question ... > > if i have same snapshots in a vm, the "backup-begin" do only an backup of the > currently running snapshot, right ? The backup job always backs-up only the current guest-visible state of the disks. T

Re: best backup strategy for full backup's

2025-03-10 Thread Peter Krempa
On Mon, Mar 10, 2025 at 11:27:40 -, Michael Niehren wrote: > Ok, just to be sure, that i understand it right: > > To be consistent on backup i have to do an: > - virsh domfsfreeze $vmname > - virsh backup-begin $vmname > - virsh domfsthaw $vmname > > Do i have to wait for the "virsh domfstha

Re: The right way to revert to external disk snapshots

2025-01-29 Thread Peter Krempa
On Wed, Jan 29, 2025 at 11:48:56 -, Alex Serban wrote: > Hello, > > Thanks for the response and sorry for the big blob of text, I've actually > formatted the email with great detail, but I don't really know what happened > (I see it formatted well on the generated "attachment.html" on the fo

Re: The right way to revert to external disk snapshots

2025-01-28 Thread Peter Krempa
On Sat, Jan 25, 2025 at 09:27:04 +0100, Alex Serban wrote: > Hello everyone, I'm seeking guidance on *best practices* for virtual Hi, your message got a bit malformated (as a big blob of text) so I hope I don't forget any bits to reply. > machine recovery using external disk snapshots, particular

Re: Authoritative info on backup-begin versus snapshots/other state capture

2025-01-17 Thread Peter Krempa
On Fri, Jan 17, 2025 at 00:29:55 -, camccuk--- via Users wrote: > This is really helpful, thanks. > > > The disk quiescing is not part of the backup operation and needs to be > > done manually via 'virsh domfsfreeze' if required. The original > > I assume quiescing *would* be necessary for wo

Re: Authoritative info on backup-begin versus snapshots/other state capture

2025-01-16 Thread Peter Krempa
On Thu, Jan 16, 2025 at 16:48:59 -, camccuk--- via Users wrote: > Hello all > > Apologies for the basic nature of the question, but having recently started > working with libvirt - and virtualisation in general - I find there is a lot > of out-of-date and sometimes contradictory material out

Re: Help building .rpm of libvirt from fork

2024-11-25 Thread Peter Krempa
On Mon, Nov 25, 2024 at 14:48:34 +0100, Filippo Ferrando Damillano via Users wrote: > Hi, i'm a CS Student who is trying to build a full rpm of libvirt out of a > fork because i need to add > a scheduler to the libvirt configuration. > I successfull

Re: KVM Fails 3D Acceleration on Debian (failed to validate against schema)

2024-08-27 Thread Peter Krempa
On Tue, Aug 27, 2024 at 21:36:29 -, bo0od--- via Users wrote: > Full VM xml: > > ``` [...] > > > >function='0x0'/> > > > > > > > > /dev/random >function='0x0'/> > > > > ``` > > But it will always show:

Re: Updating authentication for a Ceph (RBD) disk in a live domain

2024-08-21 Thread Peter Krempa
On Tue, Aug 20, 2024 at 21:40:07 -, will.gor...@joyent.com wrote: > Is it possible to update and change the for an RBD network disk while > the domain the disk is attached to is running and without > detaching/reattaching the disk? For example if I have a disk attached > like the follo

Re: luks devices and libvirt

2024-08-05 Thread Peter Krempa
On Sun, Jul 28, 2024 at 17:31:46 +0200, Marc Haber wrote: > Hi, > > this is an ongoing issue. I don't know whether I ever have addresses > this here, but it's still annoying. > > I am using debian unstable, libvirt 10.5.0, virt-manager 4.1.0, qemu > 9.0.2. I work through virt-manager, rarely I us

Re: How to live migrate with copy-storage-inc and zfs snapshot replication?

2024-05-21 Thread Peter Krempa
On Tue, May 21, 2024 at 09:22:44 +0300, Dan Vatca via Users wrote: > Hello everybody, > > I am trying to understand how I can create a setup with two libvirt + kvm + > zfs systems, in which I can: > 1. Create a domain on sys-a, with storage space on a zfs filesystem. This > filesystem stores the q

Re: What's wrong with internal VM snapshots?

2024-05-06 Thread Peter Krempa
On Mon, May 06, 2024 at 11:10:57 +0300, Marius Vollmer wrote: > Peter Krempa writes: > > > On Mon, May 06, 2024 at 10:03:23 +0300, Marius Vollmer wrote: > > > >> I see, thanks! So, would it be fair to say that internal snapshots > >> are deprecated by upstr

Re: What's wrong with internal VM snapshots?

2024-05-06 Thread Peter Krempa
On Mon, May 06, 2024 at 10:03:23 +0300, Marius Vollmer wrote: > Peter Krempa writes: > > > On Thu, May 02, 2024 at 14:14:25 +0300, Marius Vollmer wrote: > > > >> We have been asked to prefer the "external" over the "internal" > >> snapshot

Re: What's wrong with internal VM snapshots?

2024-05-02 Thread Peter Krempa
On Thu, May 02, 2024 at 14:14:25 +0300, Marius Vollmer wrote: > Hi! > > I am trying to improve the support for VM snapshots in the Cockpit web > console, and I am afraid I have questions... > > We have been asked to prefer the "external" over the "internal" snapshot > format, at least on RHEL. I

Re: Raspberry Pi 5 suggestion

2024-03-07 Thread Peter Krempa
On Thu, Mar 07, 2024 at 13:13:22 +1000, K otgc wrote: > Hello, > the libvirt documentation has nothing on > installing libvirt to Raspberry Pi 5, so the documentation says to email > any suggestions. You don't mention which distrib

Re: Migrating volumes to RBD/Ceph

2024-02-04 Thread Peter Krempa
On Sun, Feb 04, 2024 at 20:31:33 +1100, Julian Calaby wrote: > Hi, > > I have a fancy new Ceph cluster and have configured a storage pool > using it in libvirt. I have a bunch of disk images in a "filesystem > directory" storage pool. I want to migrate those disk images into the > RBD pool. > > W

Re: Permission Denied error when I try to open the image file stored on the ZFS disk accessed through sshfs from another machine...

2023-11-29 Thread Peter Krempa
On Wed, Nov 29, 2023 at 10:07:54 +0100, Mario Marietto wrote: > > Another obvious but very insecure option is to instruct libvirt to > run the VM as the root user. > > Is what I do,currently. Did you see my login prompt ? > > *root* > @devuan-bunsen:/mnt/zroot2/zroot2/OS/Chromebook/FreeBSD-gu

Re: Permission Denied error when I try to open the image file stored on the ZFS disk accessed through sshfs from another machine...

2023-11-29 Thread Peter Krempa
On Tue, Nov 28, 2023 at 21:32:39 -, marietto2...@gmail.com wrote: > Hello to everyone. > > I would like to boot the FreeBSD 13.2 image file using Libvirt + > virt-manager. I have stored the image on the external hard drive,"formatted" > with ZFS while I'm using Devuan 5 installed on my ARM (