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

    Linux: BtrFS

    IT Discussion
    linux btrfs filesystems filesystem sam linux administration raid lvm logical volume managers
    4
    54
    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
      last edited by

      Similarly... Windows has recently introduced ReFS.

      Again, just information, not a recommendation. In fact, I'd almost never recommend ReFS. NTFS is generally better.

      Of course, half a decade from now, that might change as other factors change around it.

      bbigfordB stacksofplatesS 2 Replies Last reply Reply Quote 0
      • stacksofplatesS
        stacksofplates @scottalanmiller
        last edited by

        @scottalanmiller said in Linux: BtrFS:

        Let me give another example: the default filesystem is Suse is BtrFS.

        Under no circumstances does that mean that I just recommend that you use BtrFS on Suse. If that were true, things like factsheets and datasheets would be sets of recommendations rather than lists of specs.

        If I said "and you should use it" or "and I recommend it" then that would be a recommendation.

        The reason that I was so adamant there is because you should not be installing Linux without it. The OP was about how he hadn't installed LVM, I responded primarily to that. The mentioning of it being useful for KVM was not even the focus but an offhand remark.

        No it wasn't, omg. The thread is titled "What is the best method for making backups of KVM virtual machines." Come on......

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

          This part is critical: "I'm testing kvm on centos 6.2 and I need to learn how to make backups that I can spin up if needed."

          He wanted a backup "that could be spun up", so only images applied.

          stacksofplatesS 1 Reply Last reply Reply Quote 0
          • bbigfordB
            bbigford @scottalanmiller
            last edited by

            @scottalanmiller said in Linux: BtrFS:

            Similarly... Windows has recently introduced ReFS.

            Again, just information, not a recommendation. In fact, I'd almost never recommend ReFS. NTFS is generally better.

            Of course, half a decade from now, that might change as other factors change around it.

            Certainly not if you want disk quotas (outside of FSRM) and EFS built in. Haven't tried out the resiliency aspect yet though.

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

              @scottalanmiller said in Linux: BtrFS:

              Similarly... Windows has recently introduced ReFS.

              Again, just information, not a recommendation. In fact, I'd almost never recommend ReFS. NTFS is generally better.

              Of course, half a decade from now, that might change as other factors change around it.

              The amount of time has nothing to do with it. It's exactly the same process then as to now. If you need to make a full image backup of a VM and it's on a logical volume, then the best method is to suspend the VM and take a LV snapshot. It's exactly the same five years later.

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

                @scottalanmiller said in Linux: BtrFS:

                This part is critical: "I'm testing kvm on centos 6.2 and I need to learn how to make backups that I can spin up if needed."

                He wanted a backup "that could be spun up", so only images applied.

                Doesn't matter. That's not what the OP is about at all. It is an important part, but not what it is about. That's not up for debate in any way.

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

                  @stacksofplates said in Linux: BtrFS:

                  @scottalanmiller said in Linux: BtrFS:

                  Similarly... Windows has recently introduced ReFS.

                  Again, just information, not a recommendation. In fact, I'd almost never recommend ReFS. NTFS is generally better.

                  Of course, half a decade from now, that might change as other factors change around it.

                  The amount of time has nothing to do with it. It's exactly the same process then as to now. If you need to make a full image backup of a VM and it's on a logical volume, then the best method is to suspend the VM and take a LV snapshot. It's exactly the same five years later.

                  Sure, I agree. If you need to make a full image backup, which was the context of the question five years ago and not at all the context of the portion of this thread that you are discussing.

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

                    @stacksofplates said in Linux: BtrFS:

                    @scottalanmiller said in Linux: BtrFS:

                    This part is critical: "I'm testing kvm on centos 6.2 and I need to learn how to make backups that I can spin up if needed."

                    He wanted a backup "that could be spun up", so only images applied.

                    Doesn't matter. That's not what the OP is about at all. It is an important part, but not what it is about. That's not up for debate in any way.

                    How do his requirements not matter?

                    They are important enough to define the answer, clearly.

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

                      @scottalanmiller said in Linux: BtrFS:

                      @stacksofplates said in Linux: BtrFS:

                      @scottalanmiller said in Linux: BtrFS:

                      This part is critical: "I'm testing kvm on centos 6.2 and I need to learn how to make backups that I can spin up if needed."

                      He wanted a backup "that could be spun up", so only images applied.

                      Doesn't matter. That's not what the OP is about at all. It is an important part, but not what it is about. That's not up for debate in any way.

                      How do his requirements not matter?

                      They are important enough to define the answer, clearly.

                      Stop changing the subject. You know I meant it doesn't matter in reference to this:

                      The reason that I was so adamant there is because you should not be installing Linux without it. The OP was about how he hadn't installed LVM, I responded primarily to that. The mentioning of it being useful for KVM was not even the focus but an offhand remark.

                      You said the post was about how he hadn't installed LVM. It wasn't, it was about backing up KVM machines. The fact he mentioned not having logical volumes does not matter in the sense that you said it was about him not having LVM installed. IT wasn't about that, it's not up for debate. It was an important part because you should have it installed, but it was not the point of the thread. You never said, you should be using an agent because I don't recommend taking snapshots of logical volumes. You told him to set up logical volumes and that's how KVM machines are backed up, without mentioning any other ways to do it.

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

                        @stacksofplates you left out the part where I "recommended" a non-LVM based backup solution for the OP on that old thread and got the BA for it. I use "recommended" loosely as it was just a search for a free tool that would work for him to get what he needed and would not require LVM as he did not have it. That, too, was not a recommendation, it was simply telling him about a tell.

                        You can't read into every response to a thread as a recommendation or personal endorsement unless it is stated as such. If we did, we'd have to also assume that I had recommended not installing LVM, because he didn't but I still answered, or that I was recommending KVM (which might be great, but I certainly didn't promote it in any way.) There is no end to what we could read in. I simply provided some information, guidance and the accepted BA which did not involve LVM.

                        If we equally read into my BA response, we'd take away that I had recommended against LVM on that thread. In reality, I didn't recommend any backup style at all, only that LVM not be avoided during installation so that options would be available later.

                        0_1488651699103_Screenshot from 2017-03-04 19-21-05.png

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

                          @scottalanmiller said in Linux: BtrFS:

                          @stacksofplates you left out the part where I "recommended" a non-LVM based backup solution for the OP on that old thread and got the BA for it. I use "recommended" loosely as it was just a search for a free tool that would work for him to get what he needed and would not require LVM as he did not have it. That, too, was not a recommendation, it was simply telling him about a tell.

                          You can't read into every response to a thread as a recommendation or personal endorsement unless it is stated as such. If we did, we'd have to also assume that I had recommended not installing LVM, because he didn't but I still answered, or that I was recommending KVM (which might be great, but I certainly didn't promote it in any way.) There is no end to what we could read in. I simply provided some information, guidance and the accepted BA which did not involve LVM.

                          If we equally read into my BA response, we'd take away that I had recommended against LVM on that thread. In reality, I didn't recommend any backup style at all, only that LVM not be avoided during installation so that options would be available later.

                          0_1488651699103_Screenshot from 2017-03-04 19-21-05.png

                          Ya that's using LVM. Nice try.

                          Direct quote from the site you linked (the python script I'm talking about)

                          I use it to backup running virtual machines in this way: first, suspend the virtual machine (for a short while), then create a snapshot of the LVM used as storage by the virtual machine, then resume the virtual machine so it can continue running without almost no downtime (taking a LVM snapshot is very fast!)

                          It does exactly what you just said you didn't recommend.

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

                            @stacksofplates said in Linux: BtrFS:

                            @scottalanmiller said in Linux: BtrFS:

                            @stacksofplates you left out the part where I "recommended" a non-LVM based backup solution for the OP on that old thread and got the BA for it. I use "recommended" loosely as it was just a search for a free tool that would work for him to get what he needed and would not require LVM as he did not have it. That, too, was not a recommendation, it was simply telling him about a tell.

                            You can't read into every response to a thread as a recommendation or personal endorsement unless it is stated as such. If we did, we'd have to also assume that I had recommended not installing LVM, because he didn't but I still answered, or that I was recommending KVM (which might be great, but I certainly didn't promote it in any way.) There is no end to what we could read in. I simply provided some information, guidance and the accepted BA which did not involve LVM.

                            If we equally read into my BA response, we'd take away that I had recommended against LVM on that thread. In reality, I didn't recommend any backup style at all, only that LVM not be avoided during installation so that options would be available later.

                            0_1488651699103_Screenshot from 2017-03-04 19-21-05.png

                            Ya that's using LVM. Nice try.

                            Direct quote from the site you linked (the python script I'm talking about)

                            I use it to backup running virtual machines in this way: first, suspend the virtual machine (for a short while), then create a snapshot of the LVM used as storage by the virtual machine, then resume the virtual machine so it can continue running without almost no downtime (taking a LVM snapshot is very fast!)

                            It does exactly what you just said you didn't recommend.

                            Are you sure? I looked in the code and the code made a point of LVM being added later (in the 2011 notes) and sure looked like LVM was only one of the methods supported. It specifically says in the code that some features are only if using LVM. Would be weird if that was the only option.

                            The part you quoted was someone else talking about how they use the script, they likely had LVM so use it in that way.

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

                              This person definitely got the opposite impression that you did from my comments in that post.

                              0_1488652027151_Screenshot from 2017-03-04 19-26-47.png

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

                                Here is the code itself, rather than a third party discussing it:

                                # These files are writen in a temporary backup dir. Everything is done
                                # in order to minimize donwtime of the guest. For example, it takes
                                # a snapshot of the block devices (if backed with LVM) so the guest is
                                # just paused for a couple of seconds. Once this is done, the guest is
                                # resumed, and the script starts to dump the snapshot.
                                

                                That wording sure makes it sound like LVM is only an optional method, not the sole one.

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

                                  @scottalanmiller said in Linux: BtrFS:

                                  @stacksofplates said in Linux: BtrFS:

                                  @scottalanmiller said in Linux: BtrFS:

                                  @stacksofplates you left out the part where I "recommended" a non-LVM based backup solution for the OP on that old thread and got the BA for it. I use "recommended" loosely as it was just a search for a free tool that would work for him to get what he needed and would not require LVM as he did not have it. That, too, was not a recommendation, it was simply telling him about a tell.

                                  You can't read into every response to a thread as a recommendation or personal endorsement unless it is stated as such. If we did, we'd have to also assume that I had recommended not installing LVM, because he didn't but I still answered, or that I was recommending KVM (which might be great, but I certainly didn't promote it in any way.) There is no end to what we could read in. I simply provided some information, guidance and the accepted BA which did not involve LVM.

                                  If we equally read into my BA response, we'd take away that I had recommended against LVM on that thread. In reality, I didn't recommend any backup style at all, only that LVM not be avoided during installation so that options would be available later.

                                  0_1488651699103_Screenshot from 2017-03-04 19-21-05.png

                                  Ya that's using LVM. Nice try.

                                  Direct quote from the site you linked (the python script I'm talking about)

                                  I use it to backup running virtual machines in this way: first, suspend the virtual machine (for a short while), then create a snapshot of the LVM used as storage by the virtual machine, then resume the virtual machine so it can continue running without almost no downtime (taking a LVM snapshot is very fast!)

                                  It does exactly what you just said you didn't recommend.

                                  Are you sure? I looked in the code and the code made a point of LVM being added later (in the 2011 notes) and sure looked like LVM was only one of the methods supported. It specifically says in the code that some features are only if using LVM. Would be weird if that was the only option.

                                  The part you quoted was someone else talking about how they use the script, they likely had LVM so use it in that way.

                                  The part I posted was the same thing you posted. It was written in 2010. So unless he's a time traveler, that's how it works.

                                  0_1488652123102_lvm.png

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

                                    @stacksofplates said in Linux: BtrFS:

                                    The part I posted was the same thing you posted. It was written in 2010. So unless he's a time traveler, that's how it works.

                                    But is that the only way that it works? I don't know, I only know that I looked in the code and it said what I posted above.

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

                                      @scottalanmiller said in Linux: BtrFS:

                                      This person definitely got the opposite impression that you did from my comments in that post.

                                      0_1488652027151_Screenshot from 2017-03-04 19-26-47.png

                                      So because someone apparently doesn't understand that Logical Volumes are block storage, that somehow means what you said didn't actually mean what you said?

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

                                        @scottalanmiller said in Linux: BtrFS:

                                        @stacksofplates said in Linux: BtrFS:

                                        The part I posted was the same thing you posted. It was written in 2010. So unless he's a time traveler, that's how it works.

                                        But is that the only way that it works? I don't know, I only know that I looked in the code and it said what I posted above.

                                        See I call bs on that. If you looked at the code then why link some article someone posted about using it as a LVM backup method (and giving instructions on how to do it) instead of the actual product.

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

                                          You are probably right. And looking at the script I'm not seeing if there are multiple methods or not, only looking at it quickly. I'm sure I did a quick search using exactly the words from the title of the thread to get a link to a resource for the OP. I'm sure I didn't look into it at all at the time.

                                          So I apologize for answering his question as he asked it and for being confusing. I meant to imply nothing, just to help him out and answer his question.

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

                                            @scottalanmiller said in Linux: BtrFS:

                                            You are probably right. And looking at the script I'm not seeing if there are multiple methods or not, only looking at it quickly. I'm sure I did a quick search using exactly the words from the title of the thread to get a link to a resource for the OP. I'm sure I didn't look into it at all at the time.

                                            So I apologize for answering his question as he asked it and for being confusing. I meant to imply nothing, just to help him out and answer his question.

                                            I'm not trying to do this to make anyone apologize or feel bad. I just don't understand why on one hand things are recommended and in the same scenario where someone says "imagine I will run KVM server ontop of BTRFS, will it makes sense to snapshot the volume " and you say, "No it's never made sense".

                                            It makes sense and it's a very viable way to do it. Sure it's wasteful, but if you "need" a full image backup, it's a perfectly viable way.

                                            Esp since it's just as fast (or possibly faster) to block copy an image backup onto a volume vs a backup through an agent (like ReaR or Veeam Endpoint).

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