• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

1&1 RootServer var-partition full

HMnet

Basic Pleskian
Hi @all,

I have a little problem with my 1&1 rootserver:

The partition that cointais i.e. mails and mysql /var is nearly full.

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 940M 108M 785M 13% /
tmpfs 990M 0 990M 0% /dev/shm
/dev/sda5 4.7G 1.7G 3.1G 35% /usr
/dev/sda6 4.7G 4.3G 419M 92% /var
/dev/sda7 19G 424K 19G 1% /home
/dev/sda8 156G 57G 100G 37% /srv
none 990M 36K 990M 1% /tmp

Last night anyone sent a huge mail and the space of /var ran aginst zero, so the server dies. :-(

Now I have to solve the problem.

Can I symlink the maildir like this:
ln -s /srv/mailnames /var/qmail/mailnames

THX for your help,
HMnet
 
Same for me on Suse !

Seems like /var isn't mounted on the right partition only 4.7 Go, argh !!

How can we solve this?

Thanks,
Jérémy
 
Hi!

I solved the problem with symlinks.

I moved these directorys to /srv an the I made symlinks from the original directories to it:

/var/lib/psa/dumps
/var/log
/usr/local/psa/var/log
/var/qmail/mailnames

So my var-partition has 3,3GB free.

Yours,
HMnet :cool:
 
hi,

why not move the affected folders (mysql databases, mail dir, ...) to a bigger partition?
 
That sounds great, but how can I do this without unmounting my partitions ?

I can't turn off any websites I'm hosting...

Any advice?

Jérémy
 
You don't have to umount something.

In case of mysql you only have to
- stop the mysqld
- create a new folder for all your mysql databases, e.g. /srv/bigplace/mysql
- move all subfolders of /var/lib/mysql/ to that new location (you'll see: folder names = db names)
- edit mysql config file /etc/my.cnf (in the [mysqld] section add a line "datadir=/srv/bigplace/mysql")
- if you are using InnoDB, you have to set innodb_data_home_dir too, normally not necessary
- start mysqld

This takes 3 minutes + time of moving the folders and files.

Similar you have to do that with other services.
 
Back
Top