ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XenOrchestra FileLevelRestore

    Scheduled Pinned Locked Moved IT Discussion
    7 Posts 3 Posters 381 Views
    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.
    • notverypunnyN
      notverypunny
      last edited by

      So I think I know what the fix is, and just want to see if anyone here has any simpler ideas.

      Problem: XO can't do FLR on one of my backed-up VMs. Complains that partx can't read the partition table. Further investigation shows that the file system is directly on /dev/xvdb and not in a partition.

      Context: Luckily this is a 2nd drive that's used for NC data and it works fine as-is.

      Possible (Only?) Solution:

      1. Add another drive to the VM equal or greater in size than the one that's causing problems
      2. format new volume / drive properly with partition table goodness and appropriate fairy dust
      3. copy everything at file level (permissions, timestamps etc etc) from buggy volume to new volume
      4. change /Data mount to point to new volume
      5. Fin

      If anyone out there has a simple one-liner or something nice that I'm not aware of, please share.

      Thanks

      1 Reply Last reply Reply Quote 1
      • dbeatoD
        dbeato
        last edited by

        This sound solid. I have had to do that or rather, just restore the Volume and then mount it? It should be simpler than copying.

        notverypunnyN 1 Reply Last reply Reply Quote 0
        • notverypunnyN
          notverypunny @dbeato
          last edited by

          @dbeato But if I restore the volume it'll restore the "bad" version that's missing the partition table so I'm no better off, right?.... Unless there's some other restore mechanism?

          dbeatoD 1 Reply Last reply Reply Quote 0
          • dbeatoD
            dbeato @notverypunny
            last edited by

            @notverypunny said in XenOrchestra FileLevelRestore:

            @dbeato But if I restore the volume it'll restore the "bad" version that's missing the partition table so I'm no better off, right?.... Unless there's some other restore mechanism?

            I should have asked, what type of backup you have setup for the VM on XenOrchestra?

            notverypunnyN 1 Reply Last reply Reply Quote 0
            • notverypunnyN
              notverypunny @dbeato
              last edited by

              @dbeato It's a full VM delta backup. I was able to restore the whole VM to another host and boot it without any problem, but it restores the borked volume as-is (which is what we'd expect, but doesn't help my situation).

              It's not a major stress by any means, was just hoping that on top of having been a dummy for messing up the initial setup, I was overlooking or unaware of a simpler / easier way to fix things.

              Cheers!

              DanpD 1 Reply Last reply Reply Quote 0
              • DanpD
                Danp @notverypunny
                last edited by

                @notverypunny You may want to post your issue on the xcp-ng forums as I haven't seen anyone bring up this issue previously.

                notverypunnyN 1 Reply Last reply Reply Quote 0
                • notverypunnyN
                  notverypunny @Danp
                  last edited by

                  @Danp Hey Dan, I don't think it's on the xcp-ng forum but I had come across something on the XO forum about it. Don't have the post nearby but it's a known issue.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post