[CentOS-es] Servidor in espacio
Oscar Segarra
oscar.segarra en gmail.com
Jue Feb 9 19:01:34 UTC 2017
[root en vdicnode02 /]# du -sh *
0 bin
145M boot
8.1M dev
31M etc
0 home
0 lib
0 lib64
0 media
0 mnt
3.0M opt
du: cannot access ‘proc/103956/task/103956/fd/4’: No such file or directory
du: cannot access ‘proc/103956/task/103956/fdinfo/4’: No such file or
directory
du: cannot access ‘proc/103956/fd/4’: No such file or directory
du: cannot access ‘proc/103956/fdinfo/4’: No such file or directory
0 proc
6.3M root
81M run
0 sbin
0 srv
0 sys
8.0K tmp
1.3G usr
135M var
0 vdic-images
20K vdic-mgmt-repo
64K vdic-mgmt-vm
0 vdic-vm
[root en vdicnode02 /]#
2017-02-09 20:00 GMT+01:00 Mauricio Pastorini <mpastorini en soporte-online.cl>
:
> Oscar, prueba comando du -sh *
>
> root en vps1 [~]# du -sh *
> 4.0K anaconda-ks.cfg
> 128K cmc
> 160K cmm
> 116K cmq
> 12K cpanel3-skel
> 3.2M csf
> 4.0K installer.lock
> 32K install.log
> 8.0K install.log.syslog
> 28K latest
> 956K mauricio_odoo
> 40K php.ini.new
> 40K php.ini.orig
> 4.0K public_ftp
> 8.0K public_html
> 124M Python-2.7.11
> 17M Python-2.7.11.tgz
> 16M Python-2.7.9.tgz
> 4.0K temporal012015.txt
> 3.1M tmp
>
>
> 2017-02-09 15:53 GMT-03:00 Oscar Segarra <oscar.segarra en gmail.com>:
>
> > 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
> > >
> > _______________________________________________
> > CentOS-es mailing list
> > CentOS-es en centos.org
> > https://lists.centos.org/mailman/listinfo/centos-es
> >
>
>
>
> --
> *Mauricio Pastorini Torres*
> Ingeniero Civil Informático
> *Sistemas de Gestión Online Ltda.*
> http://www.gestion-online.cl
> twitter: *@mauricio1964*
> E-Mail: mpastorini en soporte-online.cl <mpastorini en soporte-online.cl>
> *+56 9 9999 7439*
> _______________________________________________
> 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