I will suggest two options :
1- No downtime is tolerated (Use it at your own risk) :
- Issue the following commands :
mkdir /vartmp
rsync -aqxP /var/* /vartmp
- Force umounting of /var by :
umount -f /var (force umount)
OR
umount -l /var (lazy umount)
- Rename your directories :
mv /var /varbackup (keep your old /var in case of you encounter an issue)
mv /vartmp /var
vi /etc/fstab (Delete the line containing '/dev/sdc1 /var')
2- Downtime is tolerated, make sure you have access to the server console directly because network will be down in single user mode and note that /var will not be mounted also :
SYSTEM V based Debian:
Reboot the server
Choose you kernel and then press e to edit the grub entry.
Append init=/bin/bash to the end of the grub line which begins with linux.
Now press ctrl-x or F10 to boot into single user mode.
Enter the following commands :
mkdir /vartmp
rsync -aqxP /var/* /vartmp
mv /var /varbackup (keep your old /var in case of you encounter an issue)
mv /vartmp /var
vi /etc/fstab (Delete the line containing '/dev/sdc1 /var')
reboot
SYSTEMD based Debian :
systemctl set-default rescue.target
reboot
mkdir /vartmp
rsync -aqxP /var/* /vartmp
mv /var /varbackup (keep your old /var in case of you encounter an issue)
mv /vartmp /var
vi /etc/fstab (Delete the line containing '/dev/sdc1 /var')
systemctl set-default <graphical.target (OR) multi-user.target>
reboot
P.S : Try to use LVMs in future they are flexible and can deal more efficiently with this kind of situation using just vgsplit & pvmove OR using lvm mirroring & lvm mirror discarding