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

    Xen Orchestra - Permissions Issue - File level restore

    Scheduled Pinned Locked Moved IT Discussion
    xen orchestrapermissionsdebian 8
    74 Posts 4 Posters 8.9k 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.
    • DustinB3403D
      DustinB3403
      last edited by DustinB3403

      Another is listing things like this....

      398.675872] ntfs: (device loop0): ntfs_readdir(): Directory index record with vcn 0x0 is corrupt.  Corrupt inode 0xe96b9.  Run chkdsk.
      398.675890] ntfs: (device loop0): ntfs_readdir(): Directory index record with vcn 0x0 is corrupt.  Corrupt inode 0xe96b9.  Run chkdsk.
      

      So yeah.. gonna run a check disk on my VM here..

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

        @DustinB3403 said in Xen Orchestra - Permissions Issue - File level restore:

        Seems to be specific to that backup, as I am able to restore files to my file server now without issue.

        So a few things to we should try to compile into the update script, check for fuse, and install it if its not there.

        Also for libvhdi-utils

        DustinB3403D 1 Reply Last reply Reply Quote 1
        • DustinB3403D
          DustinB3403 @Danp
          last edited by

          @Danp That was the other thing, that I installed yesterday.

          libvhdi-utils

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            This would list if the packaged is installed, so how to pipe that output into the next part would be the question.

            dpkg --get-selections | grep libvhdi-utils
            libvhdi-utils                                     install
            
            1 Reply Last reply Reply Quote 0
            • DanpD
              Danp
              last edited by

              Found this code on the interweb. I would think either the 2nd or 3rd solution would work fine for our needs.

              1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403
                last edited by DustinB3403

                Yeah, this might be the easiest solution...

                if [ $(dpkg-query -W -f='${Status}' nano 2>/dev/null | grep -c "ok installed") -eq 0 ];
                then
                  apt-get install nano;
                fi
                

                Might need to throw up a flag or warning if the package can't be found though. Like in my case I had to add the universal repo to my debian installation before I could install libvhdi-util and fuse.

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

                  Should be able to check the exit code from apt-get. Now to wrap the whole thing into a nice little function that we can reuse in the future. 😉

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

                    5.5.2 is out. Grab it while it's hot!

                    BRRABillB 1 Reply Last reply Reply Quote 0
                    • BRRABillB
                      BRRABill @Danp
                      last edited by

                      @Danp said in Xen Orchestra - Permissions Issue - File level restore:

                      5.5.2 is out. Grab it while it's hot!

                      Hmmm, I am glad I didn't have time to futz with the other version!

                      I actually don't even have XO backups set up yet. Still doing agents from inside the VMs since it works awesomely and I just haven't had time to play with XO.

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

                        Yeah... usually best to wait a few days for them to work out any kinks before upgrading production systems. 😉

                        1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403
                          last edited by

                          Upgraded and back to stable release.

                          Have you had any progress with the wrong fs type issue? Do you have a open issue ticket?

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

                            @DustinB3403 No. There's an active thread over on the XO forum. I was just getting ready to post over there. Think I may have found the cause.

                            DustinB3403D 1 Reply Last reply Reply Quote 1
                            • DustinB3403D
                              DustinB3403 @Danp
                              last edited by

                              @Danp nice, post a link and I can test as well. I'm busy with another issue, so I'll have to play catch up.

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

                                @DustinB3403 Looks like Ubuntu has an older version of vhdimount in the repository. Can you post the output from vhdimount -V?

                                1 Reply Last reply Reply Quote 0
                                • DustinB3403D
                                  DustinB3403
                                  last edited by

                                  vhdimount -V
                                  vhdimount 20150110

                                  Copyright (C) 2012-2015, Joachim Metz.
                                  This is free software; see the source for copying conditions. There is NO
                                  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
                                  Report bugs to [email protected].

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

                                    @DustinB3403 That's not the latest version. You want the one from 20160424, which should resolve the issues with file restore.

                                    Are you still built on Debian?

                                    DustinB3403D 1 Reply Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403 @Danp
                                      last edited by

                                      @Danp Yes, still on Debian.

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

                                        What's the best way to install the correct version? On Ubuntu, I can add one of these mirrors and install from there using apt-get.

                                        Edit: I see that these repositories are for yakkety, and I'm still on xenial.

                                        DustinB3403D 1 Reply Last reply Reply Quote 0
                                        • DustinB3403D
                                          DustinB3403 @Danp
                                          last edited by

                                          @Danp a distro upgrade would likely be the easier approach. I'm performing this now on my system.

                                          (first day back to work in 11-days!)

                                          1 Reply Last reply Reply Quote 1
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 2 / 4
                                          • First post
                                            Last post