The usage of mailbox space is different in Plesk and on disk

Follow

Comments

2 comments

  • Avatar
    Sid

    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.

  • Avatar
    Ivan Postnikov

    @Sid

    Hello!
    Thank you for this useful notice. Other Pleskians may find it helpful. 

Please sign in to leave a comment.

Have more questions? Submit a request