[NUUG fiksgatami] Hva kan slettes fra FiksGataMi-disken?
Petter Reinholdtsen
pere at hungry.com
Sat Mar 18 13:44:28 CET 2017
Nagios melder at disken til fiksgatami-maskinen er ganske full. Det er
bare ca. 5% igjen før /var/ er helt full:
root at fiksgatami-prod:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 1.9G 374M 1.4G 22% /
udev 10M 0 10M 0% /dev
tmpfs 202M 280K 202M 1% /run
/dev/mapper/vg_system-root 1.9G 374M 1.4G 22% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 403M 0 403M 0% /run/shm
/dev/vda1 276M 30M 233M 12% /boot
/dev/mapper/vg_system-srv 1.9G 935M 845M 53% /srv
/dev/mapper/vg_system-usr 3.7G 1.2G 2.4G 33% /usr
/dev/mapper/vg_system-var 19G 17G 1.2G 94% /var
/dev/mapper/vg_system-var_log 1.9G 60M 1.7G 4% /var/log
root at fiksgatami-prod:~# du -xm /var/|sort -nr|head -30
16423 /var/
15705 /var/www
15665 /var/www/fiksgatami.no
8544 /var/www/fiksgatami.no/fixmystreet
8330 /var/www/fiksgatami.no/fixmystreet/web
8253 /var/www/fiksgatami.no/fixmystreet/web/photo
6965 /var/www/fiksgatami.no/upload
1701 /var/www/fiksgatami.no/fixmystreet/web/photo/c
676 /var/lib
479 /var/lib/postgresql/9.1/main
479 /var/lib/postgresql/9.1
479 /var/lib/postgresql
351 /var/lib/postgresql/9.1/main/base
311 /var/lib/postgresql/9.1/main/base/36286
148 /var/lib/apt/lists
148 /var/lib/apt
129 /var/lib/postgresql/9.1/main/pg_xlog
104 /var/www/fiksgatami.no/fixmystreet/local
83 /var/www/fiksgatami.no/fixmystreet/.git
78 /var/www/fiksgatami.no/fixmystreet/.git/objects
77 /var/www/fiksgatami.no/fixmystreet/local/lib/perl5
77 /var/www/fiksgatami.no/fixmystreet/local/lib
77 /var/www/fiksgatami.no/fixmystreet/.git/objects/pack
74 /var/www/fiksgatami.no/cache/osm
74 /var/www/fiksgatami.no/cache
72 /var/www/fiksgatami.no/logs
70 /var/www/fiksgatami.no/fixmystreet/web/cobrands
42 /var/www/fiksgatami.no/fixmystreet/local/lib/perl5/x86_64-linux-gnu-thread-multi
40 /var/www/mapit.nuug.no
40 /var/www/fiksgatami.no/fixmystreet/web/cobrands/fixmystreet.com
root at fiksgatami-prod:~# vgs
VG #PV #LV #SN Attr VSize VFree
vg_system 1 6 0 wz--n- 29.72g 60.00m
root at fiksgatami-prod:~#
LVM-volumgruppen er som en kan se desverre tom. Noen som vet om noen av
filene under uploads/ eller photo trygt kan slettes?
--
Vennlig hilsen
Petter Reinholdtsen
More information about the fiksgatami
mailing list