XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Problem with file level restore from delta backup from LVM parition

    Scheduled Pinned Locked Moved Xen Orchestra
    53 Posts 9 Posters 13.0k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wuchererbe
      last edited by olivierlambert

      Hi,

      i have the same Problem - im using Ubuntu 20.04 with logic volumes (LVM). If I restore a file it only shows the red triangle. Is there any solution?

      backupNg.listFiles
      {
        "remote": "9f5e3132-e828-4aef-b083-1053891ce2e7",
        "disk": "/xo-vm-backups/e28ecb04-027c-00cf-8c30-6977d1f15490/vdis/7d5759ec-475d-428a-a945-57fde5c89562/c83dbbd2-9333-4a6d-aee2-e807c97f4b4b/20220114T210004Z.vhd",
        "path": "/",
        "partition": "f80fbe2e-0ce9-448a-a56a-42f73bbb6373"
      }
      {
        "killed": false,
        "code": 32,
        "signal": null,
        "cmd": "mount --options=loop,ro,sizelimit=106297294848,offset=1075838976 --source=/tmp/y7s1u7vrnrf/vhdi10 --target=/tmp/xysii549sk9",
        "message": "Command failed: mount --options=loop,ro,sizelimit=106297294848,offset=1075838976 --source=/tmp/y7s1u7vrnrf/vhdi10 --target=/tmp/xysii549sk9
      mount: /tmp/xysii549sk9: unknown filesystem type 'LVM2_member'.
      ",
        "name": "Error",
        "stack": "Error: Command failed: mount --options=loop,ro,sizelimit=106297294848,offset=1075838976 --source=/tmp/y7s1u7vrnrf/vhdi10 --target=/tmp/xysii549sk9
      mount: /tmp/xysii549sk9: unknown filesystem type 'LVM2_member'.
      
          at ChildProcess.exithandler (child_process.js:383:12)
          at ChildProcess.emit (events.js:400:28)
          at ChildProcess.emit (domain.js:475:12)
          at ChildProcess.patchedEmit [as emit] (/opt/xo/xo-builds/xen-orchestra-202201061020/@xen-orchestra/log/configure.js:118:17)
          at maybeClose (internal/child_process.js:1058:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
          at Process.callbackTrampoline (internal/async_hooks.js:130:17)"
      }
      
      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Are you testing on latest XO virtual Appliance with XO also up to date?

        W 1 Reply Last reply Reply Quote 0
        • W Offline
          wuchererbe @olivierlambert
          last edited by

          olivierlambert

          xo-server 5.86.3 and xo-web 5.91.2
          I also have tested it with the latest XOA.

          W 1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Are you using multiple disks under the same VG or LV?

            1 Reply Last reply Reply Quote 0
            • W Offline
              wuchererbe @wuchererbe
              last edited by olivierlambert

              6c66bb18-4233-4aa5-b669-29f7766f74f7-image.png

              Currently im using only one Disk

              ab335d47-ab79-4135-bd80-0dfcdaadd51d-image.png

              
              Disk /dev/xvda: 100 GiB, 107374182400 bytes, 209715200 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              Disklabel type: gpt
              Disk identifier: B6D16CF5-BE38-48B8-8B94-CDB24AF856B2
              
              Device       Start       End   Sectors Size Type
              /dev/xvda1    2048      4095      2048   1M BIOS boot
              /dev/xvda2    4096   2101247   2097152   1G Linux filesystem
              /dev/xvda3 2101248 209713151 207611904  99G Linux filesystem
              
              
              
              
              Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 95 GiB, 102005473280 bytes, 199229440 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              W 1 Reply Last reply Reply Quote 0
              • W Offline
                wuchererbe @wuchererbe
                last edited by wuchererbe

                sudo vgdisplay 
                  --- Volume group ---
                  VG Name               ubuntu-vg
                  System ID             
                  Format                lvm2
                  Metadata Areas        1
                  Metadata Sequence No  2
                  VG Access             read/write
                  VG Status             resizable
                  MAX LV                0
                  Cur LV                1
                  Open LV               1
                  Max PV                0
                  Cur PV                1
                  Act PV                1
                  VG Size               <99,00 GiB
                  PE Size               4,00 MiB
                  Total PE              25343
                  Alloc PE / Size       24320 / 95,00 GiB
                  Free  PE / Size       1023 / <4,00 GiB
                  VG UUID               wOYD6e-1NVY-7pFx-WeGO-wuyV-S0cv-yFuqQo
                
                W 1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  Please use the correct Markdown syntax, I won't edit all your posts everytime 😉

                  W 2 Replies Last reply Reply Quote 0
                  • W Offline
                    wuchererbe @wuchererbe
                    last edited by wuchererbe

                    sudo lvdisplay 
                      --- Logical volume ---
                      LV Path                /dev/ubuntu-vg/ubuntu-lv
                      LV Name                ubuntu-lv
                      VG Name                ubuntu-vg
                      LV UUID                GPwPas-j3FS-O1M8-jzbT-DSNT-Abxy-c7RJZ6
                      LV Write Access        read/write
                      LV Creation host, time ubuntu-server, 2021-12-11 19:16:50 +0000
                      LV Status              available
                       open                 1
                      LV Size                95,00 GiB
                      Current LE             24320
                      Segments               1
                      Allocation             inherit
                      Read ahead sectors     auto
                      - currently set to     256
                      Block device           253:0
                    
                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wuchererbe @olivierlambert
                      last edited by wuchererbe

                      olivierlambert

                      ou sorry 🙂

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        wuchererbe @olivierlambert
                        last edited by

                        olivierlambert

                        I thought that the system change it automatically 🙂 I didn't realize that you change it 😇

                        1 Reply Last reply Reply Quote 0
                        • olivierlambertO Offline
                          olivierlambert Vates 🪐 Co-Founder CEO
                          last edited by

                          How long ago did you test with a fresh XOA?

                          W 1 Reply Last reply Reply Quote 0
                          • W Offline
                            wuchererbe @olivierlambert
                            last edited by

                            olivierlambert

                            about 3 hours - I updated everything an tested a file restore

                            1 Reply Last reply Reply Quote 0
                            • olivierlambertO Offline
                              olivierlambert Vates 🪐 Co-Founder CEO
                              last edited by

                              Okay weird then. If you have support, please open a support ticket. If you don't, create an issue on Github 🙂

                              W 1 Reply Last reply Reply Quote 0
                              • W Offline
                                wuchererbe @olivierlambert
                                last edited by wuchererbe

                                olivierlambert

                                Thank you. I will do this - If I am successful - I will post it here 🙂

                                I 1 Reply Last reply Reply Quote 0
                                • I Offline
                                  ilidza @wuchererbe
                                  last edited by

                                  wuchererbe Found any success ? I am facing similar issues mentioned here (XO from sources).

                                  W 1 Reply Last reply Reply Quote 0
                                  • olivierlambertO Offline
                                    olivierlambert Vates 🪐 Co-Founder CEO
                                    last edited by

                                    ilidza can you check if you have the same issue with XOA?

                                    1 Reply Last reply Reply Quote 0
                                    • W Offline
                                      wuchererbe @ilidza
                                      last edited by

                                      ilidza no unfortunately not 😕 I opend a github issue. Here the link - Maybe you can ad something.

                                      https://github.com/vatesfr/xen-orchestra/issues/6097

                                      olivierlambert i have tried it on XOA - the same Issue.

                                      wuchererbe created this issue in vatesfr/xen-orchestra

                                      closed unknown filesystem type LVM2_member #6097

                                      1 Reply Last reply Reply Quote 0
                                      • JamfoFLJ JamfoFL referenced this topic on
                                      • First post
                                        Last post