7

I heard that Kernel 2.6.35 will have btrfs and that Ubuntu 10.10 could have btrfs by default.

What will be its features?

Will I be able to migrate my data from my current ext4 partition?

2
  • I'm pretty sure 10.10 won't install to btrfs by default. It will be enabled in the kernel so you can manually choose to install on btrfs, but it won't be the default filesystem for new installs.
    – popey
    Aug 13, 2010 at 12:41
  • Just to update, btrfs is not the default for either 10.10 or 11.04 and is not recommended on 11.04. Support is getting better so maybe it will be recommended in 11.10. May 2, 2011 at 23:38

3 Answers 3

10

btrfs or Butter FS is a filesystem and has some interesting features:

  1. You can have snapshots. It is like a freeze of the filesystem at some point of time.
  2. btrfs is a extent-based filesystem. This means there are no lists of pointers. btrfs tracks contiguous blocks, so called extents, together.
  3. btrfs makes checksums of data and metadata. Therefore it can detect errors in the filesystem in "realtime".
  4. You can switch from ext3/4 to btrfs.
2
  • Online volume growth and shrinking
  • Online block device addition and removal
  • Online defragmentation
  • Online balancing (movement of objects between block devices to balance load)
  • Transparent compression (currently zlib)
  • Subvolumes (separately-mountable filesystem roots)
  • Snapshots (writeable, copy-on-write copies of subvolumes)
  • File cloning (copy-on-write on individual files, or byte ranges thereof)
  • Object-level (RAID1-like) mirroring, (RAID0-like) striping
  • Checksums on data and metadata (currently CRC-32C[13])
  • In-place conversion (with rollback) from ext3/4 to Btrfs[14]
  • File system seeding[15] (Btrfs on read-only storage used as a copy-on-write backing for a writeable Btrfs)
  • User-defined transactions
  • Block discard support (reclaims space on some virtualization setups or improves wear leveling on SSDs by notifying the underlying device that storage is no longer in use)

Planned features include:

  • Object-level (RAID5-like and RAID6-like) parity-based striping
  • Online and offline filesystem check
  • Incremental dumps
  • Data deduplication1

From Wikipedia I'm sorry i can't answer your other questions as i don't know much about it.

1
1

Btrfs has and plans a number of rock star features: http://en.wikipedia.org/wiki/Btrfs#Features

These are mostly the features that ZFS has. ZFS is native to Sun's Solaris and OpenIndiana. ZFS can be used with Linux, but ZFS can't be distributed with Linux. There are licensing issues. ZFS on Ubuntu can be obtained through the Ubuntu ZFS PPA. (Here's some information about PPA safety.) ZFS's licensing issues are one of the reasons users may prefer to use btrfs.

On big feature of btrfs is deduplication. That means that any data repetitions on your system will be stored only once no matter how many times you repeat it. So you can make 100 copies of a large folder (say 1 TB) and make small modifications to each one but the amount of disk occupied will still be around 1 TB. This is useful for things like running a local cloud with 100s of VMs. The filesystems of all the VMs are mostly the same data with some minor differences. So would need only 1 unit of disk space instead of 100s of units.

Deduplication is still a planned feature in Btrfs.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .