Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wiki entry for switching to btrfs based root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
vaxbrat
Guru
Guru


Joined: 05 Oct 2005
Posts: 582
Location: DC Burbs

PostPosted: Fri Jul 26, 2013 6:52 am    Post subject: Wiki entry for switching to btrfs based root Reply with quote

This is still a work in progress, but the basics are all there for a successful migration of an ext4 based mdadm mirror set to a new mirror set that uses btrfs for everything including the system root as a subvolume.

I'll probably be doing edits for the next couple of days to get the formatting and details wrung out. Comments from the peanut gallery please....
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1235
Location: 42.68n 85.41w

PostPosted: Fri Jul 26, 2013 7:20 am    Post subject: Reply with quote

virtualbox, virtualize installs, do 100's of them. copy paste where you can. gist generic btrfs fstab
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
https://wiki.gentoo.org/index.php?title=Special:Contributions/666threesixes666&offset=&limit=500&target=666threesixes666
Back to top
View user's profile Send private message
vaxbrat
Guru
Guru


Joined: 05 Oct 2005
Posts: 582
Location: DC Burbs

PostPosted: Mon Jul 29, 2013 11:56 pm    Post subject: major edits finished Reply with quote

The page is essentially done. This system has been up and running for a couple of days without any problems. I also had an existing system disk based on an SSD with a btrfs mirror where I backed up to the mirror and then remade the root ssd as a btrfs. That one has also gone through an emerge update and a rebalance of the live system root without any issue.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1235
Location: 42.68n 85.41w

PostPosted: Tue Jul 30, 2013 1:07 am    Post subject: Reply with quote

im actually doing duplicate work of this right now. btrfs /boot && btrfs /

so far only problem observed is missing symlink for /sbin/fsck.btrfs > /sbin/btrfsck

(fixed by ln -s /sbin/btrfsck /sbin/fsck.btrfs)

& requiring /boot be equal to or more than 270MB.


no migration for me. i intend to get btrfs system up, duplicate ext (or what ever) onto btrfs system.
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
https://wiki.gentoo.org/index.php?title=Special:Contributions/666threesixes666&offset=&limit=500&target=666threesixes666
Back to top
View user's profile Send private message
vaxbrat
Guru
Guru


Joined: 05 Oct 2005
Posts: 582
Location: DC Burbs

PostPosted: Tue Jul 30, 2013 4:16 am    Post subject: using grub2 then? Reply with quote

so if you're doing the /boot I'm guessing you are doing grub2?
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1235
Location: 42.68n 85.41w

PostPosted: Tue Jul 30, 2013 4:50 am    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/Alternate_Install <--- that - JFS + btrfs yes grub2. -jfs-utils + btrfs-progs & the fstab changed to btrfs.

edit: worked perfectly. the real test is time now.... and some funky partition smashings & rebuildings & mass power offs mid system flight.
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
https://wiki.gentoo.org/index.php?title=Special:Contributions/666threesixes666&offset=&limit=500&target=666threesixes666
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum