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

    2 RAID 1 or 1 RAID 10 for VM Server Host

    IT Discussion
    12
    69
    6.4k
    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.
    • ObsolesceO
      Obsolesce @black3dynamite
      last edited by

      @black3dynamite said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

      @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

      @black3dynamite said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

      @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

      @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

      @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

      @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

      @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

      1. What filesystem I should use on the host? ext4 or LVM? or other?

      But you always want an LVM, and you never want EXT4.

      When you install Fedora 26 for example, it will use EXT4 by default. So if you're not paying attention, you'll end up with that 😞

      Last I knew, that was only on workstations, where it doesn't matter so much. I'm using it on my laptop because... whatever.

      It does it on Server too. I just installed F26 minimal a couple days ago... it's using EXT4. I'm redoing it now ^_^

      /boot uses ext4
      / uses xfs

      Not on workstation installs. No XFS at all.

      My response was toward the server install.

      That's not what it does by default for me when using F26 Server Edition (from net install) and doing minimal or regular server installs.

      black3dynamiteB 1 Reply Last reply Reply Quote 0
      • black3dynamiteB
        black3dynamite @Obsolesce
        last edited by

        @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

        @black3dynamite said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

        @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

        @black3dynamite said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

        @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

        @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

        @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

        @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

        @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

        1. What filesystem I should use on the host? ext4 or LVM? or other?

        But you always want an LVM, and you never want EXT4.

        When you install Fedora 26 for example, it will use EXT4 by default. So if you're not paying attention, you'll end up with that 😞

        Last I knew, that was only on workstations, where it doesn't matter so much. I'm using it on my laptop because... whatever.

        It does it on Server too. I just installed F26 minimal a couple days ago... it's using EXT4. I'm redoing it now ^_^

        /boot uses ext4
        / uses xfs

        Not on workstation installs. No XFS at all.

        My response was toward the server install.

        That's not what it does by default for me when using F26 Server Edition (from net install) and doing minimal or regular server installs.

        That's weird, I've tried multiple times and I still get same the setup.

        /boot/efi = EFI System Partition
        /boot = ext4
        / = xfs
        swap

        1 Reply Last reply Reply Quote 0
        • K
          kuyaz @JaredBusch
          last edited by

          @jaredbusch but isnt it risky when your old sata hdd fail? Wont it fail the whole system?

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @kuyaz
            last edited by

            @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

            @jaredbusch but isnt it risky when your old sata hdd fail? Wont it fail the whole system?

            I did not mean a literal old drive. I meant any random 250 or 500 GB drive you have laying around and never really used. I have a collection of them taken from computers that shipped with SATA drives but I installed a 3rd party SSD instead.

            But to answer the question, why would you not have the configuration all baked up? This is the same for ANY hypervisor. If the OS shits, whether due to physical drive failure or corrupted OS, you need to reinstall.

            By not having the OS on the same array, reinstalling the OS does not affect your data.

            Yes, you can get around that by only using a small partition on the array, but still. the headache is the same. So just put it on another disk.

            K 1 Reply Last reply Reply Quote 0
            • K
              kuyaz @JaredBusch
              last edited by

              @jaredbusch ok noted with thanks. I got the idea now.

              ObsolesceO scottalanmillerS 2 Replies Last reply Reply Quote 0
              • ObsolesceO
                Obsolesce @kuyaz
                last edited by

                @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                @jaredbusch ok noted with thanks. I got the idea now.

                I usually cut a small partition out of the big RAID10 (or in your case the RAID1). Like 50 GB for the hypervisor, and use the rest for DATA (virtual disks).

                scottalanmillerS stacksofplatesS 2 Replies Last reply Reply Quote 3
                • scottalanmillerS
                  scottalanmiller @kuyaz
                  last edited by

                  @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                  @jaredbusch ok noted with thanks. I got the idea now.

                  This is a spot where Jared and I differ. He prefers an "old drive" for the Hypervisor. I generally prefer that it share space on the main array. But both approaches work. The one thing you never do is invest in a high performance array just for the hypervisor, it just doesn't matter. Also, Jared's approach really only makes sense if you have spare old drives. If you have nothing, it doesn't make much sense. Most people have old drives around, so it often can be done easily. But not always.

                  K DashrenderD 2 Replies Last reply Reply Quote 1
                  • scottalanmillerS
                    scottalanmiller @Obsolesce
                    last edited by

                    @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                    @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                    @jaredbusch ok noted with thanks. I got the idea now.

                    I usually cut a small partition out of the big RAID10 (or in your case the RAID1). Like 50 GB for the hypervisor, and use the rest for DATA (virtual disks).

                    This mirrors my approach.

                    1 Reply Last reply Reply Quote 0
                    • K
                      kuyaz @scottalanmiller
                      last edited by

                      @scottalanmiller yup. In my case i have limited slot, so i guess i will put host and vm guest in my raid 1 sata hdd 2tb. Including the non critical vm there. And put the critical vm in raid 1 ssd.

                      Correct?

                      JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @kuyaz
                        last edited by

                        @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                        @scottalanmiller yup. In my case i have limited slot, so i guess i will put host and vm guest in my raid 1 sata hdd 2tb. Including the non critical vm there. And put the critical vm in raid 1 ssd.

                        Correct?

                        This is correct.

                        Just make sure you only use a 20-50GB partition for the host.

                        K 1 Reply Last reply Reply Quote 1
                        • K
                          kuyaz @JaredBusch
                          last edited by

                          @jaredbusch cool. Will setup it tomorrow and get back to you guys when i hit a wall 🙂

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

                            @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                            @scottalanmiller yup. In my case i have limited slot, so i guess i will put host and vm guest in my raid 1 sata hdd 2tb. Including the non critical vm there. And put the critical vm in raid 1 ssd.

                            Correct?

                            That makes the most sense, yes.

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

                              @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                              @jaredbusch cool. Will setup it tomorrow and get back to you guys when i hit a wall 🙂

                              Good luck.

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

                                @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                @jaredbusch ok noted with thanks. I got the idea now.

                                This is a spot where Jared and I differ. He prefers an "old drive" for the Hypervisor. I generally prefer that it share space on the main array. But both approaches work. The one thing you never do is invest in a high performance array just for the hypervisor, it just doesn't matter. Also, Jared's approach really only makes sense if you have spare old drives. If you have nothing, it doesn't make much sense. Most people have old drives around, so it often can be done easily. But not always.

                                This also assumes you have a slot to put that extra drive into.

                                1 Reply Last reply Reply Quote 1
                                • stacksofplatesS
                                  stacksofplates @Obsolesce
                                  last edited by stacksofplates

                                  @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                  @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                  @jaredbusch ok noted with thanks. I got the idea now.

                                  I usually cut a small partition out of the big RAID10 (or in your case the RAID1). Like 50 GB for the hypervisor, and use the rest for DATA (virtual disks).

                                  Yup, I do the same. OS volume is around 50GB and the rest goes to something like /var/vms or the default /var/lib/libvirt/images.

                                  Although I do put logs on their own volume.

                                  1 Reply Last reply Reply Quote 1
                                  • K
                                    kuyaz @scottalanmiller
                                    last edited by

                                    @scottalanmiller about this, so is it correct to say i should use lvm for all array and partition. And use xfs as file system? Avoid ext4 at all cost?

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

                                      @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                      @scottalanmiller about this, so is it correct to say i should use lvm for all array and partition. And use xfs as file system? Avoid ext4 at all cost?

                                      Yes, that makes sense.

                                      1 Reply Last reply Reply Quote 1
                                      • K
                                        kuyaz
                                        last edited by

                                        since I use raid 1 for sata hdd. Can i upgrade to raid 10 in future without losing data? Assuming i use software raid MD.

                                        After reading lots of online reference. It seems better to use IT mode to bypass dependency on spesific hardware raid requirement and better to go MD. So i have better compability to swap the hdd to another machine in case of machine failure. MD also use very minimum CPU & Memory and generally faster for ssd. Hardware raid will need truly the high end one with BBU else it is not recommended especially for ssd in case of power lost. Is it all true? CMIIW

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

                                          @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                          since I use raid 1 for sata hdd. Can i upgrade to raid 10 in future without losing data? Assuming i use software raid MD.

                                          No, there is really no software or controller that will let you move from RAID 1 to RAID 10. You will need to delete and recreate to do that.

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

                                            @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                            After reading lots of online reference. It seems better to use IT mode to bypass dependency on spesific hardware raid requirement and better to go MD. So i have better compability to swap the hdd to another machine in case of machine failure. MD also use very minimum CPU & Memory and generally faster for ssd. Hardware raid will need truly the high end one with BBU else it is not recommended especially for ssd in case of power lost. Is it all true? CMIIW

                                            That's correct, MD uses almost no resources and is faster than realistically any hardware RAID. Hardware RAID is not for speed, it is for features like blind swap, flash backing and making it easier for IT departments.

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