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.

Disk usage

Discussion in 'General Discussion' started by vishwas, Mar 13, 2004.

  1. vishwas

    vishwas Well-Known Member

    Joined:
    Feb 9, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Front of PC
    Hello

    Through cpanel , after selting disk usage tab i can see only 5 mb disk space used but on main cpanel screen it is showing me 157 mb disk space used when i have 50 mb disk space quota only.

    Anyone can tell me how this diff shows me , where is the actuall disk space get used..


    Thanks
    :confused: :confused:
     
  2. BrightAdmin

    BrightAdmin Well-Known Member

    Joined:
    Feb 29, 2004
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Hi vishwas,

    It is a bug. Check the /etc/passwd file get the UID of the user and run find -user user id. You should see files owned by the user simply use chown the files to correct user to fix the problem.

    1) Get the UID from /etc/passwd
    2) cd /
    3) find -user UserID [Should show you the files]

    Alternatively you can use /scripts/fixquota to fix you quotas related problems.

    Regards,

    Bright:)
     
  3. vishwas

    vishwas Well-Known Member

    Joined:
    Feb 9, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Front of PC
    soory admin

    NO change


    :confused: :confused:
     
  4. hostcp3

    hostcp3 Well-Known Member

    Joined:
    Jun 18, 2002
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    16
    In your /etc/passwd file just check its not mixed up.

    like this

    user1:x:0001:0002::/home2/user1:/usr/local/cpanel/bin/noshell
    user2:x:0002:0001::/home2/user2:/usr/local/cpanel/bin/noshell

    should be like this

    user1:x:0001:0001::/home2/user1:/usr/local/cpanel/bin/noshell
    user2:x:0002:0002::/home2/user2:/usr/local/cpanel/bin/noshell
     
Loading...

Share This Page