Main Page

From btrfs Wiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Stream4juice (talk) to last revision by Kdave)
(Features)
Line 26: Line 26:
 
* [[btrfsck|Offline filesystem check]]
 
* [[btrfsck|Offline filesystem check]]
 
* [[Conversion_from_Ext3|Conversion]] of existing ext3/4 file systems
 
* [[Conversion_from_Ext3|Conversion]] of existing ext3/4 file systems
* [[Seed-device|Seed devices]]. Create a (readonly) filesystem that acts as a template to seed other Btrfs filesystems. The original filesystem and devices are included as a readonly starting point for the new filesystem. Using copy on write, all modifications are stored on different devices; the original is unchanged.
+
* [[Seed-device|Seed devices]]. I want to tell that I have got great experience of compare and contrast essays purchasing. I state that the [http://exclusivepapers.com essay writing service] can be the best helper in the research papers completing situation.  Create a (readonly) filesystem that acts as a template to seed other Btrfs filesystems. The original filesystem and devices are included as a readonly starting point for the new filesystem. Using copy on write, all modifications are stored on different devices; the original is unchanged.
 
* Subvolume-aware quota support
 
* Subvolume-aware quota support
 
* Send/receive of subvolume changes
 
* Send/receive of subvolume changes

Revision as of 09:26, 19 February 2013

Btrfs is a new copy on write (CoW) filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration. Jointly developed at Oracle, Red Hat, Fujitsu, Intel, SUSE, STRATO and many others, Btrfs is licensed under the GPL and open for contribution from anyone.

Btrfs is under heavy development, but every effort is being made to keep the filesystem stable and fast. Because of the speed of development, you should run the latest kernel you can (either the latest release kernel from kernel.org, or the latest -rc kernel. Please email the Btrfs mailing list if you have any problems or questions while using Btrfs.

Contents

Features

Linux has a wealth of filesystems from which to choose, but we are facing a number of challenges with scaling to the large storage subsystems that are becoming common in today's data centers. Filesystems need to scale in their ability to address and manage large storage, and also in their ability to detect, repair and tolerate errors in the data stored on disk.

The main Btrfs features available at the moment include:

  • Extent based file storage
  • 2^64 byte == 16 EiB maximum file size
  • Space-efficient packing of small files
  • Space-efficient indexed directories
  • Dynamic inode allocation
  • Writable snapshots, read-only snapshots
  • Subvolumes (separate internal filesystem roots)
  • Checksums on data and metadata (crc32c)
  • Compression (zlib and LZO)
  • Integrated multiple device support
    • File Striping, File Mirroring, and File Striping+Mirroring implementations
  • SSD (Flash storage) awareness (TRIM/Discard for reporting free blocks for reuse) and optimizations (e.g. avoiding unnecessary seek optimizations, sending writes in clusters, even if they are from unrelated files. This results in larger write operations and faster write throughput)
  • Efficient incremental backup
  • Background scrub process for finding and fixing errors on files with redundant copies
  • Online filesystem defragmentation
  • Offline filesystem check
  • Conversion of existing ext3/4 file systems
  • Seed devices. I want to tell that I have got great experience of compare and contrast essays purchasing. I state that the essay writing service can be the best helper in the research papers completing situation. Create a (readonly) filesystem that acts as a template to seed other Btrfs filesystems. The original filesystem and devices are included as a readonly starting point for the new filesystem. Using copy on write, all modifications are stored on different devices; the original is unchanged.
  • Subvolume-aware quota support
  • Send/receive of subvolume changes
    • Efficient incremental filesystem mirroring

Additional features in development, or planned, include:

  • Very fast offline filesystem check
  • File Striping with Single and Dual Parity
  • Object-level mirroring and striping
  • Alternative checksum algorithms
  • Online filesystem check
  • Other compression methods (snappy, lz4)
  • Hot data tracking and moving to faster devices (currently being pushed as a generic feature available through VFS)

News

Coming in 3.8

  • ability to replace devices at runtime in an effective way (description)
  • speed improvements (cumulative effect of many small improvements)
  • a few more bugfixes

Linux in 3.7 (Dec 2012)

  • fsync speedups
  • removed limitation of number of hardlinks in a single directory
  • file hole punching (LWN article)
  • per-file NOCOW
  • fixes to send/receive

Enterprise btrfs support (Feb 2012)

  • Since February 2012 there are two vendors who support btrfs in their distributions, Oracle and SUSE.

Read about past releases in the Changelog

Articles, presentations, podcasts

Documentation

Guides and usage information

Project information

Using the built-in tools

  • btrfs — main administration tool
  • mkfs.btrfs — creating the filesystem
  • btrfsck — repairing file systems
  • restore and find-root — utilities to find and restore data from an unmountable filesystem
  • btrfs-convert — tool to convert in-place from ext2/3/4 filesystems to btrfs

Developer documentation

  • Code documentation — trees, source files, sample code for manipulating trees
  • Data Structures — detailed on-disk data structures
  • Trees — detailed in-tree representation of files and directories

Source code download

Benchmarking

Personal tools