I have Ubuntu 18.04 on a 50 GB SSD partition (+9.9 GB swap). I also have a mechanical drive with >= 105GB free Ext4 partition in that computer. I'm running out of space on that SSD partition. I'd like to move the entire /home folder to that mech drive. How would I do that?
Asked
Active
Viewed 39 times
0
/etc/fstab
for that purpose:/home
corresponding to/
in the line for the root partition in field #2 according toman fstab
. – sudodus Mar 30 '23 at 14:56sudo rsync -Havn source/ target/
; The trailing slash after the source directory is important. Seeman rsync
for more details. Remove the optionn
when you see that the 'dry run' looks good to do the real thing:sudo rsync -Hav source/ target/
– sudodus Mar 30 '23 at 15:21