Originally Posted by jhaxxar
Ok, say I have a drive /dev/sda4 that is 1.8TB is size and the FTP folder is on /dev/sda2 that is 420MB, so how do I move it to /dev/sda4?
The drive is immaterial. What the mount point is counts. If the /dev/sda4 device is mounted as "/home", you would mount the /dev/sda2 as something else, then (after you kick everyone else off the system, to make sure there are no open files), "mv /home/* <whatever mount point /dev/sda2 is>". Look at the man page for mv first, though, there's an option to preserve ownership that you have to put on there..not at a linux box now to look it up.
After you get the directory moved, edit your /etc/fstab file to mount /home under /dev/sda2. Either reboot, or manually unmount/remount correctly. That's it.../home is now under the /dev/sda2 physical device, and mounted as /home, with 1.8 TB of space. The 420 MB can be mounted as something else.
And as I said earlier, if you have your ftp server set up to go to one particular directory, just modify the config file to point to the new drive, and move that directory there. Bounce the FTP service, and it'll go to the new drive.