On 09/06/2016 01:24 AM, emanuele lombardi wrote:[color=blue]
Dear AB,
Do you feel converting an extr3 root partition to btrfs is a too risky
job? Would you do it on a production machine of yours?[/color]
If I had a production system and had to choose between keeping ext3 with
its issues, or “risking” converting to BtrFS, I’d convert ina heartbeat
because ext3’s insanely-slow fsck every couple-dozen mounts (or some
period of time) is insane to me, and Murphy always gets me if I leave that
option out there right when I need it least. I loathe that “feature”
unreasonably, perhaps, but BtrFS makes this even better.
The reason I’d still do the conversion is because the way BtrFS works is
that it does not actually convert the entire old filesystem, but instead
just uses it as a base snapshot and then adds on top of it. This is
REALLY neat, because it means that if you want to you can go back to the
base snapshot later and have things just as they are at the time you
“converted” from ext3, and everything should still work as it did back
then, slow fsck’s and all.
[color=blue]
Unfortunately I can’t build a new box since my machine is physical, not
a VM. Furthermore the upgrade from 11P3 to 12P1 went quite smoothly and
now I have a properly running system.[/color]
I did a few of those (11 to 12 SP1 upgrades) earlier this year and was
also pleasantly surprised by how easy it was. It’s a huge upgrade in
terms of low-level technologies (kernel, systemd, BtrFS potentially) but
it seems to work better than expected anyway.
[color=blue]
I guess that if I boot from an external device and convert my boot
partition from ext3 to btrfs, before booting the new btrfs system I have
to modify my /etc/fstab replacing in the first line ext3 with btrfs.
LABEL=sgiroot / ext3 acl,user_xattr
1 1
LABEL=sgiswap swap swap defaults
0 0
LABEL=sgiboot /boot/efi vfat
users,gid=0,umask=0002,utf8=true 0 0
Do you think I need to do other changes?[/color]
Nothing else comes to mind, but as long as you are following the docs you
should be fine.
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…