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.

What files can be safely deleted

Discussion in 'General Discussion' started by verdon, Mar 16, 2004.

  1. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    Hi,

    I have 2 drives on my server, 1 fairly small and the other large. The smaller drive is mostly OS and whm/cpanel, the larger is all my user dirs and backups.

    Yesterday, I ran a number of cpanel updates and lost about 250-300 MB of space on my smaller drive. I suspect there's some stuff I can clean up to get back some of this space. As this drive now only has about 450 MB of available space, I'd definately like to reclaim some. I'd like to update from WHM 9.1.0 cPanel 9.1.0-R85 that I did yesterday to the new stable release from last night, but think I should free up some space first.

    Any advice?

    Thanks :)
     
  2. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    Thanks, was the first thing I checked... although 118 items in there, they only add up to about 3.5 MB

    Is it likely that WHM 9.1.0 cPanel 9.1.0-R85 is just 250-300 MB bigger than the the 8.x build I had been using?
     
  3. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18
    I don't think this is the case. As you would notice an extra 300Mbyte downloading? Or at least I would, and I didn't. Try to use something like :

    find / -size +1000000c -print

    This command will find all files larger than 1 million bytes, you will obviously need to adjust this number, and remember 1000 bytes in a 1 KB, 1000 KBs in a Megabyte, etc :)

    Or you can do it in blocks, which is easier in my opinion, remove the "c" so that :

    find . -size +1000 -print

    That would be 512KB because each block is a half KB. (or so)
     
    #3 nickn, Mar 16, 2004
    Last edited: Mar 16, 2004
  4. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    good point :)

    That's a cool tip! Thanks, I'll give it a try...
     
  5. melban

    melban Registered

    Joined:
    Nov 20, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Phoenix, AZ
    thanks this really helped.

    For me it helped me find the 'cprestore' folder in both /home and /root. This folder save many uploaded restores that I'd done over the years. Reclaimed 30% drive space on my cPanel server.
     
Loading...

Share This Page