-
hda1 full - how come? Help!
Last year August, I installed Knoppix on my HDD. Great! Disk size is 2.8 GB, and was about 70% full (if I remember it correctly).
All this time, I used it as a local web server with the webroot on the hda6 partition. I put my php files on this partition. Free space: 6GB on an 8 GB hdd.
It was great, until hda1 went full this week! Less than a few K free space! Of course, sessions can't be written anymore, etc. How could this happen? I installed nothing after the initial install! BTW, the tmp dir is quite tidy.
My question is: what kind of files could have been written on the hdd? And how do I clean up the disk, 'cause I cannot detect anything strange on the hdd. PROC is large as well, how do I purge this? And how can I prevent this for the future?
TIA,
Royston
-
Senior Member
registered user
Is /var/log taking up alot of space?
du -ch /var/log
You can get rid of alot of files in there. For example you probably do not need any logs that end w/ 0 or .gz.
For example I have these logs:
kern.log
kern.log.0
kern.log.1.gz
It would be perfectly fine to remove kern.log.0 & kern.log.1.gz
-
Well, this took care of 3 MB of space... at least that is better than nothing. However, I have still 1 GB or so to go...
Thanx anyway for your answer. But where did the other gigabyte of rubbish come from? And, for instance, how do I delete the /proc/ directory?
Royston
-
Senior Member
registered user
Not sure if I was clear on this or not. You can delete ALL old logs in /var/log.
/proc is a dynamicly generated file system don't try to delete it. Use cron to automatically delete those old logs for you.
Similar Threads
-
By PhilQ in forum General Support
Replies: 6
Last Post: 01-07-2005, 12:43 AM
-
By Skaster in forum General Support
Replies: 6
Last Post: 01-05-2005, 09:04 PM
-
By jimandjeanette in forum The Lounge
Replies: 1
Last Post: 07-05-2004, 02:50 PM
-
By A. Jorge Garcia in forum General Support
Replies: 2
Last Post: 07-04-2004, 04:29 AM
-
By A. Jorge Garcia in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 07-04-2004, 04:26 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE
$273.00
1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME
$247.00
Supermicro 1U X11DPU 2x Xeon Gold 6132 2.6GHz / 128gb / 10x 2.5 Trays / 2x 750w
$649.99
Open Eye OE-MTX08 8TB Micro Server With Linux (Boots To Login) No Accessories
$282.92
HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVESorCads
$200.00
CEOhack 1U X9DRW-3TF+ 4 Bay Server 64GB DDR3 1x E5-2667 V2 3.30GHz 8C 1x 1TB HDD
$119.00
SUPERMICRO ELEMENTAL server 118-18 x2 500gb hdd
$129.99
Supermicro CSE 823-6 2U 6 Bay Chassis ,1xPWS 653-2H 650Wsold as in the photo,
$119.75
Dell PowerEdge T430 2x Xeon E5-2609 v4, 64GB DDR4 RAM, NO HDDs/OS, 2x1100W #95
$329.99