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.
    • 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?

        S 1 Reply Last reply Reply Quote 0
        • B
          black3dynamite
          last edited by

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

          S 1 Reply Last reply Reply Quote 0
          • S
            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
            • S
              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
              • T
                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
                • F
                  FATeknollogee
                  last edited by

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

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

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

                    K S 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.

                      B S 2 Replies Last reply Reply Quote 0
                      • B
                        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.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          scottalanmiller @FATeknollogee
                          last edited by

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

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

                          What do you mean "even"? I wouldn't touch Nutanix with a ten foot pole.

                          F 1 Reply Last reply Reply Quote 1
                          • S
                            scottalanmiller @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.

                            Define "wide range of support"? One of the reasons a lot of us don't use it is that you have to work around the lack of support all of the time.

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

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

                              @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.

                              Exactly. CentOS is outdated to a point where it causes all kinds of performance and functionality problems.

                              1 Reply Last reply Reply Quote 0
                              • F
                                FATeknollogee @scottalanmiller
                                last edited by

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

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

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

                                What do you mean "even"? I wouldn't touch Nutanix with a ten foot pole.

                                You sir, are certainly entitled to your opinion...A lot of folks (aka Nutanix customers) in the market would certainly disagree with you!!

                                S 2 Replies Last reply Reply Quote 0
                                • S
                                  scottalanmiller @FATeknollogee
                                  last edited by

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

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

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

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

                                  What do you mean "even"? I wouldn't touch Nutanix with a ten foot pole.

                                  You sir, are certainly entitled to your opinion...A lot of folks (aka Nutanix customers) in the market would certainly disagree with you!!

                                  How would you know since they are barred legally from disclosing problems? Nutanix uses unethical means to silence complaints and comparisons of their devices. So the only people reporting about them are either filtered or haven't compared against others and don't have any idea if they are good.

                                  Remember, that "lots of people like something" is zero indication of its value. If they didn't compare cost, performance, or reliability against other options, their opinions have no meaning, none.

                                  Loads of people like inverted pyramids, RAID 5, no backups and other insane things. Obviously that lots of people like something doesn't mean anything, most people aren't very smart. In fact, if most people do something, it's an indicator that it is probably promoted by marketing, not value. I actually made a video about this just in the last two days!

                                  https://i.imgur.com/c5ihAxe.jpg

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    scottalanmiller @FATeknollogee
                                    last edited by

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

                                    A lot of folks (aka Nutanix customers) in the market would certainly disagree with you!!

                                    Remember that customers specifically are in a position where telling that Nutanix is bad is financially not in their interest. The last thing most people want to do is admit that a giant financial decision that they made was wrong or that they got scammed because they didn't do their research. It's why asking customers about things rarely tells you anything useful. Once people buy a product, especially big ones like this, they now have a shared benefit from promoting it to make their own old decisions look good.

                                    We see this every day on SW of people talking about how much they like something, both product and decisions, that are obviously bad and get torn apart and they have no defense of them. They like them because they were told to like them or it is in their interest to like them, not because they like them in a way useful to anyone else or that the idea or product was any good.

                                    That misunderstanding of how to evaluate things that have already been purchased is where this article came from...

                                    http://www.smbitjournal.com/2014/07/it-worked-for-me/

                                    1 Reply Last reply Reply Quote 1
                                    • S
                                      scottalanmiller
                                      last edited by

                                      https://mangolassi.it/topic/5681/why-there-is-no-nutanix-review

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

                                        @scottalanmiller How is this different from you "promoting" @scale ?
                                        If Nutanix offered you the same deal you got from Scale, would you turn it down?

                                        S 2 Replies Last reply Reply Quote 0
                                        • B
                                          black3dynamite
                                          last edited by

                                          Another nice thing about using Fedora instead of CentOS is the updated VM guest tools. For example, I don't have to rely on Microsoft to release newer Linux Integration Services for CentOS.

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

                                            btw, does @scale use Fedora or CentOS for their appliances?

                                            S scaleS 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post