A symbolic link is created in the form:
ln -s
Thus, if you want to move all your content from /usr/local/psa/vhosts to /home2/sites (where /home2 is mounted on the 2nd drive) and create a symlink, you'd do this:
mv /usr/local/psa/vhosts /home2/sites
ln -s /home2/sites /usr/local/psa/vhosts
The first command moves the
vhosts directory (and consequently all subdirectories & content) to /home2 and calls it
sites. The second command creates a symbolic link to /home2/sites and calls that link /usr/local/psa/vhosts. Thus, if you go to /usr/local/psa/vhosts, you are actually going to /home2/sites.
One recommendation: if it were me, I'd use
/home2/vhosts instead of
/home2/sites just to keep it consistent. YMMV, so do whatever works best (or makes sense) for you.
One other recommendation: if your content under /usr/local/psa/vhosts is more than a few megs or 10s of megs, I would recommend copying it first, then checking the copied files to be sure it all copied correctly, then removing the original content and then create the symlink. That way, if the copy screws up, you haven't lost the original.
-Danimal