XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. florent
    3. Posts
    florentF Offline
    • Profile
    • Following 0
    • Followers 2
    • Topics 1
    • Posts 795
    • Groups 3

    Posts

    Recent Best Controversial
    • RE: Backup fails with "Body Timeout Error", "all targets have failed, step: writer.run()"

      @JB this really looks like a network issue

      are the host/xoa remotes ?

      posted in Backup
      florentF
      florent
    • RE: Backup fails with "Body Timeout Error", "all targets have failed, step: writer.run()"

      @JB this looks like an issue while reading the export part. Did you configure a default backup network in the pool ?
      is there any firewall/sdn controller that can filter out some reading ?

      note that we have removed several point that where hiding some errors this month.

      posted in Backup
      florentF
      florent
    • RE: " can't compute delta" & "can't connect through NBD, fall back to stream export" after 2026-07-28

      @Andrew @probain
      XO was hiding some error message and fell back silently ( or fail later) , this onth updates gives us more information

      are you using NBD ( it is mandatory for qcow2 disks) ?
      is NBD enable on at least one network per pool ?
      can XO access this network ?
      is there a default backup network on the pool ? with NBD ? accessible by XO ?

      any more logs on journalctl ( I am expecting some nbdinfos )

      posted in Backup
      florentF
      florent
    • RE: Error mirroring full backups to backblaze b2

      both fixes are now on master AND released as a patch

      thank you @pedro_udifar

      posted in Backup
      florentF
      florent
    • RE: Error mirroring full backups to backblaze b2

      @pedro_udifar that is strange that we have exactly the same error, even though we should have added 28 bytes

      I pushed a little debug that will log additional lines in journalctl

      'will output stream ', 'stream is encrypted' and 'stream is updated '

      Can you update your branch, rebuild, rerun the transfer and post the log ( with the attached values ) ?

      regards

      posted in Backup
      florentF
      florent
    • RE: Error mirroring full backups to backblaze b2

      @pedro_udifar object lock works quite well with xo
      it is automatically detected if the s3 user has enough privilege to see if object lock is enabled

      the main point is that it won't create "cache.json.gz" files since theses files must be updated, so the backup listing is a little slower

      note that XO retention should be at least 1 more than object lock . At worst you will have error , saying that XO coudn't delete an old backup

      The fix is on a separated branch : fix_s3_nonencrypted_to_encrypted_xva ( PR : https://github.com/vatesfr/xen-orchestra/pull/10061 )

      posted in Backup
      florentF
      florent
    • RE: Error mirroring full backups to backblaze b2

      @pedro_udifar we have found a clue , if the destination is encrypted and the source is not

      can you test this branch ? https://github.com/vatesfr/xen-orchestra/pull/10061
      if you are using a xoa, we can deploy the fix if you open a support tunnel

      posted in Backup
      florentF
      florent
    • RE: Error mirroring full backups to backblaze b2

      now that I am in front of the source code , it is already getting the real size, so it should compute the right size

      are the source or destination encrypted ?

      posted in Backup
      florentF
      florent
    • RE: Error mirroring full backups to backblaze b2

      @poddingue said:

      Thanks for the detailed write-up, Pedro.
      I'm not a backup expert, far from it. but you might be right that https://github.com/vatesfr/xen-orchestra/pull/9396 only fixed the size estimation for direct full backups, not the mirror path. 🤔
      Your error is the same as the maximum size allowed one, just twelve bytes over 209715200000. Before this turns into a GitHub issue, it would help to know whether it reproduces on a fresh mirror job and whether bumping minPartSize actually cleared it, so we can be sure it's the mirror code and not the B2 remote settings.
      The object storage docs list Backblaze B2 as supported (https://docs.xen-orchestra.com/xo5/object-storage-support#supported-storage-providers) but don't say much about part-size tuning.
      If it's awkward to test in isolation, a mention to @Team-XO-Backend is probably the quickest route, since they own the backup job code.
      The XVA checksum warnings in your second screenshot look like a separate non-blocking clean VM directory step rather than the cause.
      I hope that points somewhere useful! 🤞

      nice catch
      and the mirror path is easier to fix . Thaks @pedro_udifar and @poddingue we will fix it asap

      will it be possible to test a potential fix @pedro_udifar , since it's often specific to a provider ( and need huge VM to work )?

      posted in Backup
      florentF
      florent
    • RE: Need FeedBack: New version of the File level restore

      the new code is now in master

      posted in Backup
      florentF
      florent
    • RE: Need FeedBack: New version of the File level restore

      @Andrew working on it with @julienxovates

      at least including them by default , without following them, in the archive seems doable . The change on the XO5 UI may be trickier, and we are not far to rewrite it for XO6

      posted in Backup
      florentF
      florent
    • RE: Need FeedBack: New version of the File level restore

      @Andrew good news : the lvm id/name collision is the root cause of a lot of issues of the the file restore.

      I think restoring the symbolic links will be hard to secure ( a symbolic link can point anywhere in the os and the disk are mounted in the xoa as root) and quite tricky to ensure we are not bombing ourself

      I think we can add them to the zip/tar as (brokenà symbolic link, but we need to look into the impact on the client side file browser

      posted in Backup
      florentF
      florent
    • RE: Need FeedBack: New version of the File level restore

      @Andrew thank

      I pushed some fixes , can you retry the VM . With this config in the toml ? if it fails if will gives us more logs in journalctl

      [logs]
      # Display all logs matching this filter, regardless of their level
      filter = 'xo:backups:RemoteAdapter'
      
      posted in Backup
      florentF
      florent
    • RE: Need FeedBack: New version of the File level restore

      @ravenet not directly, it's not mountable into linux

      But if ( and this is a big if) we are able to make FLR more resilent, I have some next step that would expose the disks so you can mount it directly in your preferred OS or XCP , probably through webdav

      posted in Backup
      florentF
      florent
    • Need FeedBack: New version of the File level restore

      we did a lot of ground work on the file restore front , and have plan to continue working on it.

      What is testable and should work :

      • restore from partition of types :
        • ext2 / ext3 / ext4
        • XFS
        • Btrfs
        • FAT / VFAT / exFAT (in-kernel since 5.7)
        • NTFS3 (new in-kernel driver, since 5.15 — parallel to ntfs-3g)
        • f2fs
        • ISO 9660 / UDF (optical media)
        • squashfs / erofs (read-only images)
      • restore from LVM as long as there is only one VDI involved
      • handle disk without partition table, with GTP, with MBR

      Note that, by design, the file restore is slow : each time the xoa want to read 4KB of data or even 1B we have to load a full backup block (2MB) decrypt, and inflate it ,extract the 4KB , ... . Expect 1/10 to 1/30 of your remote performance

      But at least it should not crash anymore, with zip or tar restore. The worse we tested is a windows folder ( 26GB , 10 of thousands of files)

      For now the fixes are in https://github.com/vatesfr/xen-orchestra/pull/9776 ( branch fix_flr ) and are expected to reach master during next week

      posted in Backup
      florentF
      florent
    • RE: Continuous Replication Speed

      @tsukraw multiple NBD connection will open multiple reading connection, but the writing one is always one stream per disk in incremental replication

      with full replication, it's one stream for read and one for write

      posted in Backup
      florentF
      florent
    • RE: XOA - Memory Usage

      @acebmxer back to work
      thank you for yor patience and help on this. I feel that it's not the same issue , with abrupt increase

      W will try our best to also fix this one

      posted in Xen Orchestra
      florentF
      florent
    • RE: V2V migration disk transfer speed

      @laszlobortel since we are generating the stream sequentially, we though that there wasn't any real world gain. Also, if my understanding is correct using one thread means we will have only one process( + xo + nbdkit-vddk) processes , and we were trying to limit the risk of zombie process locking the disks , which was far too common with the previous code

      we'll do a quick test to ensure it does not beak anything and propose either a better default of a configuration option

      note that this will be a concurrency per disk, so VM with a lot of disk will put more pressure on the source

      posted in Advanced features
      florentF
      florent
    • RE: Too many snapshots

      @julienXOvates PR is here https://github.com/vatesfr/xen-orchestra/pull/9868

      posted in Backup
      florentF
      florent
    • RE: Create a new SR: qcow2 failure

      also do you have a reverse proxy/ http proxy in front of xo ? it can block the bigger upload by default

      posted in Management
      florentF
      florent