The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with quota problem

Discussion in 'General Discussion' started by adapter, May 21, 2007.

  1. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    i have a problem with all my server with RHEL4 or Centos 4.4, when u upload small files on the server the system report a different size, this is a little example

    > drwxr-xr-x 2 user user 4096 May 10 11:11 ./
    > drwxr-x--- 12 user nobody 4096 May 10 11:16 ../
    > -rw-r--r-- 1 user user 7514 May 10 11:11 cred.js

    total is about 7+4+4= 15kb

    but when i do du -h in the folder

    root@ares [/home/user/www/]# du -h
    20K

    where are this 5kb of difference? i have note that this happend when a site have small files inside, example when u install joomla about 7mb on my server it is 18Mb, the server size block is set to 4kb
     
  2. visiox

    visiox Well-Known Member

    Joined:
    Jan 19, 2004
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Which one are you talking about?

    1. Hardware block size, "sector size"
    2. Filesystem block size, "block size"
    3. Kernel buffer cache block size, "block size"
    4. Partition table block size, "cylinder size"

    because that can make a big difference ;)
     
Loading...

Share This Page