Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 1st October 2009, 23:36
bpmee bpmee is offline
Join Date: Aug 2006
Posts: 86
Thanks: 3
Thanked 7 Times in 6 Posts
Question www, mysql folder in limited /var partition by mistake


A couple months ago I installed ISPconfig on a new server, and everything was fine.

Then, MySQL stopped running, and it was because my /var partition (9.7 GB) was completely full. It seems all my databases are stored there, and of course the usual /var/www for ISPconfig websites.

I did a
df -h
command and it appears my /var partition is 100% full. On the other hand, my /home partition has plenty of space.

Is it possible to:
  1. Symlink /var/www -> /home/www and copy all /var/www contents to /home/www ?
  2. Symlink MySQL in the /var folder -> /home/mysql and copy all Mysql to the /home/mysql folder?

This would alleviate lots of space, since my web host provider installed the server so that /var would only contain temporary log files, not whole websites and MySQL.

Thanks in advance for any ideas! I'd rather not get into re-partitioning since I have over 300 sites and databases!
Reply With Quote
Sponsored Links
Old 2nd October 2009, 15:12
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

Originally Posted by bpmee View Post
Is it possible to:
  1. Symlink /var/www -> /home/www and copy all /var/www contents to /home/www ?
  2. Symlink MySQL in the /var folder -> /home/mysql and copy all Mysql to the /home/mysql folder?
I think both should work, but I haven't tried this yet. But quota won't work anymore because you've set up quota on /var, but all files are now on your /home partition. But if you don't need quota, I don't see a problem.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security problem 2 ???? the revenge :) albertux Installation/Configuration 2 22nd September 2009 19:44
Mail Log Question - Is This Normal gwiz Installation/Configuration 7 12th September 2009 04:09
550 Sender verify failed Allen15 Installation/Configuration 11 13th February 2009 15:02
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 10:11
Problem recieving mail webstergd Installation/Configuration 19 16th December 2005 13:08

All times are GMT +2. The time now is 02:24.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.