Fedora Linux Support Community & Resources Center
  #1  
Old 24th June 2011, 01:22 AM
mightyvoid Offline
Registered User
 
Join Date: Jun 2011
Posts: 36
windows_7chrome
Btrfs and upgrade paths

Would I be correct in assuming that people wanting to use Btrfs in f16 will need to do a clean install?
  #2  
Old 24th June 2011, 01:54 AM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,620
linuxfirefox
Re: Btrfs and upgrade paths

I would assume that changing the root filesystem would require a clean install rather than an upgrade.

Even if there is an upgrade option that would change the filesystem, I don't think I would trust it.
  #3  
Old 24th June 2011, 01:57 AM
tox
Guest
 
Posts: n/a
linuxfirefox
Re: Btrfs and upgrade paths

i think there is a way to switch to btrfs without doing a clean install .. let me try an find the howto
  #4  
Old 24th June 2011, 01:59 AM
mightyvoid Offline
Registered User
 
Join Date: Jun 2011
Posts: 36
windows_7chrome
Re: Btrfs and upgrade paths

Quote:
Originally Posted by DBelton View Post
I would assume that changing the root filesystem would require a clean install rather than an upgrade.

Even if there is an upgrade option that would change the filesystem, I don't think I would trust it.
It would be worth a shot, something of a curiosity, I'd definitely back up my data first.

---------- Post added at 12:59 PM ---------- Previous post was at 12:58 PM ----------

Quote:
Originally Posted by detox View Post
i think there is a way to switch to btrfs without doing a clean install .. let me try an find the howto
Interesting, i'd be keen to see what you find.
  #5  
Old 24th June 2011, 01:59 AM
tox
Guest
 
Posts: n/a
linuxfirefox
Re: Btrfs and upgrade paths

https://btrfs.wiki.kernel.org/index.php/Btrfs-convert
  #6  
Old 24th June 2011, 02:07 AM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,620
linuxfirefox
Re: Btrfs and upgrade paths

the note on that page looks really promising, detox

Quote:
Note: This program must be build seperately by "make convert" and might not work or even build.
I might give it a shot on one of my test boxes, though.... See what it does.
  #7  
Old 24th June 2011, 02:11 AM
tox
Guest
 
Posts: n/a
linuxfirefox
Re: Btrfs and upgrade paths

i do believe leigh123linux built it and worked fine, thats how i remembered the conversion tool
  #8  
Old 24th June 2011, 02:12 AM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,620
linuxfirefox
Re: Btrfs and upgrade paths

well, if it doesn't work, I have an install DVD handy.
  #9  
Old 24th June 2011, 05:15 PM
jvillain Offline
Registered User
 
Join Date: Aug 2008
Posts: 226
linuxfirefox
Re: Btrfs and upgrade paths

I converted a few systems from ext4 to btrfs and they all worked except one. That one coughed up an error about half way through and and just quit the conversion. No data loss. I have tried the mount the ext4 partition roll back and that works as well.
  #10  
Old 24th June 2011, 06:09 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,620
linuxfirefox
Re: Btrfs and upgrade paths

I have done some looking at how that conversion is actually done, and it looks like it there shouldn't be any data loss until you decide to make it final and remove the ext metadata.

What it looks like happens is that the conversion uses the same data locations and converts the metadata, writing the new metadata to freespace and keeping the old metadata as well. The actual data is never moved, and remains as is was before the conversion.

That means that until you actually commit and remove the ext metadata, you should be able to undo any of the conversion with no data loss.
  #11  
Old 24th June 2011, 08:48 PM
jvillain Offline
Registered User
 
Join Date: Aug 2008
Posts: 226
linuxfirefox
Re: Btrfs and upgrade paths

That's correct.
  #12  
Old 25th June 2011, 01:57 AM
milomak Online
Registered User
 
Join Date: Aug 2010
Posts: 61
linuxchrome
Re: Btrfs and upgrade paths

for those with space, shouldn't this work:

- copy the root partition to another space on your hard drive
- format the root partition to be btrfs
- copy the data back to the btrfs partition

I seem to remember doing the same thing when ext4 came out.
  #13  
Old 25th June 2011, 02:44 AM
mightyvoid Offline
Registered User
 
Join Date: Jun 2011
Posts: 36
windows_7chrome
Re: Btrfs and upgrade paths

All very useful information, thanks everyone. I may yet attempt a conversion, after doing an extensive backup to sdb, should it fail I'll be doing what milomak suggested.
  #14  
Old 13th July 2011, 10:40 PM
kellerman's Avatar
kellerman Offline
Registered User
 
Join Date: Jul 2011
Location: Latvia
Posts: 17
linuxchrome
Re: Btrfs and upgrade paths

when I last time installed F15, i tried to format root partition as btrfs, but popup said that btrfs partifions cannot be bootable...
  #15  
Old 14th July 2011, 01:00 AM
tox
Guest
 
Posts: n/a
linuxfirefox
Re: Btrfs and upgrade paths

Quote:
Originally Posted by kellerman View Post
when I last time installed F15, i tried to format root partition as btrfs, but popup said that btrfs partifions cannot be bootable...
boot partition cannot be btrfs . it can only be in your root filesystem untill Grub2 is in Fedora it can be both
 

Tags
btrfs, paths, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
btrfs suitable yet ? Milena Installation and Live Media 5 31st January 2010 09:35 AM


Current GMT-time: 13:34 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat