Deprecated: Creation of dynamic property InsertHeadersAndFooters::$plugin is deprecated in /home2/itenterp/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php on line 41

Deprecated: Creation of dynamic property InsertHeadersAndFooters::$body_open_supported is deprecated in /home2/itenterp/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php on line 48

Deprecated: Creation of dynamic property WP_Rocket\Engine\Preload\SitemapPreloadSubscriber::$options is deprecated in /home2/itenterp/public_html/wp-content/plugins/wp-rocket/inc/Engine/Preload/SitemapPreloadSubscriber.php on line 26

Deprecated: Creation of dynamic property WP_Rocket\Engine\Preload\SitemapPreloadSubscriber::$sitemap_preload is deprecated in /home2/itenterp/public_html/wp-content/plugins/wp-rocket/inc/Engine/Preload/SitemapPreloadSubscriber.php on line 27

Deprecated: Automatic conversion of false to array is deprecated in /home2/itenterp/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/seo/yoast-seo.php on line 10

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home2/itenterp/public_html/wp-content/plugins/wp-smushit/core/modules/helpers/class-parser.php on line 229

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home2/itenterp/public_html/wp-content/plugins/wp-smushit/core/modules/helpers/class-parser.php on line 234

Deprecated: Creation of dynamic property Smush\Core\Modules::$webp is deprecated in /home2/itenterp/public_html/wp-content/plugins/wp-smushit/core/class-modules.php on line 95

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$toolbar_classic_block is deprecated in /home2/itenterp/public_html/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 347

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$toolbar_block is deprecated in /home2/itenterp/public_html/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 349

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$toolbar_block_side is deprecated in /home2/itenterp/public_html/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 350

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$panels_block is deprecated in /home2/itenterp/public_html/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 351

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$used_block_buttons is deprecated in /home2/itenterp/public_html/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 354

Warning: Cannot modify header information - headers already sent by (output started at /home2/itenterp/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php:41) in /home2/itenterp/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/itenterp/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php:41) in /home2/itenterp/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/itenterp/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php:41) in /home2/itenterp/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/itenterp/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php:41) in /home2/itenterp/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/itenterp/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php:41) in /home2/itenterp/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/itenterp/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php:41) in /home2/itenterp/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/itenterp/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php:41) in /home2/itenterp/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/itenterp/public_html/wp-content/plugins/insert-headers-and-footers/ihaf.php:41) in /home2/itenterp/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":1323,"date":"2020-06-13T11:08:31","date_gmt":"2020-06-13T02:08:31","guid":{"rendered":"https:\/\/itenterpriser.com\/?p=1323"},"modified":"2020-06-20T01:50:35","modified_gmt":"2020-06-19T16:50:35","slug":"what-is-btrfs-the-better-file-system","status":"publish","type":"post","link":"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/","title":{"rendered":"What is Btrfs? The Better (than most) File System"},"content":{"rendered":"

Btrfs may be a “better” file system next to everything except ZFS, but what Btr actually stands for is not “better”, or “butter”, but B-Tree, a data construct employed in the design. Now that we’ve straightened that out, what is btrfs and how does it work?<\/p>\n

What is Btrfs?<\/h2>\n

Btrfs is a next generation file system that’s been developed by a number of companies including Facebook, Fujitsu, SUSE, and Oracle. Fusion-IO, Intel, the Linux Foundation, Red Hat, and STRATO AG have also contributed. The feature most touted is the same copy-on-write technology used by ZFS to ensure data integrity.<\/p>\n

Copy on write doesn’t mean you write the data then copy it, it means that new data is written to empty areas before old data is erased. Only upon the verified success of the new write is the old data rendered eligible for the scrap heap. This mitigates bit rot due to power failures, or anything else that might interrupt the write process.<\/p>\n

Copy on write also allows you to safeguard data by taking a “snapshot” of a volume, i.e., mark all existing data blocks as non-erasable. Subsequently, they may be marked as non-active, but not actually erased and reused until any “snapshot” they’re included in is deleted.<\/p>\n

While Btrfs may not have all of ZFS’s features, it has the majority of them, including storage pools, the aforementioned snapshots, sub-volumes (data sets in ZFS), RAID 5<\/a>, RAID 6<\/a>, mirroring, compression, extensive error-checking, and de-duplication, though the latter is currently done after the fact so as not to impact performance where ZFS compares before writing then throws away matching data. Inline de-duping is<\/em> on the road map however.<\/p>\n

Btrfs is a 64-bit operating system, compared to ZFS’s 128 bits. Even if it can’t handle the zetabytes that ZFS can, the 16 EiB (exbibytes) that Btrfs accommodates (8 EiB under Linux) is plenty for all but the most data-heavy applications. Certainly a Linux desktop or server.<\/p>\n

Note: An Exbibyte (EiB) is a multiple of 1024, where Exabyte is a multiple of 1000.<\/em><\/p>\n

The Btrfs wiki<\/a> is a good place for more detailed info and to track currently implemented features.<\/p>\n

The Upside<\/h2>\n

These are a few of many benefits of btrfs:<\/p>\n

    \n
  • Copy on write insures data integrity<\/li>\n
  • Handles up to 16 exbibytes of data (1 million tebibytes)<\/li>\n
  • Supports pools and multiple mount points (virtual volumes)<\/li>\n
  • Multiple compression and encryption options<\/li>\n<\/ul>\n

    The Downside<\/h2>\n

    And here are a few downsides to btrfs:<\/p>\n

      \n
    • Some features are still being implemented<\/li>\n
    • Slightly slower than Ext4<\/li>\n
    • Not yet as feature rich as the more mature OpenZFS, which is also available for Linux<\/li>\n<\/ul>\n

      When to use Btrfs<\/h2>\n

      For end users, there’s little reason to switch to Btrfs, as Ext4 is a fine file system with large capacity (1 EiB) and very good performance. However, there’s no reason not to switch either, as you don’t lose a whole lot in the way of speed, and you gain some peace of mind if your data is super sensitive.<\/p>\n

      For NAS, or servers, or larger volumes it’s a no-brainer. And no doubt Linux users will eventually be using it, as Ext4 is likely the last iteration of that venerable file system.<\/p>\n

      This article was amended on 6\/19\/2020 by the author to correct the discussion of file capacity.\u00a0<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"

      Btrfs may be a “better” file system next to everything except ZFS, but what Btr actually stands for is not “better”, or “butter”, but B-Tree, a data construct employed in the design. Now that we’ve straightened that out, what is btrfs and how does it work? What is Btrfs? Btrfs is a next generation file […]<\/p>\n","protected":false},"author":11,"featured_media":2002,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"yoast_head":"\nWhat is Btrfs? The Better (than most) File System | ITEnterpriser<\/title>\n<meta name=\"description\" content=\"The B-Tree file system (btrfs) is rapidly becoming a favorite in the Linux community thanks to its copy on write data integrity and other new age features.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Btrfs? The Better (than most) File System | ITEnterpriser\" \/>\n<meta property=\"og:description\" content=\"The B-Tree file system (btrfs) is rapidly becoming a favorite in the Linux community thanks to its copy on write data integrity and other new age features.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/\" \/>\n<meta property=\"og:site_name\" content=\"ITEnterpriser\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-13T02:08:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-19T16:50:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/itenterpriser.com\/wp-content\/uploads\/2020\/04\/What-is-BTRFS-file-system-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"696\" \/>\n\t<meta property=\"og:image:height\" content=\"450\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jon L. Jacobi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jon L. Jacobi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/\",\"url\":\"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/\",\"name\":\"What is Btrfs? The Better (than most) File System | ITEnterpriser\",\"isPartOf\":{\"@id\":\"https:\/\/itenterpriser.com\/#website\"},\"datePublished\":\"2020-06-13T02:08:31+00:00\",\"dateModified\":\"2020-06-19T16:50:35+00:00\",\"author\":{\"@id\":\"https:\/\/itenterpriser.com\/#\/schema\/person\/74a160eeb2cf89baece8030399fc068e\"},\"description\":\"The B-Tree file system (btrfs) is rapidly becoming a favorite in the Linux community thanks to its copy on write data integrity and other new age features.\",\"breadcrumb\":{\"@id\":\"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/itenterpriser.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is Btrfs? The Better (than most) File System\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/itenterpriser.com\/#website\",\"url\":\"https:\/\/itenterpriser.com\/\",\"name\":\"ITEnterpriser\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/itenterpriser.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/itenterpriser.com\/#\/schema\/person\/74a160eeb2cf89baece8030399fc068e\",\"name\":\"Jon L. Jacobi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/itenterpriser.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/itenterpriser.com\/wp-content\/uploads\/2020\/04\/latest-headshot-jon-jacobi.jpg\",\"contentUrl\":\"https:\/\/itenterpriser.com\/wp-content\/uploads\/2020\/04\/latest-headshot-jon-jacobi.jpg\",\"caption\":\"Jon L. Jacobi\"},\"description\":\"Born in southern California to a Marine Corps family, Jon had traveled through much of the U.S. by the time he was eight years-old. A twenty year residence in Stamford, CT with four years commuting to Juilliard in NYC, was followed by a move to San Francisco, where he still resides. His involvement with computers started with a family friend's punch card entry job, an IMSAI 8080, then every personal computer made by Atari, Commodore, Apple, and IBM. Since joining PCWorld's (then PC World) freelance writing team in 1995, his writings have been published too many times to count in that worthy journal, as well as CNET, Computer Currents, Forbes, Wired, and many others.\",\"sameAs\":[\"http:\/\/www.jonljacobi.com\/\",\"https:\/\/www.linkedin.com\/in\/jon-l-jacobi-4638041\/\"],\"url\":\"https:\/\/itenterpriser.com\/author\/jon-jacobi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Btrfs? The Better (than most) File System | ITEnterpriser","description":"The B-Tree file system (btrfs) is rapidly becoming a favorite in the Linux community thanks to its copy on write data integrity and other new age features.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/","og_locale":"en_US","og_type":"article","og_title":"What is Btrfs? The Better (than most) File System | ITEnterpriser","og_description":"The B-Tree file system (btrfs) is rapidly becoming a favorite in the Linux community thanks to its copy on write data integrity and other new age features.","og_url":"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/","og_site_name":"ITEnterpriser","article_published_time":"2020-06-13T02:08:31+00:00","article_modified_time":"2020-06-19T16:50:35+00:00","og_image":[{"width":696,"height":450,"url":"https:\/\/itenterpriser.com\/wp-content\/uploads\/2020\/04\/What-is-BTRFS-file-system-1.jpg","type":"image\/jpeg"}],"author":"Jon L. Jacobi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jon L. Jacobi","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/","url":"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/","name":"What is Btrfs? The Better (than most) File System | ITEnterpriser","isPartOf":{"@id":"https:\/\/itenterpriser.com\/#website"},"datePublished":"2020-06-13T02:08:31+00:00","dateModified":"2020-06-19T16:50:35+00:00","author":{"@id":"https:\/\/itenterpriser.com\/#\/schema\/person\/74a160eeb2cf89baece8030399fc068e"},"description":"The B-Tree file system (btrfs) is rapidly becoming a favorite in the Linux community thanks to its copy on write data integrity and other new age features.","breadcrumb":{"@id":"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/itenterpriser.com\/knowledge-base\/what-is-btrfs-the-better-file-system\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/itenterpriser.com\/"},{"@type":"ListItem","position":2,"name":"What is Btrfs? The Better (than most) File System"}]},{"@type":"WebSite","@id":"https:\/\/itenterpriser.com\/#website","url":"https:\/\/itenterpriser.com\/","name":"ITEnterpriser","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/itenterpriser.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/itenterpriser.com\/#\/schema\/person\/74a160eeb2cf89baece8030399fc068e","name":"Jon L. Jacobi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/itenterpriser.com\/#\/schema\/person\/image\/","url":"https:\/\/itenterpriser.com\/wp-content\/uploads\/2020\/04\/latest-headshot-jon-jacobi.jpg","contentUrl":"https:\/\/itenterpriser.com\/wp-content\/uploads\/2020\/04\/latest-headshot-jon-jacobi.jpg","caption":"Jon L. Jacobi"},"description":"Born in southern California to a Marine Corps family, Jon had traveled through much of the U.S. by the time he was eight years-old. A twenty year residence in Stamford, CT with four years commuting to Juilliard in NYC, was followed by a move to San Francisco, where he still resides. His involvement with computers started with a family friend's punch card entry job, an IMSAI 8080, then every personal computer made by Atari, Commodore, Apple, and IBM. Since joining PCWorld's (then PC World) freelance writing team in 1995, his writings have been published too many times to count in that worthy journal, as well as CNET, Computer Currents, Forbes, Wired, and many others.","sameAs":["http:\/\/www.jonljacobi.com\/","https:\/\/www.linkedin.com\/in\/jon-l-jacobi-4638041\/"],"url":"https:\/\/itenterpriser.com\/author\/jon-jacobi\/"}]}},"jetpack_featured_media_url":"https:\/\/itenterpriser.com\/wp-content\/uploads\/2020\/04\/What-is-BTRFS-file-system-1.jpg","_links":{"self":[{"href":"https:\/\/itenterpriser.com\/wp-json\/wp\/v2\/posts\/1323"}],"collection":[{"href":"https:\/\/itenterpriser.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itenterpriser.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itenterpriser.com\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/itenterpriser.com\/wp-json\/wp\/v2\/comments?post=1323"}],"version-history":[{"count":5,"href":"https:\/\/itenterpriser.com\/wp-json\/wp\/v2\/posts\/1323\/revisions"}],"predecessor-version":[{"id":2061,"href":"https:\/\/itenterpriser.com\/wp-json\/wp\/v2\/posts\/1323\/revisions\/2061"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itenterpriser.com\/wp-json\/wp\/v2\/media\/2002"}],"wp:attachment":[{"href":"https:\/\/itenterpriser.com\/wp-json\/wp\/v2\/media?parent=1323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itenterpriser.com\/wp-json\/wp\/v2\/categories?post=1323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itenterpriser.com\/wp-json\/wp\/v2\/tags?post=1323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}