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

    Best practice partition & LVM for KVM

    IT Discussion
    9
    69
    7.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.
    • scottalanmillerS
      scottalanmiller @Obsolesce
      last edited by

      @tim_g said in Best practice partition & LVM for KVM:

      @scottalanmiller said in Best practice partition & LVM for KVM:

      @tim_g said in Best practice partition & LVM for KVM:

      @scottalanmiller said in Best practice partition & LVM for KVM:

      @tim_g said in Best practice partition & LVM for KVM:

      @scottalanmiller said in Best practice partition & LVM for KVM:

      @tim_g said in Best practice partition & LVM for KVM:

      I seen an FC22 repo, but that's using oVirt 3.6 and is way old.

      FC24 repos for 4.1

      Missed that... would you use FC24 to control your datacenter, and for how long? I'd rather use something I know will stay supported or at least stay current. It seems it only is with CentOS/RHEL. So I'd use CentOS for the oVirt Engine and Fedora for each oVirt Node.

      But that's not what the OP is doing. It looks like he's going to do a self-hosted install of oVirt Engine, if that's the case, I'd go with the most recent most stably supported way, and that happens to be CentOS or RHEL.

      no, but it's clearly been on Fedora from time to time. I wonder why they are doing it like that.

      No idea... you know I'd much rather use Fedora. But having to start with FC24 reminds me of technical debt in a way.

      It is, but having oVirt only on CentOS 7 feels like that, too 🙂

      Not 7.0... CentOS 7 or 7.x

      Patched, but still old. Not something I want as my hypervisor base.

      1 Reply Last reply Reply Quote 0
      • ObsolesceO
        Obsolesce
        last edited by

        Patched and most recent CentOS, plus most recent stable oVirt I think is better than running old Fedora plus old oVirt.

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

          @tim_g said in Best practice partition & LVM for KVM:

          Patched and most recent CentOS, plus most recent stable oVirt I think is better than running old Fedora plus old oVirt.

          Right, better, but I don't count it as good. I'm saying that CentOS doesn't offer something I'm happy with for KVM.

          ObsolesceO 1 Reply Last reply Reply Quote 0
          • ObsolesceO
            Obsolesce @scottalanmiller
            last edited by

            @scottalanmiller said in Best practice partition & LVM for KVM:

            @tim_g said in Best practice partition & LVM for KVM:

            Patched and most recent CentOS, plus most recent stable oVirt I think is better than running old Fedora plus old oVirt.

            Right, better, but I don't count it as good. I'm saying that CentOS doesn't offer something I'm happy with for KVM.

            Then don't run KVM on it. You can set up some CentOS VM for only oVirt Engine. Then you can set up your Fedora KVM hypervisors with oVirt Node to do the hypervising.

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

              @tim_g said in Best practice partition & LVM for KVM:

              @scottalanmiller said in Best practice partition & LVM for KVM:

              @tim_g said in Best practice partition & LVM for KVM:

              Patched and most recent CentOS, plus most recent stable oVirt I think is better than running old Fedora plus old oVirt.

              Right, better, but I don't count it as good. I'm saying that CentOS doesn't offer something I'm happy with for KVM.

              Then don't run KVM on it. You can set up some CentOS VM for only oVirt Engine. Then you can set up your Fedora KVM hypervisors with oVirt Node to do the hypervising.

              OIC, it can be a pure oVirt VM, KVM still on Fedora?

              1 Reply Last reply Reply Quote 0
              • ObsolesceO
                Obsolesce
                last edited by

                Yes.. I just thought of something...

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

                  @tim_g said in Best practice partition & LVM for KVM:

                  Yes.. I just thought of something...

                  What's taht?

                  1 Reply Last reply Reply Quote 0
                  • ObsolesceO
                    Obsolesce
                    last edited by

                    I'd have to verify, but maybe one could set up a Fedora hypervisor, and run a CentOS VM on it for oVirt Engine... and oVirt Node on the Fedora host?

                    1 Reply Last reply Reply Quote 0
                    • ObsolesceO
                      Obsolesce
                      last edited by Obsolesce

                      Technically that's not self-hosted.... so I think that would work.

                      I mean as far as what they consider self-hosted.

                      1 Reply Last reply Reply Quote 0
                      • ObsolesceO
                        Obsolesce
                        last edited by

                        I just don't know how production worthy that is without testing it first... I guess if you make the oVirt Engine VM HA, that could work. (or at least replicated)

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

                          @tim_g said in Best practice partition & LVM for KVM:

                          @kuyaz said in Best practice partition & LVM for KVM:

                          LVG : vg_ssd_critical_vm
                          /vm (ssd)
                          LVG : vg_sata_non_critical_vm
                          /boot 2GB
                          /bootBIOS 1GB
                          /root (ALL remaining space)
                          /swap (32GB)

                          I'd use XFS. Don't use EXT4. You're correct with using LVM.

                          I'd go like this:

                          LVG : vg_ssd_critical_vm
                          /DATAssd

                          LVG : vg_sata_non_critical_vm
                          /DATAhdd (xfs)
                          /boot 2GB (xfs)
                          /bootBIOS 1GB
                          /root 50GB (xfs)
                          /swap 32GB (swap)
                          /home whatever (xfs)

                          As @travisdh1 said, you'll need space for snapshots of the LVMs, but don't do it for the VMs. Use VM snapshots for those instead.

                          You're VMs should be RAW (.img) for better performance.

                          So i put the vmware img in the dataHDD?
                          Please note this is for production server running sql and web apps (it it matters).

                          What is the disadvantage if i dont separate the datahdd and home from root? Mine is all lumped in root.

                          Will redo since im not too far off.

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

                            @tim_g another one is because Dell always issue RHEL package which normally is compatible with centos. Never try it with fedora, so not sure it will run well. ie. Omsa dell.

                            Related to KVM, what fedora can offer that CentOs cant?

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

                              For a KVM server or Linux VMs, wouldn’t it be better to use swapfile instead of a swap partition?

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

                                @black3dynamite said in Best practice partition & LVM for KVM:

                                For a KVM server or Linux VMs, wouldn’t it be better to use swapfile instead of a swap partition?

                                That’s the general consensus today.

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

                                  @kuyaz said in Best practice partition & LVM for KVM:

                                  @tim_g another one is because Dell always issue RHEL package which normally is compatible with centos. Never try it with fedora, so not sure it will run well. ie. Omsa dell.

                                  Related to KVM, what fedora can offer that CentOs cant?

                                  Fedora is dramatically more modern. Years newer than a CentOS

                                  1 Reply Last reply Reply Quote 0
                                  • triple9T
                                    triple9 @kuyaz
                                    last edited by

                                    @kuyaz said in Best practice partition & LVM for KVM:

                                    /root (ALL remaining space)

                                    /root != /

                                    /root is home directory for root user
                                    / is root directory

                                    1 Reply Last reply Reply Quote 1
                                    • FATeknollogeeF
                                      FATeknollogee
                                      last edited by

                                      https://plus.google.com/+ChrisTimberlake/posts/R9BNrToxHkF

                                      1 Reply Last reply Reply Quote 0
                                      • FATeknollogeeF
                                        FATeknollogee
                                        last edited by

                                        Even Nutanix (I think) also runs CentOS:
                                        https://www.nutanix.com/partners/technology-alliance-program/centos/

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

                                          @fateknollogee yup CentOs normally has better wide range of support. Thats the reason i stick to it even it is less modern than fedora.

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

                                            @kuyaz said in Best practice partition & LVM for KVM:

                                            @fateknollogee yup CentOs normally has better wide range of support. Thats the reason i stick to it even it is less modern than fedora.

                                            For me, by default, I use Fedora first. Unless the application that I’m using specifically requires the use of CentOS.

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