Announcement

Collapse
No announcement yet.

Btrfs System Rollbacks In Fedora 13

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Btrfs System Rollbacks In Fedora 13

    Phoronix: Btrfs System Rollbacks In Fedora 13

    One of the benefits of Btrfs besides offering competitive performance against other Linux file-systems and SSD optimizations is its support for sub-volumes and writable snapshots. While Btrfs is still in development and is not yet used as a default file-system by any Linux distribution, Red Hat has been looking to capitalize upon the capabilities of Btrfs by introducing support for system rollbacks into Fedora. The Btrfs-based system rollback support has been a feature for Fedora 13 so with the release of the Fedora 13 Beta earlier this week we decided to further investigate this feature.

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    low callorie but tastes the same

    Great to see them embracing it.

    Comment


    • #3
      Space efficiency, competition to time Machine

      Do these snapshots store the entire filesystem or only a diff to what has changed since the previous snapshot? A diff would be better because it would save space. I think that's what Apple's Time machine does.

      By the way, how far is Redhat from making a competitor to Apple's Time Machine with this BRFS rollback?

      Comment


      • #4
        Originally posted by stan View Post
        Do these snapshots store the entire filesystem or only a diff to what has changed since the previous snapshot?
        I believe btrs snapshots are essentially the same as ZFS, so when you write to a file which exists in a snapshot the old data block is left in the snapshot and not freed. Hence if you have a snapshot with 20GB file and later update a 4k block in that file, then only that 4k block has to be stored in the live copy of the filesystem... for the rest of that 20GB file it will read the same blocks that exist in the snapshot.

        Comment


        • #5
          Originally posted by movieman View Post
          I believe btrs snapshots are essentially the same as ZFS, so when you write to a file which exists in a snapshot the old data block is left in the snapshot and not freed. Hence if you have a snapshot with 20GB file and later update a 4k block in that file, then only that 4k block has to be stored in the live copy of the filesystem... for the rest of that 20GB file it will read the same blocks that exist in the snapshot.
          Aha, so if the user changes 4k since the previous snapshot, the next snapshot will require only 4k of additional space on a backup drive. Sounds good! Thanks for the explanation.

          Comment


          • #6
            Or if a cosmic particle changes some bits in the main part, all rollbacks are screwed.

            Comment


            • #7
              Originally posted by curaga View Post
              Or if a cosmic particle changes some bits in the main part, all rollbacks are screwed.
              If you want data integrity with localised bit errors, then you can set up a RAID mirror. I believe btrfs checksums data blocks, so it should be able to determine which one is wrong.

              Comment


              • #8
                Originally posted by stan View Post
                Do these snapshots store the entire filesystem or only a diff to what has changed since the previous snapshot? A diff would be better because it would save space. I think that's what Apple's Time machine does.

                By the way, how far is Redhat from making a competitor to Apple's Time Machine with this BRFS rollback?
                It's called copy-on-write

                Comment


                • #9
                  Also unless otherwise defined Btrfs snapshots are very similar to normal Btrfs subvolumes and can be written on.

                  Comment


                  • #10
                    I'm gonna miss ZFS when Oracle screws Sun up, but assuming btrfs is COW and does checksums for each block (and has nifty stuff like integrated compression, share(nfs|smb|iscsi), et al.) I guess I'll survive..

                    ps: does btrfs have integrated dedup? OpenSolaris ZFS has it IIRC.. At least for the time being..

                    Comment

                    Working...
                    X