Skip to main content

No space left on device

Comments

5 comments

  • cPanelMichael
    Hello :) Your server is out of inodes (number of files on your system). You will need to contact your hosting provider to have them increase the inodes available to your VPS. Thank you.
    -1
  • toriqulislam
    We are using server from an un-managed service provider. Even after that I asked for support and they said they are not going to help on this. Can't reach our System Administrator right now. So anything that can help to fix this will be great for us. Thanks.
    0
  • cPanelMichael
    You can try searching for directories with large number of files, and then remove any unnecessary files to free up inodes. For example, the following instructions found on a third-party website might be helpful for finding where the inode usage is coming from: cd /root vi count_files.sh
    Add this input: echo $(ls -a "$1" | wc -l) $1
    Save the file, then run: chmod 0755 count_files.sh find . -type d -print0 | xargs -0 -n1 /root/count_files.sh | sort -n
    Thank you.
    0
  • toriqulislam
    Thank you for your help. I also tried your method but can't solve it. We have been suffered by this about 2 days. But after many tries I was able to reach our System Administrator and he solved the problem. BTW Is there anyway to prevent this problem so it can't be happen in the future? Is there any automatic way to delete those unnecessary files? Thanks.
    0
  • cPanelMichael
    [quote="toriqulislam, post: 1709141">Is there any automatic way to delete those unnecessary files?
    There's no guarantee that any file is unnecessary. It depends which files your system administrator removed to resolve the issue. The best way to resolve the issue is to have your hosting provider increase the inodes available to your VPS. Thank you.
    0

Please sign in to leave a comment.