 |
 |
 |
 |
| F16 Development This section archived once F16 reached final release. |

24th June 2011, 01:22 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Posts: 36

|
|
|
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?
|

24th June 2011, 01:54 AM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,620

|
|
|
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.
|

24th June 2011, 01:57 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
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
|

24th June 2011, 01:59 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Posts: 36

|
|
|
Re: Btrfs and upgrade paths
Quote:
Originally Posted by DBelton
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
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.
|

24th June 2011, 01:59 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: Btrfs and upgrade paths
|

24th June 2011, 02:07 AM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,620

|
|
|
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.
|

24th June 2011, 02:11 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: Btrfs and upgrade paths
i do believe leigh123linux built it and worked fine, thats how i remembered the conversion tool
|

24th June 2011, 02:12 AM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,620

|
|
|
Re: Btrfs and upgrade paths
well, if it doesn't work, I have an install DVD handy.
|

24th June 2011, 05:15 PM
|
|
Registered User
|
|
Join Date: Aug 2008
Posts: 226

|
|
|
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.
|

24th June 2011, 06:09 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,620

|
|
|
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.
|

24th June 2011, 08:48 PM
|
|
Registered User
|
|
Join Date: Aug 2008
Posts: 226

|
|
|
Re: Btrfs and upgrade paths
That's correct.
|

25th June 2011, 01:57 AM
|
|
Registered User
|
|
Join Date: Aug 2010
Posts: 61

|
|
|
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.
|

25th June 2011, 02:44 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Posts: 36

|
|
|
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.
|

13th July 2011, 10:40 PM
|
 |
Registered User
|
|
Join Date: Jul 2011
Location: Latvia
Posts: 17

|
|
|
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...
|

14th July 2011, 01:00 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: Btrfs and upgrade paths
Quote:
Originally Posted by kellerman
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
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)
|
|
 |
 |
 |
 |
|
|