Re: [CentOS-es] Servidor in espacio
Tampoco es el caso [root@vdicnode02 ~]# lsof -Pn | grep -w -e DEL -e deleted sshd 105954 root DEL REG0,4 450143 /dev/zero sshd 105954 root DEL REG0,4 450124 /dev/zero [root@vdicnode02 ~]# El 10 de febrero de 2017, 18:41, Oscar Segarra escribió: > Tampoco es el caso: > > > El 10 de febrero de 2017, 18:40, Oscar Segarra > escribió: > >> Buenas, >> >> Tampoco es el caso... >> >> >> El 10 de febrero de 2017, 16:58, Ricardo J. Barberis < >> rica...@palmtx.com.ar> escribió: >> >>> Seguramente tienes algun archivo de log borrado cuyo file descriptor aun >>> esta >>> en uso. Prueba reiniciar los servicios que tengas corriendo y que puedan >>> haber estado logueando mucho (puedes ver los logs rotados en /var/log >>> para >>> encontrar al culpable). >>> >>> O busca los archivos borrados pero aun en uso con lsof: >>> >>> # lsof -Pn | grep -w -e DEL -e deleted >>> >>> >>> Saludos! >>> >>> El Jueves 09/02/2017, 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@vdicnode02 /]# df -h >>> > Filesystem Size Used Avail Use% Mounted on >>> > */dev/mapper/centos_vdicnode02-root 18G 18G 20K 100% /* >>> > devtmpfs1.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/sdb140G 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@vdicnode02 /]# >>> > >>> > >>> > [root@vdicnode02 /]# df -i >>> > Filesystem Inodes IUsedIFree IUse% >>> Mounted on >>> > */dev/mapper/centos_vdicnode02-root53840 52528 1312 98% /* >>> > devtmpfs 477910 421 4774891% /dev >>> > tmpfs48336887 4832811% >>> /dev/shm >>> > tmpfs483368 589 4827791% /run >>> > tmpfs48336813 4833551% >>> > /sys/fs/cgroup >>> > /dev/sdb1 2097100827 209709811% >>> > /vdic-mgmt-vm >>> > /dev/sdd1 52428288 3 524282851% >>> /vdic-vm >>> > /dev/sda1512000 381 5116191% /boot >>> > tmpfs483368 1 4833671% >>> > /run/user/0 >>> > >>> > [root@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 >>> -- >>> Ricardo J. Barberis >>> Usuario Linux Nº 250625: http://counter.li.org/ >>> Usuario LFS Nº 5121: http://www.linuxfromscratch.org/ >>> Senior SysAdmin / IT Architect - www.DonWeb.com >>> >> >> > ___ CentOS-es mailing list CentOS-es@centos.org https://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Servidor in espacio
Hola, Al final lo he solucionado. El problema estaba en el propio xfs. Al lanzar un xfs_repair ha quedado resuelto. Les invito a revisar este post: http://oss.sgi.com/archives/xfs/2016-07/msg00483.html Un saludo, El 10 de febrero de 2017, 18:41, Oscar Segarra escribió: > Tampoco es el caso > > [root@vdicnode02 ~]# lsof -Pn | grep -w -e DEL -e deleted > sshd 105954 root DEL REG0,4 > 450143 /dev/zero > sshd 105954 root DEL REG0,4 > 450124 /dev/zero > [root@vdicnode02 ~]# > > > El 10 de febrero de 2017, 18:41, Oscar Segarra > escribió: > >> Tampoco es el caso: >> >> >> El 10 de febrero de 2017, 18:40, Oscar Segarra >> escribió: >> >>> Buenas, >>> >>> Tampoco es el caso... >>> >>> >>> El 10 de febrero de 2017, 16:58, Ricardo J. Barberis < >>> rica...@palmtx.com.ar> escribió: >>> >>>> Seguramente tienes algun archivo de log borrado cuyo file descriptor >>>> aun esta >>>> en uso. Prueba reiniciar los servicios que tengas corriendo y que puedan >>>> haber estado logueando mucho (puedes ver los logs rotados en /var/log >>>> para >>>> encontrar al culpable). >>>> >>>> O busca los archivos borrados pero aun en uso con lsof: >>>> >>>> # lsof -Pn | grep -w -e DEL -e deleted >>>> >>>> >>>> Saludos! >>>> >>>> El Jueves 09/02/2017, 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@vdicnode02 /]# df -h >>>> > Filesystem Size Used Avail Use% Mounted on >>>> > */dev/mapper/centos_vdicnode02-root 18G 18G 20K 100% /* >>>> > devtmpfs1.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/sdb140G 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@vdicnode02 /]# >>>> > >>>> > >>>> > [root@vdicnode02 /]# df -i >>>> > Filesystem Inodes IUsedIFree IUse% >>>> Mounted on >>>> > */dev/mapper/centos_vdicnode02-root53840 52528 1312 98% /* >>>> > devtmpfs 477910 421 4774891% /dev >>>> > tmpfs48336887 4832811% >>>> /dev/shm >>>> > tmpfs483368 589 4827791% /run >>>> > tmpfs48336813 4833551% >>>> > /sys/fs/cgroup >>>> > /dev/sdb1 2097100827 209709811% >>>> > /vdic-mgmt-vm >>>> > /dev/sdd1 52428288 3 524282851% >>>> /vdic-vm >>>> > /dev/sda1512000 381 5116191% /boot >>>> > tmpfs483368 1 4833671% >>>> > /run/user/0 >>>> > >>>> > [root@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 >>>> -- >>>> Ricardo J. Barberis >>>> Usuario Linux Nº 250625: http://counter.li.org/ >>>> Usuario LFS Nº 5121: http://www.linuxfromscratch.org/ >>>> Senior SysAdmin / IT Architect - www.DonWeb.com >>>> >>> >>> >> > ___ CentOS-es mailing list CentOS-es@centos.org https://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Servidor in espacio
Tampoco es el caso: El 10 de febrero de 2017, 18:40, Oscar Segarra escribió: > Buenas, > > Tampoco es el caso... > > > El 10 de febrero de 2017, 16:58, Ricardo J. Barberis < > rica...@palmtx.com.ar> escribió: > >> Seguramente tienes algun archivo de log borrado cuyo file descriptor aun >> esta >> en uso. Prueba reiniciar los servicios que tengas corriendo y que puedan >> haber estado logueando mucho (puedes ver los logs rotados en /var/log para >> encontrar al culpable). >> >> O busca los archivos borrados pero aun en uso con lsof: >> >> # lsof -Pn | grep -w -e DEL -e deleted >> >> >> Saludos! >> >> El Jueves 09/02/2017, 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@vdicnode02 /]# df -h >> > Filesystem Size Used Avail Use% Mounted on >> > */dev/mapper/centos_vdicnode02-root 18G 18G 20K 100% /* >> > devtmpfs1.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/sdb140G 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@vdicnode02 /]# >> > >> > >> > [root@vdicnode02 /]# df -i >> > Filesystem Inodes IUsedIFree IUse% >> Mounted on >> > */dev/mapper/centos_vdicnode02-root53840 52528 1312 98% /* >> > devtmpfs 477910 421 4774891% /dev >> > tmpfs48336887 4832811% >> /dev/shm >> > tmpfs483368 589 4827791% /run >> > tmpfs48336813 4833551% >> > /sys/fs/cgroup >> > /dev/sdb1 2097100827 209709811% >> > /vdic-mgmt-vm >> > /dev/sdd1 52428288 3 524282851% >> /vdic-vm >> > /dev/sda1512000 381 5116191% /boot >> > tmpfs483368 1 4833671% >> > /run/user/0 >> > >> > [root@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 >> -- >> Ricardo J. Barberis >> Usuario Linux Nº 250625: http://counter.li.org/ >> Usuario LFS Nº 5121: http://www.linuxfromscratch.org/ >> Senior SysAdmin / IT Architect - www.DonWeb.com >> > > ___ CentOS-es mailing list CentOS-es@centos.org https://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Servidor in espacio
Buenas, Tampoco es el caso... El 10 de febrero de 2017, 16:58, Ricardo J. Barberis escribió: > Seguramente tienes algun archivo de log borrado cuyo file descriptor aun > esta > en uso. Prueba reiniciar los servicios que tengas corriendo y que puedan > haber estado logueando mucho (puedes ver los logs rotados en /var/log para > encontrar al culpable). > > O busca los archivos borrados pero aun en uso con lsof: > > # lsof -Pn | grep -w -e DEL -e deleted > > > Saludos! > > El Jueves 09/02/2017, 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@vdicnode02 /]# df -h > > Filesystem Size Used Avail Use% Mounted on > > */dev/mapper/centos_vdicnode02-root 18G 18G 20K 100% /* > > devtmpfs1.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/sdb140G 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@vdicnode02 /]# > > > > > > [root@vdicnode02 /]# df -i > > Filesystem Inodes IUsedIFree IUse% Mounted > on > > */dev/mapper/centos_vdicnode02-root53840 52528 1312 98% /* > > devtmpfs 477910 421 4774891% /dev > > tmpfs48336887 4832811% /dev/shm > > tmpfs483368 589 4827791% /run > > tmpfs48336813 4833551% > > /sys/fs/cgroup > > /dev/sdb1 2097100827 209709811% > > /vdic-mgmt-vm > > /dev/sdd1 52428288 3 524282851% /vdic-vm > > /dev/sda1512000 381 5116191% /boot > > tmpfs483368 1 4833671% > > /run/user/0 > > > > [root@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 > -- > Ricardo J. Barberis > Usuario Linux Nº 250625: http://counter.li.org/ > Usuario LFS Nº 5121: http://www.linuxfromscratch.org/ > Senior SysAdmin / IT Architect - www.DonWeb.com > ___ CentOS-es mailing list CentOS-es@centos.org https://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Servidor in espacio
Buenas Jorge, Si ejecuto su listado, aparecen muchos directorios que ocupan 0. He hecho el siguiente cambio que da el resultado que esperamos: [root@vdicnode02 /]# du -h /* | grep ^[0-9]*\.[0-9]G du: cannot access ‘/proc/104656/task/104656/fd/4’: No such file or directory du: cannot access ‘/proc/104656/task/104656/fdinfo/4’: No such file or directory du: cannot access ‘/proc/104656/fd/4’: No such file or directory du: cannot access ‘/proc/104656/fdinfo/4’: No such file or directory *1.3G/usr* [root@vdicnode02 /]# Un saludo, El 9 de febrero de 2017, 21:23, Jorge Sanchez escribió: > du -h /* | grep -v ^[0-9]*\.[0-9]K | grep -v ^[0-9]*\.[0-9]M > > No es muy elegante, pero te va a mostrar solo los directorios que > ocupen gigabytes. > > si queres ver los que ocupen Megabytes, cambia la M por G. > > grep -v es "excluir este patron" > > Saludos > > El día 9 de febrero de 2017, 17:11, Jorge Sanchez > escribió: > > df -h /* > > > > El día 9 de febrero de 2017, 17:06, Osmany Oconnor Estrada > > escribió: > >> para esto ncdu > >> > >> __ > >> Osmany Oconnor > >> > >> - Mensaje original - > >> De: "Miguel Gonzalez" > >> Para: centos-es@centos.org > >> Enviados: Jueves, 9 de Febrero 2017 15:02:39 > >> Asunto: Re: [CentOS-es] Servidor in espacio > >> > >> Du -sh te permite dar para una carpeta el espacio ocupado por cada > archivo y carpeta, p.ej: > >> > >> Du -sh /* te daría el listado en el raiz, ahí puedes ver que archivos o > subcarpetas que ocupan mas espacios, luego puedes ir una por una y entrar > en cada subcarpeta y ver donde hay subcarpetas mas llenas con du -sh * > >> > >> Oscar Segarra wrote: > >> > >>>Adjunto la respuesta. > >>> > >>>[root@vdicnode02 /]# find / -type f -size +10k -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/pci:00/:00:0f.0/resource1_wc: 128M > >>>/sys/devices/pci:00/:00:0f.0/resource1: 128M > >>>/usr/lib/locale/locale-archive: 102M > >>>[root@vdicnode02 /]# > >>> > >>> > >>>El 9 de febrero de 2017, 19:48, Efraín Déctor < > efraindec...@motumweb.com> > >>>escribió: > >>> > >>>> Hola. > >>>> > >>>> Y si intentas este comando: > >>>> > >>>> find / -type f -size +10k -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@vdicnode02 /]# df -h > >>>>> Filesystem Size Used Avail Use% Mounted on > >>>>> */dev/mapper/centos_vdicnode02-root 18G 18G 20K 100% /* > >>>>> devtmpfs1.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/sdb140G 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@vdicnode02 /]# > >>>>> > >>>>> > >>>>> [root@vdicnode02 /]# df -i > >>>>> Filesystem Inodes IUsedIFree IUse% > Mounted > >>>>> on > >>>>> */dev/mapper/centos_vdicnode02-root53840 52528 1312 98% /* > >>>>> > >>>>> devtmpfs 477910 421 4774891% /dev > >>>>> tmpfs
Re: [CentOS-es] Servidor in espacio
Buenas, Lo estoy ejecutando como usuario root: [root@vdicnode02 /]# du -h --max-depth=1 145M./boot 8.1M./dev du: cannot access ‘./proc/104196/task/104196/fd/4’: No such file or directory du: cannot access ‘./proc/104196/task/104196/fdinfo/4’: No such file or directory du: cannot access ‘./proc/104196/fd/4’: No such file or directory du: cannot access ‘./proc/104196/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. Gracias! El 9 de febrero de 2017, 20:29, José María Terry Jiménez escribió: > Yo probaría (como root para evitar problemas de permisos) > > cd / > > du -h --max-depth=1 > > Eso te dará directorio a directorio lo que ocupa en total, cuando veas uno > grande cambias a el y repites el du > > (Por ejemplo si /var te aparece con un tamaño exagerado) > > cd /var > > du -h --max-depth=1 > > > El 9/2/17 a las 19:53, Oscar Segarra escribió: > > Adjunto la respuesta. >> >> [root@vdicnode02 /]# find / -type f -size +10k -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/pci:00/:00:0f.0/resource1_wc: 128M >> /sys/devices/pci:00/:00:0f.0/resource1: 128M >> /usr/lib/locale/locale-archive: 102M >> [root@vdicnode02 /]# >> >> >> El 9 de febrero de 2017, 19:48, Efraín Déctor >> escribió: >> >> Hola. >>> >>> Y si intentas este comando: >>> >>> find / -type f -size +10k -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@vdicnode02 /]# df -h >>>> Filesystem Size Used Avail Use% Mounted on >>>> */dev/mapper/centos_vdicnode02-root 18G 18G 20K 100% /* >>>> devtmpfs1.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/sdb140G 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@vdicnode02 /]# >>>> >>>> >>>> [root@vdicnode02 /]# df -i >>>> Filesystem Inodes IUsedIFree IUse% Mounted >>>> on >>>> */dev/mapper/centos_vdicnode02-root53840 52528 1312 98% /* >>>> >>>> devtmpfs 477910 421 4774891% /dev >>>> tmpfs48336887 4832811% >>>> /dev/shm >>>> tmpfs483368 589 4827791% /run >>>> tmpfs48336813 4833551% >>>> /sys/fs/cgroup >>>> /dev/sdb1 2097100827 209709811% >>>> /vdic-mgmt-vm >>>> /dev/sdd1 52428288 3 524282851% >>>> /vdic-vm >>>> /dev/sda1512000 381 5116191% /boot >>>> tmpfs483368 1 4833671% >>>> /run/user/0 >>>> >>>> [root@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
Re: [CentOS-es] Servidor in espacio
[root@vdicnode02 /]# du -sh * 0 bin 145Mboot 8.1Mdev 31M etc 0 home 0 lib 0 lib64 0 media 0 mnt 3.0Mopt 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.3Mroot 81M run 0 sbin 0 srv 0 sys 8.0Ktmp 1.3Gusr 135Mvar 0 vdic-images 20K vdic-mgmt-repo 64K vdic-mgmt-vm 0 vdic-vm [root@vdicnode02 /]# 2017-02-09 20:00 GMT+01:00 Mauricio Pastorini : > Oscar, prueba comando du -sh * > > root@vps1 [~]# du -sh * > 4.0Kanaconda-ks.cfg > 128Kcmc > 160Kcmm > 116Kcmq > 12K cpanel3-skel > 3.2Mcsf > 4.0Kinstaller.lock > 32K install.log > 8.0Kinstall.log.syslog > 28K latest > 956Kmauricio_odoo > 40K php.ini.new > 40K php.ini.orig > 4.0Kpublic_ftp > 8.0Kpublic_html > 124MPython-2.7.11 > 17M Python-2.7.11.tgz > 16M Python-2.7.9.tgz > 4.0Ktemporal012015.txt > 3.1Mtmp > > > 2017-02-09 15:53 GMT-03:00 Oscar Segarra : > > > Adjunto la respuesta. > > > > [root@vdicnode02 /]# find / -type f -size +10k -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/pci:00/:00:0f.0/resource1_wc: 128M > > /sys/devices/pci:00/:00:0f.0/resource1: 128M > > /usr/lib/locale/locale-archive: 102M > > [root@vdicnode02 /]# > > > > > > El 9 de febrero de 2017, 19:48, Efraín Déctor > > > escribió: > > > > > Hola. > > > > > > Y si intentas este comando: > > > > > > find / -type f -size +10k -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@vdicnode02 /]# df -h > > >> Filesystem Size Used Avail Use% Mounted on > > >> */dev/mapper/centos_vdicnode02-root 18G 18G 20K 100% /* > > >> devtmpfs1.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/sdb140G 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@vdicnode02 /]# > > >> > > >> > > >> [root@vdicnode02 /]# df -i > > >> Filesystem Inodes IUsedIFree IUse% > Mounted > > >> on > > >> */dev/mapper/centos_vdicnode02-root53840 52528 1312 98% /* > > >> > > >> devtmpfs 477910 421 4774891% /dev > > >> tmpfs48336887 4832811% > > /dev/shm > > >> tmpfs483368 589 4827791% /run > > >> tmpfs48336813 4833551% > > >> /sys/fs/cgroup > > >> /dev/sdb1 2097100827 209709811% > > >> /vdic-mgmt-vm > > >> /dev/sdd1 52428288 3 524282851% > > /vdic-vm > > >> /dev/sda1512000 381 5116191% /boot > > >> tmpfs483368 1 4833671% > > >> /run/user/0 > > >> > > >> [root@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
Re: [CentOS-es] Servidor in espacio
Disculpen, no se si ha llegado este email... [root@vdicnode02 /]# du -sh * 0 bin 145Mboot 8.1Mdev 31M etc 0 home 0 lib 0 lib64 0 media 0 mnt 3.0Mopt 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.3Mroot 81M run 0 sbin 0 srv 0 sys 8.0Ktmp 1.3Gusr 135Mvar 0 vdic-images 20K vdic-mgmt-repo 64K vdic-mgmt-vm 0 vdic-vm [root@vdicnode02 /]# 2017-02-09 20:01 GMT+01:00 Oscar Segarra : > [root@vdicnode02 /]# du -sh * > 0 bin > 145Mboot > 8.1Mdev > 31M etc > 0 home > 0 lib > 0 lib64 > 0 media > 0 mnt > 3.0Mopt > 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.3Mroot > 81M run > 0 sbin > 0 srv > 0 sys > 8.0Ktmp > 1.3Gusr > 135Mvar > 0 vdic-images > 20K vdic-mgmt-repo > 64K vdic-mgmt-vm > 0 vdic-vm > [root@vdicnode02 /]# > > > 2017-02-09 20:00 GMT+01:00 Mauricio Pastorini < > mpastor...@soporte-online.cl>: > >> Oscar, prueba comando du -sh * >> >> root@vps1 [~]# du -sh * >> 4.0Kanaconda-ks.cfg >> 128Kcmc >> 160Kcmm >> 116Kcmq >> 12K cpanel3-skel >> 3.2Mcsf >> 4.0Kinstaller.lock >> 32K install.log >> 8.0Kinstall.log.syslog >> 28K latest >> 956Kmauricio_odoo >> 40K php.ini.new >> 40K php.ini.orig >> 4.0Kpublic_ftp >> 8.0Kpublic_html >> 124MPython-2.7.11 >> 17M Python-2.7.11.tgz >> 16M Python-2.7.9.tgz >> 4.0Ktemporal012015.txt >> 3.1Mtmp >> >> >> 2017-02-09 15:53 GMT-03:00 Oscar Segarra : >> >> > Adjunto la respuesta. >> > >> > [root@vdicnode02 /]# find / -type f -size +10k -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/pci:00/:00:0f.0/resource1_wc: 128M >> > /sys/devices/pci:00/:00:0f.0/resource1: 128M >> > /usr/lib/locale/locale-archive: 102M >> > [root@vdicnode02 /]# >> > >> > >> > El 9 de febrero de 2017, 19:48, Efraín Déctor < >> efraindec...@motumweb.com> >> > escribió: >> > >> > > Hola. >> > > >> > > Y si intentas este comando: >> > > >> > > find / -type f -size +10k -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@vdicnode02 /]# df -h >> > >> Filesystem Size Used Avail Use% Mounted on >> > >> */dev/mapper/centos_vdicnode02-root 18G 18G 20K 100% /* >> > >> devtmpfs1.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/sdb140G 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@vdicnode02 /]# >> > >> >> > >> >> > >> [root
Re: [CentOS-es] Servidor in espacio
[root@vdicnode02 /]# df -h | awk '{print $5 " " $6}' | sort -n | tail -5 1% /vdic-mgmt-vm 1% /vdic-vm 5% /run 35% /boot 100% / [root@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/103916/task/103916/fd/4’: No such file or directory du: cannot access ‘/proc/103916/task/103916/fdinfo/4’: No such file or directory du: cannot access ‘/proc/103916/fd/4’: No such file or directory du: cannot access ‘/proc/103916/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@vdicnode02 /]# El 9 de febrero de 2017, 19:53, César Martinez < cmarti...@servicomecuador.com> escribió: > Puede ser > > df -h | awk '{print $5 " " $6}' | sort -n | tail -5 > > o > > du -sh /* > > -- > |Saludos Cordiales > |César Martínez M. | Ingeniero de Sistemas > |Consultor & Proyectos Software Libre| SERVICOM > |Tel: (593-2)554-271 2221-386 | Ext 4501 > |Celular:(593 999374317 |Skype servicomecuador > |Web www.servicomecuador.com Síguenos en: > |Twitter: @servicomecuador |Facebook: servicomec > |Zona Clientes: www.servicomecuador.com/billing > |Blog: http://servicomecuador.com/blog > |Dir. Av. 10 de Agosto N29-140 Entre > |Acuña y Cuero y Caicedo > |Quito - Ecuador - Sudamérica > > El 09/02/17 a las 13:48, Efraín Déctor escribió: > > Hola. >> >> Y si intentas este comando: >> >> find / -type f -size +10k -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@vdicnode02 /]# df -h >>> Filesystem Size Used Avail Use% Mounted on >>> */dev/mapper/centos_vdicnode02-root 18G 18G 20K 100% /* >>> devtmpfs1.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/sdb140G 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@vdicnode02 /]# >>> >>> >>> [root@vdicnode02 /]# df -i >>> Filesystem Inodes IUsedIFree IUse% Mounted >>> on >>> */dev/mapper/centos_vdicnode02-root53840 52528 1312 98% /* >>> devtmpfs 477910 421 4774891% /dev >>> tmpfs48336887 4832811% /dev/shm >>> tmpfs483368 589 4827791% /run >>> tmpfs48336813 4833551% >>> /sys/fs/cgroup >>> /dev/sdb1 2097100827 209709811% >>> /vdic-mgmt-vm >>> /dev/sdd1 52428288 3 524282851% /vdic-vm >>> /dev/sda1512000 381 5116191% /boot >>> tmpfs483368 1 4833671% >>> /run/user/0 >>> >>> [root@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@centos.org >>> https://lists.centos.org/mailman/listinfo/centos-es >>> >> >> ___ >> CentOS-es mailing list >> CentOS-es@centos.org >> https://lists.centos.org/mailman/listinfo/centos-es >> > > ___ > CentOS-es mailing list > CentOS-es@centos.org > https://lists.centos.org/mailman/listinfo/centos-es > ___ CentOS-es mailing list CentOS-es@centos.org https://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Servidor in espacio
Adjunto la respuesta. [root@vdicnode02 /]# find / -type f -size +10k -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/pci:00/:00:0f.0/resource1_wc: 128M /sys/devices/pci:00/:00:0f.0/resource1: 128M /usr/lib/locale/locale-archive: 102M [root@vdicnode02 /]# El 9 de febrero de 2017, 19:48, Efraín Déctor escribió: > Hola. > > Y si intentas este comando: > > find / -type f -size +10k -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@vdicnode02 /]# df -h >> Filesystem Size Used Avail Use% Mounted on >> */dev/mapper/centos_vdicnode02-root 18G 18G 20K 100% /* >> devtmpfs1.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/sdb140G 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@vdicnode02 /]# >> >> >> [root@vdicnode02 /]# df -i >> Filesystem Inodes IUsedIFree IUse% Mounted >> on >> */dev/mapper/centos_vdicnode02-root53840 52528 1312 98% /* >> >> devtmpfs 477910 421 4774891% /dev >> tmpfs48336887 4832811% /dev/shm >> tmpfs483368 589 4827791% /run >> tmpfs48336813 4833551% >> /sys/fs/cgroup >> /dev/sdb1 2097100827 209709811% >> /vdic-mgmt-vm >> /dev/sdd1 52428288 3 524282851% /vdic-vm >> /dev/sda1512000 381 5116191% /boot >> tmpfs483368 1 4833671% >> /run/user/0 >> >> [root@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@centos.org >> https://lists.centos.org/mailman/listinfo/centos-es >> > > ___ > CentOS-es mailing list > CentOS-es@centos.org > https://lists.centos.org/mailman/listinfo/centos-es > ___ CentOS-es mailing list CentOS-es@centos.org https://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Servidor in espacio
Buenas, Me encuentro que mi servidor virtual no tiene espacio pero no soy capaz de encontrar en que lugar se está consumiendo: [root@vdicnode02 /]# df -h Filesystem Size Used Avail Use% Mounted on */dev/mapper/centos_vdicnode02-root 18G 18G 20K 100% /* devtmpfs1.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/sdb140G 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@vdicnode02 /]# [root@vdicnode02 /]# df -i Filesystem Inodes IUsedIFree IUse% Mounted on */dev/mapper/centos_vdicnode02-root53840 52528 1312 98% /* devtmpfs 477910 421 4774891% /dev tmpfs48336887 4832811% /dev/shm tmpfs483368 589 4827791% /run tmpfs48336813 4833551% /sys/fs/cgroup /dev/sdb1 2097100827 209709811% /vdic-mgmt-vm /dev/sdd1 52428288 3 524282851% /vdic-vm /dev/sda1512000 381 5116191% /boot tmpfs483368 1 4833671% /run/user/0 [root@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@centos.org https://lists.centos.org/mailman/listinfo/centos-es