sergiofernando
(usa Debian)
Enviado em 06/11/2015 - 10:08h
Acontece que lotou novamente a ponto de não conseguir completar um comando com TAB pois diz que o disco esta cheio. Tomei a liberdade de já fazer todos os comandos que já haviam mandado eu fazer no último post para ver se já adianta alguma coisa.
Se puderem me ajudar mais uma vez eu agradeceria demais. Acham que se eu tirar o modo gráfico esse rootfs para de aumentar tanto assim? O que faz ele encher?
root@server:~# du -h --max-depth=1 /var
139M /var/cache
236K /var/webmin
4,0K /var/opt
280M /var/lib
1,1M /var/spool
4,0K /var/local
1,9G /var/log
12K /var/samba
12K /var/www
6,7M /var/backups
4,0K /var/tmp
4,0K /var/mail
2,3G /var
root@server:~# df -h
Sist. Arq. Tam Usad Dispon. Uso% Montado em
rootfs 9,2G 9,2G 0 100% /
udev 10M 16K 10M 1% /dev
tmpfs 397M 7,6M 390M 2% /run
/dev/disk/by-uuid/d749ba93-9610-4b3d-90c1-73f4f45a8c96 9,2G 9,2G 0 100% /
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 2,4G 4,0K 2,4G 1% /run/shm
/dev/sda6 900G 770G 85G 91% /home
/dev/sdb1 1,9T 900G 964G 49% /media/hd-externo-ste
10.62.0.124:/disk-3/scanner2 1,4T 891G 507G 64% /home/supervisora/scanner
root@server:~# du -h --max-depth=1 /var
139M /var/cache
236K /var/webmin
4,0K /var/opt
280M /var/lib
1,1M /var/spool
4,0K /var/local
1,9G /var/log
12K /var/samba
12K /var/www
6,7M /var/backups
4,0K /var/tmp
4,0K /var/mail
2,3G /var
root@server:~# du -h --max-depth=1 /
18M /boot
4,0K /selinux
4,0K /lib64
7,3M /sbin
4,0K /opt
7,6M /run
771G /home
du: impossível acessar "/proc/18230/task/18230/fd/11": Arquivo ou diretório não encontrado
du: impossível acessar "/proc/18230/task/18230/fdinfo/11": Arquivo ou diretório não encontrado
du: impossível acessar "/proc/18230/fd/11": Arquivo ou diretório não encontrado
du: impossível acessar "/proc/18230/fdinfo/11": Arquivo ou diretório não encontrado
0 /proc
4,0K /srv
16K /dev
129M /lib
2,3G /usr
2,3G /var
22M /etc
4,0K /mnt
7,7M /root
16K /lost+found
896G /media
0 /sys
4,0K /share
88K /tmp
7,5M /bin
1,7T /
root@server:~# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953523055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00006ff3
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 19531775 9764864 83 Linux
/dev/sda2 19533822 1953521663 966993921 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 19533824 36300799 8383488 82 Linux swap / Solaris
/dev/sda6 36302848 1953521663 958609408 83 Linux
Note: sector size is 4096 (not 512)
Disk /dev/sdb: 2000.4 GB, 2000398929920 bytes
255 heads, 63 sectors/track, 30400 cylinders, total 488378645 sectors
Units = sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x90adde5f
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 488378644 1953506388 7 HPFS/NTFS/exFAT
root@server:~# ls -lhat /
total 104K
drwxrwxrwt 12 root root 4,0K Nov 4 15:39 tmp
drwxr-xr-x 124 root root 12K Out 27 17:14 etc
drwxr-xr-x 15 root root 3,4K Out 27 16:47 dev
drwx------ 23 root root 4,0K Out 27 16:43 root
drwxr-xr-x 25 root root 940 Out 12 20:30 run
drwxr-xr-x 13 root root 0 Out 9 08:06 sys
dr-xr-xr-x 244 root root 0 Out 9 08:06 proc
drwxrwxrwx 23 root root 4,0K Set 16 10:23 home
drwxr-xr-x 24 root root 4,0K Ago 14 15:32 .
drwxr-xr-x 24 root root 4,0K Ago 14 15:32 ..
drwxr-xr-x 4 root root 4,0K Ago 12 10:09 media
drwxr-xr-x 13 root root 4,0K Jul 21 14:46 lib
drwxr-xr-x 2 root root 4,0K Jul 21 14:46 sbin
drwxr-xr-x 2 root root 4,0K Abr 14 2015 bin
drwxr-xr-x 3 root root 4,0K Abr 14 2015 boot
-rw-r--r-- 1 root root 2,1K Abr 14 2015 webmin-setup.out
drwxr-xr-x 14 root root 4,0K Abr 14 2015 var
drwxr-xr-x 2 root root 4,0K Abr 13 2015 share
drwxr-xr-x 2 root root 4,0K Abr 7 2015 lib64
lrwxrwxrwx 1 root root 30 Abr 7 2015 initrd.img -> /boot/initrd.img-3.2.0-4-amd64
lrwxrwxrwx 1 root root 26 Abr 7 2015 vmlinuz -> boot/vmlinuz-3.2.0-4-amd64
drwxr-xr-x 10 root root 4,0K Abr 7 2015 usr
drwxr-xr-x 2 root root 4,0K Abr 7 2015 opt
drwxr-xr-x 2 root root 4,0K Abr 7 2015 srv
drwx------ 2 root root 16K Abr 7 2015 lost+found
drwxr-xr-x 2 root root 4,0K Dez 24 2014 mnt
drwxr-xr-x 2 root root 4,0K Jun 10 2012 selinux
root@server:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=d749ba93-9610-4b3d-90c1-73f4f45a8c96 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda6 during installation
UUID=02370851-eb08-44f8-bb98-375b182f3c9a /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=98028c5e-6731-4a36-9986-c2d4324fc097 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
10.62.0.124:/disk-3/scanner2 /home/supervisora/scanner nfs rw,sync,auto 0 0
UUID=34D27CD0D27C9836 /media/hd-externo-ste ntfs users,rw,auto 0 0
Segue também meu crontab
root@server:~# crontab -l
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
00 7 * * 3 freshclam
00 18 * * 3 clamscan -r /home/supervisora --move=/home/quarentena
30 9,12,15,18 * * 1,3,5 rsync -Crav --update /home/supervisora/ /media/hd-externo-ste/
00 20 * * 1,3,5 /etc/init.d/squid3 stop
10 20 * * 1,3,5 rm -rf /var/spool/squid3/*
20 20 * * 1,3,5 squid3 -z
30 20 * * 1,3,5 /etc/init.d/squid3 start
00 20 * * 1,3,5 rm -rfv /var/mail/*