How disk usage is calculated by Plesk



1 comment

  • Avatar

    Mailbox size can be higher than the available disk size if a mail file is hard linked numerous times.

    To find if you have hard links in your MailDir use:

       find . -typef -links +1 -exec ls -lai {} \;

    This will show the inode of the hard links in the first column and the number of copies (hard linked) to the file.. you can then use find . -type f -inum NNNNN to find all the copies. Delete all bar 1 and your space calculation will return to normal.


    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request