Mount block storage as a folder eg /home
This is probably a silly question but…
If I was to load some block storage could I mount it as my /home or would it have to be mounted as something else.
/mounteddrive = /home
1 Reply
You sure can, I've done this in the past.
Simply mount it as something else temporarily and copy your existing home across.
sudo cp -Rp /home/* /mount/location
Once your files are across you can move your existing /home out of the way.
cd / && sudo mv /home /home_old && sudo mkdir /home
Modify your fstab so your block storage mounts as /home and reboot.