Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member ultimatehosting's Avatar
    Join Date
    Jul 2011
    Location
    India
    Posts
    11
    cPanel/Enkompass Access Level

    Root Administrator

    Default Inode usage per domain

    Would be nice to have a feature where inode usage is displayed under each domain's cPanel and can be controlled by root/reseller.

    Fully Managed Services

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Inode usage per domain

    Quote Originally Posted by ultimatehosting View Post
    Would be nice to have a feature where inode usage is displayed under each domain's cPanel and can be controlled by root/reseller.
    Did you really mean per-domain or did you mean per-account? I ask because quotas, disk space calculations etc. are done per-account in a cPanel environment.

  3. #3
    Member
    Join Date
    Dec 2009
    Posts
    27

    Default Re: Inode usage per domain

    Hello,

    +1 for this

    Inode usage per account and an option to limit creating a full cpanel backup if inode is over some limit (>200.000) or disk space usage is over some defined limit (>10GB).

    Creating real-time full cpanel backup on account with many inodes or big files (>1GB) cause high I/O usage and everything is slowed down for a few hours (no mater if is 'nice +19' on backup process).

  4. #4
    Member
    Join Date
    Dec 2006
    Location
    Istanbul / TURKEY
    Posts
    44
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Inode usage per domain

    We NEED this.

  5. #5
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,290
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Inode usage per domain

    For the time being, you could do the following:

    Code:
    find /home -maxdepth 1 -type d | while read -r dir; do printf "%s:\t" "$dir"; find "$dir" | wc -l; done
    You'd get a return such as the following:

    Code:
    root@host [/home]# find /home -maxdepth 1 -type d | while read -r dir; do printf "%s:\t" "$dir"; find "$dir" | wc -l; done
    /home:	36757
    /home/installd:	7964
    /home/tristan2:	4
    /home/cpfoo:	37
    /home/freetype-1.3.1:	509
    /home/tristan3:	4
    /home/cpeasyapache:	21365
    /home/cpfoo2:	37
    /home/.cpanm:	3
    /home/tritan5:	4
    /home/danielle:	2267
    /home/.cpcpan:	219
    /home/endar:	4340
    /home/.cpan:	1
    You could cron this to run every day for the command, then have it email you the information.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. httpd can't start, inode is 100%, please help
    By R0CKABILLY in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-15-2010, 07:04 AM
  2. Alert message when exceeds inode limit
    By thewebhosting in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-19-2010, 08:25 AM
  3. how to control inode in cPanel?
    By neorder in forum New User Questions
    Replies: 3
    Last Post: 02-24-2009, 02:48 PM
  4. Help - CentOS Bind inode issue
    By Snowman30 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-11-2005, 04:33 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube