Is there any tutorial how to do this without downtime?
Has anybody tried this approach? I would like to know if there were any significant performance benefits.
Is there any tutorial how to do this without downtime?
Has anybody tried this approach? I would like to know if there were any significant performance benefits.
http://www.crohoster.com/
quality hosting services and managed dedicated servers
Its a simple job and recommended appraoch is to stop Apache before moving domlogs so it will bring downtime. Here is how you can do it:
service httpd stop
ps ax | grep httpd (Verify that no httpd process still running)
cd /usr/local/apache
mkdir /home2/apache ( Considering /home2 as your new drive)
mv domlogs /home2/apache/
ln -s /home2/apache/domlogs /usr/local/apache/domlogs
ls -la /usr/local/apache/ (Verify the link)
service httpd start
OK, I just wanted to make sure ln will be enough.
http://www.crohoster.com/
quality hosting services and managed dedicated servers