• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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