[CentOS-es] Servidor in espacio

Oscar Segarra oscar.segarra en gmail.com
Jue Feb 9 18:53:27 UTC 2017


Adjunto la respuesta.

[root en vdicnode02 /]# find / -type f -size +100000k -exec ls -lh {} \; | awk
'{ print $9 ": " $5 }'
/proc/kcore: 128T
find: ‘/proc/103859/task/103859/fdinfo/6’: No such file or directory
find: ‘/proc/103859/fdinfo/6’: No such file or directory
/sys/devices/pci0000:00/0000:00:0f.0/resource1_wc: 128M
/sys/devices/pci0000:00/0000:00:0f.0/resource1: 128M
/usr/lib/locale/locale-archive: 102M
[root en vdicnode02 /]#


El 9 de febrero de 2017, 19:48, Efraín Déctor <efraindector en motumweb.com>
escribió:

> Hola.
>
> Y si intentas este comando:
>
> find / -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5
> }'
>
> Saludos
>
>
> El 09/02/2017 a las 12:32 p. m., Oscar Segarra escribió:
>
>> Buenas,
>>
>> Me encuentro que mi servidor virtual no tiene espacio pero no soy capaz de
>> encontrar en que lugar se está consumiendo:
>>
>> [root en vdicnode02 /]# df -h
>> Filesystem                          Size  Used Avail Use% Mounted on
>> */dev/mapper/centos_vdicnode02-root   18G   18G   20K 100% /*
>> devtmpfs                            1.9G     0  1.9G   0% /dev
>> tmpfs                               1.9G   39M  1.9G   3% /dev/shm
>> tmpfs                               1.9G   73M  1.8G   4% /run
>> tmpfs                               1.9G     0  1.9G   0% /sys/fs/cgroup
>> /dev/sdb1                            40G   33M   40G   1% /vdic-mgmt-vm
>> /dev/sdd1                           100G   33M  100G   1% /vdic-vm
>> /dev/sda1                           497M  170M  327M  35% /boot
>> tmpfs                               378M     0  378M   0% /run/user/0
>> [root en vdicnode02 /]#
>>
>>
>> [root en vdicnode02 /]# df -i
>> Filesystem                           Inodes IUsed    IFree IUse% Mounted
>> on
>> */dev/mapper/centos_vdicnode02-root    53840 52528     1312   98% /*
>>
>> devtmpfs                             477910   421   477489    1% /dev
>> tmpfs                                483368    87   483281    1% /dev/shm
>> tmpfs                                483368   589   482779    1% /run
>> tmpfs                                483368    13   483355    1%
>> /sys/fs/cgroup
>> /dev/sdb1                          20971008    27 20970981    1%
>> /vdic-mgmt-vm
>> /dev/sdd1                          52428288     3 52428285    1% /vdic-vm
>> /dev/sda1                            512000   381   511619    1% /boot
>> tmpfs                                483368     1   483367    1%
>> /run/user/0
>>
>> [root en vdicnode02 /]# du -h --max-depth=1
>> 145M    ./boot
>> 8.1M    ./dev
>> du: cannot access ‘./proc/103677/task/103677/fd/4’: No such file or
>> directory
>> du: cannot access ‘./proc/103677/task/103677/fdinfo/4’: No such file or
>> directory
>> du: cannot access ‘./proc/103677/fd/4’: No such file or directory
>> du: cannot access ‘./proc/103677/fdinfo/4’: No such file or directory
>> 0       ./proc
>> 81M     ./run
>> 0       ./sys
>> 31M     ./etc
>> 6.3M    ./root
>> 8.0K    ./tmp
>> 135M    ./var
>> 1.3G    ./usr
>> 0       ./home
>> 0       ./media
>> 0       ./mnt
>> 3.0M    ./opt
>> 0       ./srv
>> 20K     ./vdic-mgmt-repo
>> 64K     ./vdic-mgmt-vm
>> 0       ./vdic-images
>> 0       ./vdic-vm
>> *1.7G    .*
>>
>> Cualquier ayuda será bienvenida.
>>
>> Un saludo y muchas gracias de antemano
>> _______________________________________________
>> CentOS-es mailing list
>> CentOS-es en centos.org
>> https://lists.centos.org/mailman/listinfo/centos-es
>>
>
> _______________________________________________
> CentOS-es mailing list
> CentOS-es en centos.org
> https://lists.centos.org/mailman/listinfo/centos-es
>


Más información sobre la lista de distribución CentOS-es