That depends on what you have installed.skoinga said:how can I free space on /var partition?
What are the directories that I can safely delete?
# du -sk /var/* | sort -n
2 /var/account
2 /var/audit
2 /var/empty
2 /var/games
2 /var/heimdal
2 /var/preserve
2 /var/rwho
2 /var/virusmails
4 /var/crash
4 /var/mail
4 /var/msgs
6 /var/at
14 /var/amavis
14 /var/cron
22 /var/yp
42 /var/backups
54 /var/named
74 /var/restoresymtable
88 /var/run
652 /var/spool
2784 /var/tmp
11872 /var/log
150540 /var/db
# du -sk /var/db/* | sort -n
SirDice said:Alright, so most of the space is taken up by /var/db/. Just drill down until you find out what's using up your space.
# du -sk /var/db/* | sort -n
If you have installed MySQL it's quite likely the culprit. You can move the databases to a spot with more capacity. Just change the MySQL variables in /etc/rc.conf accordingly.
0 /var/db/mountdtab
2 /var/db/dhclient.leases
2 /var/db/freebsd-update
2 /var/db/ipf
2 /var/db/portsnap
6 /var/db/fontconfig
6 /var/db/postfix
18 /var/db/entropy
36 /var/db/mergemaster.mtree
118 /var/db/portaudit
346 /var/db/ports
894 /var/db/spamassassin
3168 /var/db/locate.database
14570 /var/db/postgrey
22668 /var/db/pkg
47736 /var/db/clamav
60964 /var/db/sup
*default base=/usr/local