With btrfs you create subvolumes within the same master volume.
The default is to have separate subvolumes for / and /home.
When doing a new install you can create a new / with a new subvolume
name within the same btrfs file system. rootfs-22 instead of just
root for example. That way you can mount your old / as a subdirectory
while moving over all your config to the new /, and you can keep
the same /home. When you are done, delete the old / subvolume
and you get your space back without any repartitioning.
look at the subvol=XXX in /etc/fstab
If you want to back up and restore individual subvolumes, look at the
btrfs send and btrfs receive commands.
on., 06.05.2015 kl. 09.08 -0400, skrev Neal Becker:
Actually, re-partioning old machine.
Last time, I setup 1 big 1TB btrfs partition. I'd like to do a re
-install
for f22, and I'm wishing now I had my home on it's own partition -
since now
I need to backup and restore my home (about 165GB).
Or perhaps there is another way? shrink the 1TB btrfs partition,
create a
new one for /home, and copy? How could I do that, and could I do it
online,
or only from some rescue USB? (/home is on the same single partition
as /).
--
Those who fail to understand recursion are doomed to repeat it