Emergency - New H/D to transfer growing data which doesn't fit anymore in old H/D
Hello I'm relatively new to installing new harddisks in Linux.
I have a Linux system on a single harddisk. Now I have a directory in /var/mydir which grows a lot, since it serves for authentication of new users in my gaming server. anyways.. I want to mount this directory on a new harddisk.
Here come the problems -
(1) Do I need to format the harddisk using mke2fs or do I need to do cfdisk and just plug it in to the mother board? Can I format the harddisk on another computer using the windows fdisk utility for example, and then plug this new harddisk to the Linux server?
(2) What do you suggest, to move the /var/mydir on my new directory or mount it to the new harddisk? this directory contains logs which are appended, so I need these logs in the new harddisk
(3) What do i need to include in the /etc/fstab file to cater for the new harddisk/mount of new directory?
PS: The /var/mydir contains important information, so I need to choose between the most efficient method to transfer data and keep priveleges on the new harddisk.
Another thing - LVM is not in my agenda to use it as a solution.
Regards,
Ganni.
|