How disk usage is calculated by Plesk

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.

     

    0
    Comment actions Permalink
  • Avatar
    Webhosting

    Is it possible to exclude certain folders? When granting chrooted SSH access to a subscription it adds a folder that is about 350MB, which is a lot on a subscription than only has 1GB.

    1
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request