Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
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 '10 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. –  Jeremy Bicha May 2 '11 at 23:38

3 Answers 3

up vote 10 down vote accepted

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.
share|improve this answer
  • 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 deduplication[1]

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

share|improve this answer
3  
Maybe you'd provide a link to secure.wikimedia.org/wikipedia/en/wiki/Btrfs –  qbi Aug 5 '10 at 11:18

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.