当前位置: 技术问答>linux和unix
救救我 /var分区要写满了 但我找不到有什么大东西在占用空间
来源: 互联网 发布时间:2015-02-07
本文导语: 救救我 /var分区要写满了(99%) 但我找不到有什么大东西在占用空间 下面是我收集的信息 大家帮我分析分析 该删除哪些东西 $ du /var -ma 1 ./lost+found 10 ./lib/rpm/Packages 3 ./lib/rpm/Basenames 1 ./lib/rpm/Name 1 ./lib/rpm/Group 1...
救救我 /var分区要写满了(99%) 但我找不到有什么大东西在占用空间
下面是我收集的信息 大家帮我分析分析 该删除哪些东西
$ du /var -ma
1 ./lost+found
10 ./lib/rpm/Packages
3 ./lib/rpm/Basenames
1 ./lib/rpm/Name
1 ./lib/rpm/Group
1 ./lib/rpm/Requirename
1 ./lib/rpm/Providename
1 ./lib/rpm/Dirnames
1 ./lib/rpm/Requireversion
1 ./lib/rpm/Provideversion
1 ./lib/rpm/Installtid
1 ./lib/rpm/Sigmd5
3 ./lib/rpm/Filemd5s
1 ./lib/rpm/Triggername
1 ./lib/rpm/Conflictname
1 ./lib/rpm/Sha1header
15 ./lib/rpm
1 ./lib/games
1 ./lib/misc
1 ./lib/alternatives/print
1 ./lib/alternatives/mta
1 ./lib/alternatives
1 ./lib/slocate/slocate.db
1 ./lib/slocate
1 ./lib/dav/.cinik
1 ./lib/dav
1 ./lib/logrotate.status
1 ./lib/nfs/statd/state
1 ./lib/nfs/statd/sm
1 ./lib/nfs/statd/sm.bak
1 ./lib/nfs/statd
0 ./lib/nfs/etab
0 ./lib/nfs/rmtab
0 ./lib/nfs/xtab
1 ./lib/nfs
1 ./lib/pgsql/backups
1 ./lib/pgsql/data
1 ./lib/pgsql/.bash_profile
1 ./lib/pgsql
1 ./lib/texmf/ls-R
1 ./lib/texmf
1 ./lib/webalizer/webalizer.current
1 ./lib/webalizer/webalizer.hist
1 ./lib/webalizer
1 ./lib/random-seed
1 ./lib/mysql/mysql/db.frm
1 ./lib/mysql/mysql/db.MYI
1 ./lib/mysql/mysql/db.MYD
1 ./lib/mysql/mysql/host.frm
1 ./lib/mysql/mysql/host.MYI
0 ./lib/mysql/mysql/host.MYD
1 ./lib/mysql/mysql/user.frm
1 ./lib/mysql/mysql/user.MYI
1 ./lib/mysql/mysql/user.MYD
1 ./lib/mysql/mysql/func.frm
1 ./lib/mysql/mysql/func.MYI
0 ./lib/mysql/mysql/func.MYD
1 ./lib/mysql/mysql/tables_priv.frm
1 ./lib/mysql/mysql/tables_priv.MYI
0 ./lib/mysql/mysql/tables_priv.MYD
1 ./lib/mysql/mysql/columns_priv.frm
1 ./lib/mysql/mysql/columns_priv.MYI
0 ./lib/mysql/mysql/columns_priv.MYD
1 ./lib/mysql/mysql
1 ./lib/mysql/test
0 ./lib/mysql/mysql.sock
1 ./lib/mysql/.mysql_history
1 ./lib/mysql/.bash_history
1 ./lib/mysql/frebbs
1 ./lib/mysql/stock
1 ./lib/mysql/user
1 ./lib/mysql
17 ./lib
1 ./log/fax
0 ./log/spooler
1 ./log/cups
1 ./log/vbox
1 ./log/httpd/ssl_engine_log
1 ./log/httpd/ssl_request_log
0 ./log/httpd/ssl_mutex.11177
0 ./log/httpd/ssl_mutex.6680
0 ./log/httpd/ssl_mutex.19839
0 ./log/httpd/ssl_mutex.20771
0 ./log/httpd/ssl_mutex.21585
0 ./log/httpd/ssl_mutex.22684
0 ./log/httpd/ssl_mutex.30884
0 ./log/httpd/ssl_mutex.1027
0 ./log/httpd/ssl_mutex.5758
0 ./log/httpd/ssl_mutex.21753
0 ./log/httpd/ssl_mutex.30705
0 ./log/httpd/ssl_mutex.447
0 ./log/httpd/ssl_mutex.1663
0 ./log/httpd/ssl_mutex.9137
0 ./log/httpd/ssl_mutex.21530
0 ./log/httpd/ssl_mutex.1014
0 ./log/httpd/ssl_mutex.1081
0 ./log/httpd/ssl_mutex.962
0 ./log/httpd/ssl_mutex.1107
0 ./log/httpd/ssl_mutex.1335
0 ./log/httpd/ssl_mutex.10272
0 ./log/httpd/ssl_mutex.907
0 ./log/httpd/ssl_mutex.11492
0 ./log/httpd/ssl_mutex.28119
0 ./log/httpd/ssl_mutex.5135
0 ./log/httpd/ssl_mutex.6570
0 ./log/httpd/ssl_mutex.7036
0 ./log/httpd/ssl_mutex.7251
0 ./log/httpd/ssl_mutex.21739
0 ./log/httpd/ssl_mutex.3144
0 ./log/httpd/ssl_mutex.10732
0 ./log/httpd/ssl_mutex.15602
0 ./log/httpd/ssl_mutex.16438
0 ./log/httpd/ssl_mutex.18254
0 ./log/httpd/ssl_mutex.22876
0 ./log/httpd/ssl_mutex.5316
0 ./log/httpd/ssl_mutex.24858
0 ./log/httpd/ssl_mutex.24913
0 ./log/httpd/ssl_mutex.25024
0 ./log/httpd/ssl_mutex.25727
0 ./log/httpd/ssl_mutex.25857
0 ./log/httpd/ssl_mutex.9693
0 ./log/httpd/ssl_mutex.1131
0 ./log/httpd/ssl_mutex.2247
0 ./log/httpd/ssl_mutex.1082
0 ./log/httpd/ssl_mutex.2158
1 ./log/httpd/a
1 ./log/httpd/.swp
0 ./log/httpd/ssl_mutex.7559
0 ./log/httpd/ssl_mutex.9319
0 ./log/httpd/ssl_mutex.12708
0 ./log/httpd/ssl_mutex.29299
0 ./log/httpd/ssl_mutex.32649
0 ./log/httpd/ssl_mutex.818
0 ./log/httpd/ssl_mutex.1752
0 ./log/httpd/ssl_mutex.3117
0 ./log/httpd/ssl_mutex.3335
0 ./log/httpd/ssl_mutex.3457
0 ./log/httpd/ssl_mutex.3612
0 ./log/httpd/ssl_mutex.1096
0 ./log/httpd/ssl_mutex.1455
0 ./log/httpd/ssl_mutex.10564
0 ./log/httpd/ssl_mutex.12965
0 ./log/httpd/ssl_mutex.14407
0 ./log/httpd/ssl_mutex.14618
0 ./log/httpd/ssl_mutex.923
0 ./log/httpd/ssl_mutex.965
0 ./log/httpd/ssl_mutex.903
0 ./log/httpd/ssl_mutex.917
0 ./log/httpd/ssl_mutex.906
0 ./log/httpd/ssl_mutex.1121
0 ./log/httpd/ssl_mutex.966
0 ./log/httpd/ssl_mutex.1673
0 ./log/httpd/ssl_mutex.21151
0 ./log/httpd/ssl_mutex.21493
0 ./log/httpd/ssl_mutex.9599
0 ./log/httpd/ssl_mutex.12722
0 ./log/httpd/ssl_mutex.22377
0 ./log/httpd/ssl_mutex.31450
0 ./log/httpd/ssl_mutex.908
0 ./log/httpd/ssl_mutex.914
0 ./log/httpd/ssl_mutex.7219
0 ./log/httpd/ssl_mutex.944
0 ./log/httpd/ssl_scache.pag
0 ./log/httpd/ssl_scache.dir
1 ./log/httpd
0 ./log/pgsql
1 ./log/squid
1 ./log/sa/sa30
1 ./log/sa/sa31
1 ./log/sa/sa01
1 ./log/sa/sar01
1 ./log/sa/sa02
1 ./log/sa/sar02
1 ./log/sa/sa03
1 ./log/sa/sa04
1 ./log/sa/sa05
1 ./log/sa/sa
1 ./log/sa/sa28
1 ./log/sa/sar28
1 ./log/sa/sa29
1 ./log/sa/sar29
1 ./log/sa/sar30
1 ./log/sa/sar31
1 ./log/sa/sar03
1 ./log/sa/sar05
4 ./log/sa
1 ./log/dmesg
1 ./log/ksyms.0
1 ./log/cron
1 ./log/ksyms.1
1 ./log/ksyms.2
1 ./log/ksyms.3
1 ./log/rpmpkgs
1 ./log/rpmpkgs.1
0 ./log/spooler.1
1 ./log/ksyms.4
1 ./log/ksyms.5
1 ./log/rpmpkgs.2
0 ./log/spooler.2
1 ./log/ksyms.6
1 ./log/rpmpkgs.3
0 ./log/spooler.3
1 ./log/rpmpkgs.4
0 ./log/spooler.4
5 ./log
1 ./cache/man/X11R6/cat1
1 ./cache/man/X11R6/cat2
1 ./cache/man/X11R6/cat3
1 ./cache/man/X11R6/cat4
1 ./cache/man/X11R6/cat5
1 ./cache/man/X11R6/cat6
1 ./cache/man/X11R6/cat7
1 ./cache/man/X11R6/cat8
1 ./cache/man/X11R6/cat9
1 ./cache/man/X11R6/catn
1 ./cache/man/X11R6
1 ./cache/man/cat1
1 ./cache/man/cat2
1 ./cache/man/cat3
1 ./cache/man/cat4
1 ./cache/man/cat5
下面是我收集的信息 大家帮我分析分析 该删除哪些东西
$ du /var -ma
1 ./lost+found
10 ./lib/rpm/Packages
3 ./lib/rpm/Basenames
1 ./lib/rpm/Name
1 ./lib/rpm/Group
1 ./lib/rpm/Requirename
1 ./lib/rpm/Providename
1 ./lib/rpm/Dirnames
1 ./lib/rpm/Requireversion
1 ./lib/rpm/Provideversion
1 ./lib/rpm/Installtid
1 ./lib/rpm/Sigmd5
3 ./lib/rpm/Filemd5s
1 ./lib/rpm/Triggername
1 ./lib/rpm/Conflictname
1 ./lib/rpm/Sha1header
15 ./lib/rpm
1 ./lib/games
1 ./lib/misc
1 ./lib/alternatives/print
1 ./lib/alternatives/mta
1 ./lib/alternatives
1 ./lib/slocate/slocate.db
1 ./lib/slocate
1 ./lib/dav/.cinik
1 ./lib/dav
1 ./lib/logrotate.status
1 ./lib/nfs/statd/state
1 ./lib/nfs/statd/sm
1 ./lib/nfs/statd/sm.bak
1 ./lib/nfs/statd
0 ./lib/nfs/etab
0 ./lib/nfs/rmtab
0 ./lib/nfs/xtab
1 ./lib/nfs
1 ./lib/pgsql/backups
1 ./lib/pgsql/data
1 ./lib/pgsql/.bash_profile
1 ./lib/pgsql
1 ./lib/texmf/ls-R
1 ./lib/texmf
1 ./lib/webalizer/webalizer.current
1 ./lib/webalizer/webalizer.hist
1 ./lib/webalizer
1 ./lib/random-seed
1 ./lib/mysql/mysql/db.frm
1 ./lib/mysql/mysql/db.MYI
1 ./lib/mysql/mysql/db.MYD
1 ./lib/mysql/mysql/host.frm
1 ./lib/mysql/mysql/host.MYI
0 ./lib/mysql/mysql/host.MYD
1 ./lib/mysql/mysql/user.frm
1 ./lib/mysql/mysql/user.MYI
1 ./lib/mysql/mysql/user.MYD
1 ./lib/mysql/mysql/func.frm
1 ./lib/mysql/mysql/func.MYI
0 ./lib/mysql/mysql/func.MYD
1 ./lib/mysql/mysql/tables_priv.frm
1 ./lib/mysql/mysql/tables_priv.MYI
0 ./lib/mysql/mysql/tables_priv.MYD
1 ./lib/mysql/mysql/columns_priv.frm
1 ./lib/mysql/mysql/columns_priv.MYI
0 ./lib/mysql/mysql/columns_priv.MYD
1 ./lib/mysql/mysql
1 ./lib/mysql/test
0 ./lib/mysql/mysql.sock
1 ./lib/mysql/.mysql_history
1 ./lib/mysql/.bash_history
1 ./lib/mysql/frebbs
1 ./lib/mysql/stock
1 ./lib/mysql/user
1 ./lib/mysql
17 ./lib
1 ./log/fax
0 ./log/spooler
1 ./log/cups
1 ./log/vbox
1 ./log/httpd/ssl_engine_log
1 ./log/httpd/ssl_request_log
0 ./log/httpd/ssl_mutex.11177
0 ./log/httpd/ssl_mutex.6680
0 ./log/httpd/ssl_mutex.19839
0 ./log/httpd/ssl_mutex.20771
0 ./log/httpd/ssl_mutex.21585
0 ./log/httpd/ssl_mutex.22684
0 ./log/httpd/ssl_mutex.30884
0 ./log/httpd/ssl_mutex.1027
0 ./log/httpd/ssl_mutex.5758
0 ./log/httpd/ssl_mutex.21753
0 ./log/httpd/ssl_mutex.30705
0 ./log/httpd/ssl_mutex.447
0 ./log/httpd/ssl_mutex.1663
0 ./log/httpd/ssl_mutex.9137
0 ./log/httpd/ssl_mutex.21530
0 ./log/httpd/ssl_mutex.1014
0 ./log/httpd/ssl_mutex.1081
0 ./log/httpd/ssl_mutex.962
0 ./log/httpd/ssl_mutex.1107
0 ./log/httpd/ssl_mutex.1335
0 ./log/httpd/ssl_mutex.10272
0 ./log/httpd/ssl_mutex.907
0 ./log/httpd/ssl_mutex.11492
0 ./log/httpd/ssl_mutex.28119
0 ./log/httpd/ssl_mutex.5135
0 ./log/httpd/ssl_mutex.6570
0 ./log/httpd/ssl_mutex.7036
0 ./log/httpd/ssl_mutex.7251
0 ./log/httpd/ssl_mutex.21739
0 ./log/httpd/ssl_mutex.3144
0 ./log/httpd/ssl_mutex.10732
0 ./log/httpd/ssl_mutex.15602
0 ./log/httpd/ssl_mutex.16438
0 ./log/httpd/ssl_mutex.18254
0 ./log/httpd/ssl_mutex.22876
0 ./log/httpd/ssl_mutex.5316
0 ./log/httpd/ssl_mutex.24858
0 ./log/httpd/ssl_mutex.24913
0 ./log/httpd/ssl_mutex.25024
0 ./log/httpd/ssl_mutex.25727
0 ./log/httpd/ssl_mutex.25857
0 ./log/httpd/ssl_mutex.9693
0 ./log/httpd/ssl_mutex.1131
0 ./log/httpd/ssl_mutex.2247
0 ./log/httpd/ssl_mutex.1082
0 ./log/httpd/ssl_mutex.2158
1 ./log/httpd/a
1 ./log/httpd/.swp
0 ./log/httpd/ssl_mutex.7559
0 ./log/httpd/ssl_mutex.9319
0 ./log/httpd/ssl_mutex.12708
0 ./log/httpd/ssl_mutex.29299
0 ./log/httpd/ssl_mutex.32649
0 ./log/httpd/ssl_mutex.818
0 ./log/httpd/ssl_mutex.1752
0 ./log/httpd/ssl_mutex.3117
0 ./log/httpd/ssl_mutex.3335
0 ./log/httpd/ssl_mutex.3457
0 ./log/httpd/ssl_mutex.3612
0 ./log/httpd/ssl_mutex.1096
0 ./log/httpd/ssl_mutex.1455
0 ./log/httpd/ssl_mutex.10564
0 ./log/httpd/ssl_mutex.12965
0 ./log/httpd/ssl_mutex.14407
0 ./log/httpd/ssl_mutex.14618
0 ./log/httpd/ssl_mutex.923
0 ./log/httpd/ssl_mutex.965
0 ./log/httpd/ssl_mutex.903
0 ./log/httpd/ssl_mutex.917
0 ./log/httpd/ssl_mutex.906
0 ./log/httpd/ssl_mutex.1121
0 ./log/httpd/ssl_mutex.966
0 ./log/httpd/ssl_mutex.1673
0 ./log/httpd/ssl_mutex.21151
0 ./log/httpd/ssl_mutex.21493
0 ./log/httpd/ssl_mutex.9599
0 ./log/httpd/ssl_mutex.12722
0 ./log/httpd/ssl_mutex.22377
0 ./log/httpd/ssl_mutex.31450
0 ./log/httpd/ssl_mutex.908
0 ./log/httpd/ssl_mutex.914
0 ./log/httpd/ssl_mutex.7219
0 ./log/httpd/ssl_mutex.944
0 ./log/httpd/ssl_scache.pag
0 ./log/httpd/ssl_scache.dir
1 ./log/httpd
0 ./log/pgsql
1 ./log/squid
1 ./log/sa/sa30
1 ./log/sa/sa31
1 ./log/sa/sa01
1 ./log/sa/sar01
1 ./log/sa/sa02
1 ./log/sa/sar02
1 ./log/sa/sa03
1 ./log/sa/sa04
1 ./log/sa/sa05
1 ./log/sa/sa
1 ./log/sa/sa28
1 ./log/sa/sar28
1 ./log/sa/sa29
1 ./log/sa/sar29
1 ./log/sa/sar30
1 ./log/sa/sar31
1 ./log/sa/sar03
1 ./log/sa/sar05
4 ./log/sa
1 ./log/dmesg
1 ./log/ksyms.0
1 ./log/cron
1 ./log/ksyms.1
1 ./log/ksyms.2
1 ./log/ksyms.3
1 ./log/rpmpkgs
1 ./log/rpmpkgs.1
0 ./log/spooler.1
1 ./log/ksyms.4
1 ./log/ksyms.5
1 ./log/rpmpkgs.2
0 ./log/spooler.2
1 ./log/ksyms.6
1 ./log/rpmpkgs.3
0 ./log/spooler.3
1 ./log/rpmpkgs.4
0 ./log/spooler.4
5 ./log
1 ./cache/man/X11R6/cat1
1 ./cache/man/X11R6/cat2
1 ./cache/man/X11R6/cat3
1 ./cache/man/X11R6/cat4
1 ./cache/man/X11R6/cat5
1 ./cache/man/X11R6/cat6
1 ./cache/man/X11R6/cat7
1 ./cache/man/X11R6/cat8
1 ./cache/man/X11R6/cat9
1 ./cache/man/X11R6/catn
1 ./cache/man/X11R6
1 ./cache/man/cat1
1 ./cache/man/cat2
1 ./cache/man/cat3
1 ./cache/man/cat4
1 ./cache/man/cat5
|
inode满了吧。
|
tune2fs -l /dev/ (/var分区的设备名)
看看到底是inode满了,还是block满了。
看看到底是inode满了,还是block满了。
|
log?
|
查询当前目录下大于100k的文件
find ./ -size +100k
find ./ -size +100k