XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. damjank
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 28
    • Groups 0

    damjank

    @damjank

    2
    Reputation
    3
    Profile views
    28
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    damjank Unfollow Follow

    Best posts made by damjank

    • RE: no icon displayed even with correct tools installed

      olivierlambert pdonias is there any option to also add openSUSE MicroOS? It is also missing an icon...
      Details are here:

      xe vm-param-list uuid=c5b75080-0689-6e5b-820f-e66b77149aff | grep distro
                                  os-version (MRO): name: openSUSE MicroOS; uname: 6.2.6-1-default; distro: opensuse-microos; major: 20230319; minor: unknown
      

      I used ./install.sh -d sles -m 15 to install tools...

      Thank you!
      regards
      D

      posted in Xen Orchestra
      D
      damjank
    • RE: no icon displayed even with correct tools installed

      pdonias thank you so much!

      posted in Xen Orchestra
      D
      damjank

    Latest posts made by damjank

    • RE: XO Backup - question on file level restore

      ryan0413 no, nothing.. I have abandoned this 😕

      posted in Xen Orchestra
      D
      damjank
    • RE: XO Backup - question on file level restore

      olivierlambert then I will make this happen today and report back. I will check for a trial but I do believe it is over (for my address),

      posted in Xen Orchestra
      D
      damjank
    • RE: XO Backup - question on file level restore

      olivierlambert I think I cannot switch XO just like that. I will try to get some demo XCP-ng to get some testing done and try to reproduce the error.
      But for the sake of discussion - is LVM supported (in either version) for a file-level restore?

      posted in Xen Orchestra
      D
      damjank
    • RE: XO Backup - question on file level restore

      olivierlambert XO from sources

      posted in Xen Orchestra
      D
      damjank
    • XO Backup - question on file level restore

      Hello,

      I enabled Delta backups for some VMs, mainly, where I predict I would need file-level restore. The backup is working, I can use functionality to the point, I start to select files to restore, where I can select none, there is a triangle next to the "/" - I figured out, I think that this is due to that some of the servers are set up to use LVM. Is the LVM file level restore not supported or must I set something else?
      If this functionality is used and it is very interesting to us, should we switch to a simple layout and ditch LVM?

      Here is some tech info:

      Screenshot 2023-05-09 at 11.27.14.png

      backupNg.listFiles
      {
        "remote": "70cc277b-7a40-4be1-b3bb-af6694d7fd77",
        "disk": "/xo-vm-backups/d6abcfc8-3337-9e66-c175-f58533d688f1/vdis/d91f37df-35a4-4739-b874-8ddfebabe7ff/42718aed-3400-433e-af30-cf516a6c11f2/20230506T230845Z.vhd",
        "path": "/"
      }
      {
        "code": -32000,
        "data": {
          "code": 32,
          "killed": false,
          "signal": null,
          "cmd": "mount --options=loop,ro,norecovery --source=/tmp/1uvkqhp2qbq/vhd0 --target=/tmp/6ahkt5lz58w",
          "stack": "Error: Command failed: mount --options=loop,ro,norecovery --source=/tmp/1uvkqhp2qbq/vhd0 --target=/tmp/6ahkt5lz58w
      mount: /tmp/6ahkt5lz58w: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.
      
          at ChildProcess.exithandler (node:child_process:419:12)
          at ChildProcess.emit (node:events:513:28)
          at ChildProcess.patchedEmit [as emit] (/opt/xo/xo-builds/xen-orchestra-202305081615/@xen-orchestra/log/configure.js:52:17)
          at maybeClose (node:internal/child_process:1091:16)
          at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
          at Process.callbackTrampoline (node:internal/async_hooks:130:17)"
        },
        "message": "Command failed: mount --options=loop,ro,norecovery --source=/tmp/1uvkqhp2qbq/vhd0 --target=/tmp/6ahkt5lz58w
      mount: /tmp/6ahkt5lz58w: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.
      "
      }
      

      Thank you!
      rgD

      posted in Xen Orchestra backup file-level lvm
      D
      damjank
    • RE: Hot add hardware

      lawrencesystems I am looking at it right now. Thank you!!

      posted in Xen Orchestra
      D
      damjank
    • RE: File restore not finding any option

      splastunov said in File restore not finding any option:

      If nothing will help and you can't import xva with import VM, I have solution.

      1. Deploy new VM with disk x4 times greater than backup file. OS Ubuntu 16.04 or later.
      2. Copy backup. Take attention. You need always copy backup. Do not move it.
      3. Install xva-img https://github.com/eriklax/xva-img
      add-apt-repository ppa:ubuntu-toolchain-r/test && apt-get update && apt-get install -y gcc-7
      cd to xva-img dir and run next command
      cmake ./
      make install
      
      1. Extract xva file
      tar -xf my-virtual-machine.xva -C my-virtual-machine
      chmod -R 755 my-virtual-machine
      
      1. In folder my-virtual-machine you will find some directory like Ref :1, but maybe with another number. Remember this number.
      2. Create raw disk from extracted. Replace 1 with number from previous step.
      xva-img -p disk-export my-virtual-machine/Ref\:1/ disk.raw
      
      1. Install qemu-utils
      apt install qemu-utils
      
      1. Convert raw to vhd
      qemu-img convert -f raw -O vpc disk.raw [vhd-name-you-like].vhd
      
      1. Copy vhd to some SR. I'm using local SRs, so in my case path is /var/run/sr-mount/[sr-uuid]
      2. Go to the host, cd to SR folder, get VHD uuid, rename VHD
      cd /var/run/sr-mount/[sr-uuid]
      vhd-util read -p -n [vhd-name-you-like_from-step-8].vhd
      mv [vhd-name-you-like_from-step-8].vhd [uuid].vhd
      
      1. Rescan SR
      2. Attach VHD to existing VM or deploy new one
      3. Get you files

      wow. I am getting on with this in parallel. Thank you again! Results for both suggestions and requests are coming!

      posted in Xen Orchestra
      D
      damjank
    • RE: File restore not finding any option

      damjank said in File restore not finding any option:

      olivierlambert roger! I am upgrading now an testing

      SO I have upgraded to latest version of open source version of XO. I am currently at:

      • xo-server 5.111.1

      • xo-web 5.114.0

      • build afadc - https://github.com/vatesfr/xen-orchestra/commit/afadc8f95adf741611d1f298dfe77cbf1f895231

      • also latest version of backup proxy

      I try the restore, same result, here is the complete log (from settings -> logs):

      backupNg.importVmBackup
      {
        "id": "70cc277b-7a40-4be1-b3bb-af6694d7fd77//xo-vm-backups/b7f3f3b4-bbd6-c2eb-06f2-31917ac7a1a0/20230129T030711Z.json",
        "settings": {
          "mapVdisSrs": {},
          "newMacAddresses": false
        },
        "sr": "11e5da06-7f76-2a74-3040-e66887d22844"
      }
      {
        "message": "Cannot read properties of undefined (reading 'id')",
        "name": "TypeError",
        "stack": "TypeError: Cannot read properties of undefined (reading 'id')
          at BackupNg.importVmBackupNg (file:///opt/xo/xo-builds/xen-orchestra-202304111128/packages/xo-server/src/xo-mixins/backups-ng/index.mjs:531:21)
          at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202304111128/packages/xo-server/src/xo-mixins/api.mjs:401:20)"
      }
      
      0 julien-f committed to vatesfr/xen-orchestra
      fix(read-chunk): better not enough data error message
      posted in Xen Orchestra
      D
      damjank
    • RE: File restore not finding any option

      olivierlambert roger! I am upgrading now an testing

      posted in Xen Orchestra
      D
      damjank
    • RE: File restore not finding any option

      olivierlambert I am on 53e0f (https://github.com/vatesfr/xen-orchestra/commit/53e0f17c55c2f023d1f852411ecaa703ba9a3927)

      0 fbeauchamp committed to vatesfr/xen-orchestra
      feat(xo-server): import multiple from ESXi (#6708)
      posted in Xen Orchestra
      D
      damjank