I'd like to move /var directory to a new partition on the SAME disk. I'm not adding any new hard disk.
I tried the following commands to do so. Can someone help with the last 2 commands? Also, how do I make sure it doesn't use old /var anymore?
lsblk
mkdir /mnt/newvar
blkid
mount /dev/xvda1...