My SSD is only 110 GB in size, so moving the old /home (btrfs) to a new /home (also btrfs) on a bigger HDD is likely a good idea.
Is it possible to combine btrfs-subvolumes as separate subvolumes on separate partitions (even on separate devices) but as children of the top level subvolume (ID 5)????
Does this procedure enable snapshots of the new /home?
This is my current entry for the old /home on SSD in fstab:
UUID=23cef669-f46c-4f5b-8476-ba548256e754 /home btrfs rw,noatime,compress=lzo,ssd,space_cache,subvolid=258,subvol=/@home,subvol=@home 0 0
As far as i know the procedure to move /home is as follows:
a) create a mountpoint for the new /home (e.g. /mnt/home)
b) adjusting fstab entry of /home: UUID> mountpoint> btrfs> mountoptions
c) copy all files from old to new /home via life system (e.g. cp -ar /oldhome/* /newhome)
But i'm not sure what to do with mount options: can i use the old subvolume options?:
subvolid=258,subvol=/@home,subvol=@home
Should be harmless as long as the old entry is going to be deleted?! If yes, the new fstab entry on HDD for /home would look like this:
UUID=7ad83a78-4e19-45df-9c6e-1d931a9f999c /mnt/home btrfs noatime,compress=lzo,subvolid=258,subvol=/@home,subvol=@home 0 2
What did i forget? Any comments, hints or suggestions for improvement?