I assume that
/mnt/volume_nyc1_01 is the mountpoint for the new ext4 volume. There is a line in
/etc/fstab in which this volume is mounted on
The steps you mention are not technically wrong, but if you follow them, you'll end up having an empty
/home directory - since it's a new ext4 fs only
lost+found will be there.
The steps I follow on such cases are:
- Stop any service, daemon, app using
lsof |grep "/home" can help you with this.
/etc/fstab as is for the time being and copy all data from
I'd use this command:
sudo rsync -aHAXS /home/* /mnt/volume_nyc1_01
- After everything is successfully copied, you can proceed with the steps you described. The new volume will be mounted as
/home and will include all your data.
If everything is up and running, at some point in the future you could unmount the new volume from
/home mountpoint and delete the files in the
/home directory which will still be there, and reclaim space on your first volume. Be cautious,
/home is still a directory on the 1st volume, which is also used as a mountpoint for 2nd volume. So deleting files from
/home directory is possible, without deleting files from the 2nd volume, if you umount the 2nd volume first. If all this seems complicated, just let the old files there.