How do we solve the problem with the size of /var
At the moment the problem is that default install mysql & apache is using /var witch is on / instead of /srv/(disk name)!
/var is on the 5gb system disk and we need our mysql databases,apache files and log files on /srv/(disk name).
How do we use the /srv/(disk name) like the Gandi AI uses it?
So that we dont run out of disk space?
Best regards Morten
mount new_disk
cp -a /var/* /path/to/new_disk
stop most of daemons
rm -rf /var/*
edit fstab
mount -a
Hi,
Very nice support, but "HowTo" 'stop most of daemons'
What to edit and what to write in fstab ?
I'd tryed this and get this answer:
*can't find new_disk (my disk name ofcause) in /etc/fstab or /etc/mtab - by only execute the 'mount new_disk' command So it seems to me that the discription above is upside down!!
Please help, I'm just a women!!
daemons stopping process depends on your distro.
your disk are able in /dev/
you can look for it using fdisk -l (from root)
so, open fstab (nano /etc/fstab) and add it