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

    Running XenServer from a USB Drive

    IT Discussion
    xenserver xen virtualization storage
    7
    33
    6.7k
    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.
    • travisdh1T
      travisdh1
      last edited by

      I have a workstation (Dell T3500) that runs XS7 now, and it will only boot from the rear USB ports.

      Double check the BIOS boot options maybe.

      AjinA 1 Reply Last reply Reply Quote 1
      • BRRABillB
        BRRABill @Ajin
        last edited by

        @Ajin said in Running Xen Server from a USB Drive.:

        Tried the same and created a USB Drive with Xen 7 .
        But when trying to boot from it failes,

        Any suggetions for making a live Xenserver 7 from a 32 Gig USB Drive .

        You need at least 46GB to install fresh. Try a 64GB stick.

        Otherwise it will not show up on the install screen.

        Or are you upgrading directly from 6.5 on USB? I was a little confused by your post.

        DashrenderD AjinA 2 Replies Last reply Reply Quote 3
        • DashrenderD
          Dashrender @BRRABill
          last edited by

          @BRRABill said in Running Xen Server from a USB Drive.:

          @Ajin said in Running Xen Server from a USB Drive.:

          Tried the same and created a USB Drive with Xen 7 .
          But when trying to boot from it failes,

          Any suggetions for making a live Xenserver 7 from a 32 Gig USB Drive .

          You need at least 46GB to install fresh. Try a 64GB stick.

          Otherwise it will not show up on the install screen.

          Or are you upgrading directly from 6.5 on USB? I was a little confused by your post.

          Yeah I thought I recalled someone saying that fresh installs now required the use of a 64 GB stick/card.

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

            @Dashrender said in Running Xen Server from a USB Drive.:

            @BRRABill said in Running Xen Server from a USB Drive.:

            @Ajin said in Running Xen Server from a USB Drive.:

            Tried the same and created a USB Drive with Xen 7 .
            But when trying to boot from it failes,

            Any suggetions for making a live Xenserver 7 from a 32 Gig USB Drive .

            You need at least 46GB to install fresh. Try a 64GB stick.

            Otherwise it will not show up on the install screen.

            Or are you upgrading directly from 6.5 on USB? I was a little confused by your post.

            Yeah I thought I recalled someone saying that fresh installs now required the use of a 64 GB stick/card.

            That was probably me.

            Don't you remember your trip out to the store to pick up a USB stick? 🙂

            DashrenderD 1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender @BRRABill
              last edited by

              @BRRABill said in Running Xen Server from a USB Drive.:

              @Dashrender said in Running Xen Server from a USB Drive.:

              @BRRABill said in Running Xen Server from a USB Drive.:

              @Ajin said in Running Xen Server from a USB Drive.:

              Tried the same and created a USB Drive with Xen 7 .
              But when trying to boot from it failes,

              Any suggetions for making a live Xenserver 7 from a 32 Gig USB Drive .

              You need at least 46GB to install fresh. Try a 64GB stick.

              Otherwise it will not show up on the install screen.

              Or are you upgrading directly from 6.5 on USB? I was a little confused by your post.

              Yeah I thought I recalled someone saying that fresh installs now required the use of a 64 GB stick/card.

              That was probably me.

              Don't you remember your trip out to the store to pick up a USB stick? 🙂

              Yes, yes i do.. 🙂

              1 Reply Last reply Reply Quote 0
              • AjinA
                Ajin @BRRABill
                last edited by Ajin

                @BRRABill : Will give it a try again with 64 Gig disk.Currently my xen 6.5 is on an HP server Inbuilt HDD. I am planning of upgrading to Xen 7 & and also move it to usb.

                DashrenderD 1 Reply Last reply Reply Quote 0
                • AjinA
                  Ajin @travisdh1
                  last edited by

                  @travisdh1 :Yes tried that too , Dint help

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    What's your current status on this? Issues with the install itself?

                    1 Reply Last reply Reply Quote 0
                    • AjinA
                      Ajin
                      last edited by

                      yes , I am stuck with running Xen from the USB . still working on it .

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Ajin
                        last edited by

                        @Ajin said in Running Xen Server from a USB Drive.:

                        yes , I am stuck with running Xen from the USB . still working on it .

                        What is the error that you are getting?

                        AjinA 1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender @Ajin
                          last edited by

                          @Ajin said in Running Xen Server from a USB Drive.:

                          @BRRABill : Will give it a try again with 64 Gig disk.Currently my xen 6.5 is on an HP server Inbuilt HDD. I am planning of upgrading to Xen 7 & and also move it to usb.

                          The book I'm reading specifically says not to install to USB stick...

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Dashrender
                            last edited by

                            @Dashrender said in Running Xen Server from a USB Drive.:

                            @Ajin said in Running Xen Server from a USB Drive.:

                            @BRRABill : Will give it a try again with 64 Gig disk.Currently my xen 6.5 is on an HP server Inbuilt HDD. I am planning of upgrading to Xen 7 & and also move it to usb.

                            The book I'm reading specifically says not to install to USB stick...

                            Did they give a reason?

                            AjinA 1 Reply Last reply Reply Quote 0
                            • DashrenderD
                              Dashrender
                              last edited by

                              Yeah because the lack of trim support will slow the disk down a lot. And lack or wear leveling.

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @Dashrender
                                last edited by

                                @Dashrender said in Running Xen Server from a USB Drive.:

                                Yeah because the lack of trim support will slow the disk down a lot. And lack or wear leveling.

                                That makes some weird assumptions..... like that speed is relevant and that you will have writes sent to the USB stick. So based on that reasoning, I think that it is a false recommendation. It's the same as all the recommendations ever... don't run Xen (or anything) from USB unless you make it non-writing. Or at least non-writing for things like logs.

                                So given that they explained why and it obviously doesn't apply. We can safely take that as a null recommendation.

                                1 Reply Last reply Reply Quote 0
                                • AjinA
                                  Ajin @scottalanmiller
                                  last edited by

                                  @scottalanmiller I Have installed the OS to a Usb stick , and when trying to boot up with it , The usb stick with the os is not being detected, Tried this with multiple machines and usb sticks

                                  1 Reply Last reply Reply Quote 0
                                  • AjinA
                                    Ajin @scottalanmiller
                                    last edited by

                                    @scottalanmiller : Now something interesting happened, The USB stick got corrupted after multiple testing with the os installation.Getting a new one now 🙂

                                    scottalanmillerS thwrT 2 Replies Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @Ajin
                                      last edited by

                                      @Ajin said in Running Xen Server from a USB Drive.:

                                      @scottalanmiller : Now something interesting happened, The USB stick got corrupted after multiple testing with the os installation.Getting a new one now 🙂

                                      That's common if you don't have a solid plan for getting the writes to go elsewhere. The logging kills the USB very quickly. You need to be set up for read only or the USB is not even an option.

                                      DashrenderD 1 Reply Last reply Reply Quote 1
                                      • scottalanmillerS
                                        scottalanmiller
                                        last edited by

                                        USB boot is not for the faint of heart. It's a great idea and I promote it heavily, but with Xen it is an expert only option. You want to really know what you are doing before going that route.

                                        1 Reply Last reply Reply Quote 2
                                        • thwrT
                                          thwr @Ajin
                                          last edited by thwr

                                          @Ajin said in Running Xen Server from a USB Drive.:

                                          @scottalanmiller : Now something interesting happened, The USB stick got corrupted after multiple testing with the os installation.Getting a new one now 🙂

                                          Common problem with removable flash storage like SD-Cards or USB thumb drives. They often do not feature wear leveling like a modern SSD. The SD card spec does not say a single word about wear leveling for example.

                                          What @scottalanmiller is referring to is that you need some in-depth knowledge about partitioning, filesystems and overall Linux / Unix to create something solid. You would need to redirect logs (rsyslog for example), lock and pid files (ramdisk), /tmp (ramdisk) and a lot more to create a read-only solution that does not kill your flash with little writes. Best would be to implement something like unionfs or squashfs (AFAIK deprecated and replaced by unionfs) where you have a virtual layer between your storage and every write operation. Such a write operation could be mapped to a ramdisk at the filesystem level with unionfs for example.

                                          But even with such a solution, you need to work around some problems. How would you change your configuration for example on a filesystem that is virtually read-only?

                                          AjinA 1 Reply Last reply Reply Quote 2
                                          • AjinA
                                            Ajin @thwr
                                            last edited by Ajin

                                            @thwr : Ok so for executing my plan of running XEN fron USB stick needs some more Reading and R&D as mentioned by @scottalanmiller.
                                            So i am holding it back for now as my main priority is to upgrade Xen Server to 7 , just tried to run it from USB .
                                            Need to invest more time for this USB project .

                                            As my priority is upgarding Xen Server , concentrating on it now , I will start a new thread for Upgrading Xen and roll back options if any upgrade error happens..

                                            Thanks a lot for all the valuble suggestions and support for this one .

                                            Wil be back in this thread soon. 🙂

                                            scottalanmillerS 1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post