PDA

View Full Version : Bye Ext4, all major distros moving to Btrfs



madjr
May 23rd, 2010, 05:31 AM
Fedora was the first tier-one Linux distribution shipping with support for optionally installing to a Btrfs file-system for the past year, but in recent weeks the adoption rate of Btrfs looks like it will be quickly rising. Fedora 13 is extending the Btrfs support to offer system rollback support by where a file-system snapshot is created via Btrfs each time a yum transaction takes place. Red Hat recently released the first public beta of Red Hat Enterprise Linux 6.0 and it includes Ananconda installation support for RHEL6 onto Btrfs, MeeGo will be using Btrfs by default in this distribution that marries Maemo and Moblin, and Ubuntu is making Btrfs plans where Btrfs may become the default file-system in Ubuntu 10.10. Novell / openSUSE is also getting in bed with Btrfs.

Being worked on for openSUSE 11.3, which is due for release in July, is snapshot/rollback support for Btrfs in a similar fashion to Red Hat's implementation with Fedora 13. A Novell customer is pushing for this capability whereby a Btrfs copy-on-write snapshot is created by libzypp / zypper before a commit happens that changes a package's state. There would then be an exposed interface to revert to an earlier snapshot should something go awry.

........


Full details:
http://www.phoronix.com/scan.php?page=news_item&px=ODI2Ng

CharlesA
May 23rd, 2010, 05:49 AM
Damn, just when I moved my server over to ext4...

Ozymandias_117
May 23rd, 2010, 05:57 AM
I'm just wondering if the snapshots will take up much hard drive space, not really clear on how it works. Could be an awesome idea though, make a full install like a Virtual Machine being able to test things and revert easily.

toupeiro
May 23rd, 2010, 06:01 AM
If they're anything like WAFL snapshots, they will be point in time captures of the filesystem in which differential change is captured until the next snapshot, thus its not "imaging" or "cloning" but truly a stateful filesystem "state" of time. This, of course, has its advantages and disadvantages. Deletes... are no longer really deletes until your snapshots are purged. When used right, they can be EXTREMELY useful. When used wrong, they can be very counter-productive.

Ozymandias_117
May 23rd, 2010, 06:17 AM
If they're anything like WAFL snapshots, they will be point in time captures of the filesystem in which differential change is captured until the next snapshot, thus its not "imaging" or "cloning" but truly a stateful filesystem "state" of time. This, of course, has its advantages and disadvantages. Deletes... are no longer really deletes until your snapshots are purged. When used right, they can be EXTREMELY useful. When used wrong, they can be very counter-productive.

Wouldn't this mean that deleting, even rm, would be like a trash can? It would remain until you purge the snapshot, still taking up hard drive space?

madjr
May 23rd, 2010, 06:23 AM
Wouldn't this mean that deleting, even rm, would be like a trash can? It would remain until you purge the snapshot, still taking up hard drive space?

is similar to Zfs and timeslider (opensolaris)


here's a vid showing time slider in action
http://www.youtube.com/watch?v=jfCtqX8dQtk&feature=related

Supergoo
May 23rd, 2010, 06:45 AM
I will have to read more on this file system, I Always liked and still Like the ZFS file system. Thanks for the infomation looking forward to digging through it.

madjr
May 24th, 2010, 06:25 AM
I will have to read more on this file system, I Always liked and still Like the ZFS file system. Thanks for the infomation looking forward to digging through it.

zfs is good but the license was a problem.

weird how they first were competitors, now the same company devs them

trallen
June 14th, 2010, 10:58 PM
Damn, just when I moved my server over to ext4...

https://btrfs.wiki.kernel.org/index.php/Conversion_from_Ext3

You can do an in-place conversion which (in theory) is completely safe as you can always roll back to the original ext[34] filesystem via btrfs's snapshot of the original ext[34] fs.

NightwishFan
June 14th, 2010, 11:09 PM
I doubt btrfs will be the default in the next Ubuntu release. I probably will not be using it for a while either.

ubunterooster
June 14th, 2010, 11:59 PM
Wouldn't this mean that deleting, even rm, would be like a trash can? It would remain until you purge the snapshot, still taking up hard drive space?
Sounds bad for SSDs

szymon_g
June 15th, 2010, 12:05 AM
I wonder when it will be stable and usable... i hope they will test it more than they tested ext4 (i.e- no semi-working semi-stable solutions marked as stable so people could test them 'in field')

Shining Arcanine
June 15th, 2010, 12:42 AM
Full details:
http://www.phoronix.com/scan.php?page=news_item&px=ODI2Ng
I think the article is misleading because I believe that Gentoo Linux had Btrfs available before any other major distribution. :/