create a folder on your data drive
mkdir -p data/home_copy
now, copy all your /home to data/home_copy
cp /home data/home_copy
edit your fstab
sudo nano /etc/fstab
add this line at the end of fstab
/data/home_copy /home none bind 0 0
save this modified fstab
now disconnect your actual home
sudo umount -l /home
finally mount your new home, which is located on your data disk
sudo mount /home
et voila. should run nicely
you may have to reboot.
mkdir -p data/home_copy
now, copy all your /home to data/home_copy
cp /home data/home_copy
edit your fstab
sudo nano /etc/fstab
add this line at the end of fstab
/data/home_copy /home none bind 0 0
save this modified fstab
now disconnect your actual home
sudo umount -l /home
finally mount your new home, which is located on your data disk
sudo mount /home
et voila. should run nicely
you may have to reboot.
