View previous topic :: View next topic |
Author |
Message |
vaxbrat l33t
Joined: 05 Oct 2005 Posts: 731 Location: DC Burbs
|
Posted: Fri Jul 26, 2013 6:52 am Post subject: Wiki entry for switching to btrfs based root |
|
|
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 |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Fri Jul 26, 2013 7:20 am Post subject: |
|
|
virtualbox, virtualize installs, do 100's of them. copy paste where you can. gist generic btrfs fstab |
|
Back to top |
|
|
vaxbrat l33t
Joined: 05 Oct 2005 Posts: 731 Location: DC Burbs
|
Posted: Mon Jul 29, 2013 11:56 pm Post subject: major edits finished |
|
|
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 |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Tue Jul 30, 2013 1:07 am Post subject: |
|
|
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. |
|
Back to top |
|
|
vaxbrat l33t
Joined: 05 Oct 2005 Posts: 731 Location: DC Burbs
|
Posted: Tue Jul 30, 2013 4:16 am Post subject: using grub2 then? |
|
|
so if you're doing the /boot I'm guessing you are doing grub2? |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Tue Jul 30, 2013 4:50 am Post subject: |
|
|
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. |
|
Back to top |
|
|
|