/ file system is full, but du does not show that it's full
c0re
nr1c0re at gmail.com
Thu Jan 6 12:06:19 UTC 2011
2011/1/6 Ryan Coleman <ryan.coleman at cwis.biz>:
> What about filehandlers?
>
> On Jan 6, 2011, at 5:26 AM, c0re wrote:
>
>> # df -h
>> Filesystem Size Used Avail Capacity Mounted on
>> /dev/ad0s1a 496M 466M -9.8M 102% /
>>
>> So it's full.
>>
>> But by du it's not appeared to be full
>>
>>
>> # du -hxd 1 /
>> 2.0K /.snap
>> 512B /dev
>> 2.0K /tmp
>> 2.0K /usr
>> 2.0K /var
>> 1.9M /etc
>> 2.0K /cdrom
>> 2.0K /dist
>> 1.0M /bin
>> 131M /boot
>> 10M /lib
>> 356K /libexec
>> 2.0K /media
>> 12K /mnt
>> 2.0K /proc
>> 7.2M /rescue
>> 296K /root
>> 4.7M /sbin
>> 4.0K /lost+found
>> 157M /
>>
>>
>> I know that something (like running process) can hold file so it's
>> actually are not deleted. I rebooted server. But this not helped, so
>> it's not a process holding file.
>>
>> Checked with fsck
>>
>> # fsck /
>> ** /dev/ad0s1a (NO WRITE)
>> ** Last Mounted on /
>> ** Root file system
>> ** Phase 1 - Check Blocks and Sizes
>> ** Phase 2 - Check Pathnames
>> ** Phase 3 - Check Connectivity
>> ** Phase 4 - Check Reference Counts
>> ** Phase 5 - Check Cyl groups
>> 47268 files, 238539 used, 15276 free (6684 frags, 1074 blocks, 2.6%
>> fragmentation)
>>
>> No problems here.
>>
>>
>> # uname -a
>> FreeBSD host.domain.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #0: Tue
>> Dec 28 13:55:47 MSK 2010
>> root at host.domain.com:/usr/obj/usr/src/sys/MYKERNEL i386
>>
>> What's the problem here? Why df says that filesystem is full? Other
>> command may also say that can't write because file system is full.
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
fstat does not show full filepath so I uses lsof from ports
lsof does not show anything criminal
# lsof /
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
init 1 root cwd VDIR 0,81 512 2 /
init 1 root rtd VDIR 0,81 512 2 /
init 1 root txt VREG 0,81 632348 33074 /sbin/init
firmware 5 root cwd VDIR 0,81 512 2 /
firmware 5 root rtd VDIR 0,81 512 2 /
adjkerntz 145 root cwd VDIR 0,81 512 2 /
adjkerntz 145 root rtd VDIR 0,81 512 2 /
adjkerntz 145 root txt VREG 0,81 7448 16481 /sbin/adjkerntz
adjkerntz 145 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
adjkerntz 145 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
devd 487 root cwd VDIR 0,81 512 2 /
devd 487 root rtd VDIR 0,81 512 2 /
devd 487 root txt VREG 0,81 369684 32969 /sbin/devd
syslogd 564 root cwd VDIR 0,81 512 2 /
syslogd 564 root rtd VDIR 0,81 512 2 /
syslogd 564 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
syslogd 564 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
syslogd 564 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
rpcbind 650 root cwd VDIR 0,81 512 2 /
rpcbind 650 root rtd VDIR 0,81 512 2 /
rpcbind 650 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
rpcbind 650 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
rpcbind 650 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
snmpd 690 root cwd VDIR 0,81 512 2 /
snmpd 690 root rtd VDIR 0,81 512 2 /
snmpd 690 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
snmpd 690 root txt VREG 0,81 32024 50740 /lib/libcrypt.so.4
snmpd 690 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
snmpd 690 root txt VREG 0,81 92720 50743 /lib/libm.so.5
snmpd 690 root txt VREG 0,81 29916 50741 /lib/libkvm.so.4
snmpd 690 root txt VREG 0,81 18788 50761 /lib/libdevstat.so.6
snmpd 690 root txt VREG 0,81 1417668 50595 /lib/libcrypto.so.5
snmpd 690 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
sh 751 mysql cwd VDIR 0,81 512 2 /
sh 751 mysql rtd VDIR 0,81 512 2 /
sh 751 mysql txt VREG 0,81 115388 33069 /bin/sh
sh 751 mysql txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
sh 751 mysql txt VREG 0,81 88492 50751 /lib/libedit.so.6
sh 751 mysql txt VREG 0,81 261484 50738 /lib/libncurses.so.7
sh 751 mysql txt VREG 0,81 1067248 50739 /lib/libc.so.7
mysqld 800 mysql rtd VDIR 0,81 512 2 /
mysqld 800 mysql txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
mysqld 800 mysql txt VREG 0,81 64300 49385 /lib/libz.so.3
mysqld 800 mysql txt VREG 0,81 28768 58494 /lib/libcrypt.so.3
mysqld 800 mysql txt VREG 0,81 95120 49378 /lib/libm.so.4
mysqld 800 mysql txt VREG 0,81 140320 49370 /lib/libpthread.so.2
mysqld 800 mysql txt VREG 0,81 937368 57075 /lib/libc.so.6
mysqld 800 mysql rtd VDIR 0,81 512 2 /
mysqld 800 mysql txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
mysqld 800 mysql txt VREG 0,81 64300 49385 /lib/libz.so.3
mysqld 800 mysql txt VREG 0,81 28768 58494 /lib/libcrypt.so.3
mysqld 800 mysql txt VREG 0,81 95120 49378 /lib/libm.so.4
mysqld 800 mysql txt VREG 0,81 140320 49370 /lib/libpthread.so.2
mysqld 800 mysql txt VREG 0,81 937368 57075 /lib/libc.so.6
mysqld 800 mysql rtd VDIR 0,81 512 2 /
mysqld 800 mysql txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
mysqld 800 mysql txt VREG 0,81 64300 49385 /lib/libz.so.3
mysqld 800 mysql txt VREG 0,81 28768 58494 /lib/libcrypt.so.3
mysqld 800 mysql txt VREG 0,81 95120 49378 /lib/libm.so.4
mysqld 800 mysql txt VREG 0,81 140320 49370 /lib/libpthread.so.2
mysqld 800 mysql txt VREG 0,81 937368 57075 /lib/libc.so.6
mysqld 800 mysql rtd VDIR 0,81 512 2 /
mysqld 800 mysql txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
mysqld 800 mysql txt VREG 0,81 64300 49385 /lib/libz.so.3
mysqld 800 mysql txt VREG 0,81 28768 58494 /lib/libcrypt.so.3
mysqld 800 mysql txt VREG 0,81 95120 49378 /lib/libm.so.4
mysqld 800 mysql txt VREG 0,81 140320 49370 /lib/libpthread.so.2
mysqld 800 mysql txt VREG 0,81 937368 57075 /lib/libc.so.6
arpwatch 813 root rtd VDIR 0,81 512 2 /
arpwatch 813 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
arpwatch 813 root txt VREG 0,81 146508 49381 /lib/libpcap.so.4
arpwatch 813 root txt VREG 0,81 937368 57075 /lib/libc.so.6
httpd 820 root cwd VDIR 0,81 512 2 /
httpd 820 root rtd VDIR 0,81 512 2 /
httpd 820 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
httpd 820 root txt VREG 0,81 32024 50740 /lib/libcrypt.so.4
httpd 820 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
httpd 820 root txt VREG 0,81 28768 58494 /lib/libcrypt.so.3
httpd 820 root txt VREG 0,81 95120 49378 /lib/libm.so.4
httpd 820 root txt VREG 0,81 64300 49385 /lib/libz.so.3
httpd 820 root txt VREG 0,81 996912 49367 /lib/libcrypto.so.4
httpd 820 root txt VREG 0,81 25596 49377 /lib/libkvm.so.3
httpd 820 root txt VREG 0,81 18560 49369 /lib/libdevstat.so.5
sshd 844 root cwd VDIR 0,81 512 2 /
sshd 844 root rtd VDIR 0,81 512 2 /
sshd 844 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
sshd 844 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
sshd 844 root txt VREG 0,81 70804 50768 /lib/libz.so.4
sshd 844 root txt VREG 0,81 1417668 50595 /lib/libcrypto.so.5
sshd 844 root txt VREG 0,81 32024 50740 /lib/libcrypt.so.4
sshd 844 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
sshd 844 root txt VREG 0,81 60060 50745 /lib/libmd.so.4
sendmail 850 root rtd VDIR 0,81 512 2 /
sendmail 850 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
sendmail 850 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
sendmail 850 root txt VREG 0,81 1417668 50595 /lib/libcrypto.so.5
sendmail 850 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
sendmail 854 smmsp rtd VDIR 0,81 512 2 /
sendmail 854 smmsp txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
sendmail 854 smmsp txt VREG 0,81 55240 50747 /lib/libutil.so.7
sendmail 854 smmsp txt VREG 0,81 1417668 50595 /lib/libcrypto.so.5
sendmail 854 smmsp txt VREG 0,81 1067248 50739 /lib/libc.so.7
cron 860 root rtd VDIR 0,81 512 2 /
cron 860 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
cron 860 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
cron 860 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
getty 900 root cwd VDIR 0,81 512 2 /
getty 900 root rtd VDIR 0,81 512 2 /
getty 900 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
getty 900 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
getty 900 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
getty 901 root cwd VDIR 0,81 512 2 /
getty 901 root rtd VDIR 0,81 512 2 /
getty 901 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
getty 901 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
getty 901 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
getty 902 root cwd VDIR 0,81 512 2 /
getty 902 root rtd VDIR 0,81 512 2 /
getty 902 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
getty 902 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
getty 902 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
getty 903 root cwd VDIR 0,81 512 2 /
getty 903 root rtd VDIR 0,81 512 2 /
getty 903 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
getty 903 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
getty 903 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
getty 904 root cwd VDIR 0,81 512 2 /
getty 904 root rtd VDIR 0,81 512 2 /
getty 904 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
getty 904 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
getty 904 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
getty 905 root cwd VDIR 0,81 512 2 /
getty 905 root rtd VDIR 0,81 512 2 /
getty 905 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
getty 905 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
getty 905 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
getty 906 root cwd VDIR 0,81 512 2 /
getty 906 root rtd VDIR 0,81 512 2 /
getty 906 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
getty 906 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
getty 906 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
getty 907 root cwd VDIR 0,81 512 2 /
getty 907 root rtd VDIR 0,81 512 2 /
getty 907 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
getty 907 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
getty 907 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
httpd 908 www cwd VDIR 0,81 512 2 /
httpd 908 www rtd VDIR 0,81 512 2 /
httpd 908 www txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
httpd 908 www txt VREG 0,81 32024 50740 /lib/libcrypt.so.4
httpd 908 www txt VREG 0,81 1067248 50739 /lib/libc.so.7
httpd 908 www txt VREG 0,81 28768 58494 /lib/libcrypt.so.3
httpd 908 www txt VREG 0,81 95120 49378 /lib/libm.so.4
httpd 908 www txt VREG 0,81 64300 49385 /lib/libz.so.3
httpd 908 www txt VREG 0,81 996912 49367 /lib/libcrypto.so.4
httpd 908 www txt VREG 0,81 25596 49377 /lib/libkvm.so.3
httpd 908 www txt VREG 0,81 18560 49369 /lib/libdevstat.so.5
httpd 909 www cwd VDIR 0,81 512 2 /
httpd 909 www rtd VDIR 0,81 512 2 /
httpd 909 www txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
httpd 909 www txt VREG 0,81 32024 50740 /lib/libcrypt.so.4
httpd 909 www txt VREG 0,81 1067248 50739 /lib/libc.so.7
httpd 909 www txt VREG 0,81 28768 58494 /lib/libcrypt.so.3
httpd 909 www txt VREG 0,81 95120 49378 /lib/libm.so.4
httpd 909 www txt VREG 0,81 64300 49385 /lib/libz.so.3
httpd 909 www txt VREG 0,81 996912 49367 /lib/libcrypto.so.4
httpd 909 www txt VREG 0,81 25596 49377 /lib/libkvm.so.3
httpd 909 www txt VREG 0,81 18560 49369 /lib/libdevstat.so.5
httpd 910 www cwd VDIR 0,81 512 2 /
httpd 910 www rtd VDIR 0,81 512 2 /
httpd 910 www txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
httpd 910 www txt VREG 0,81 32024 50740 /lib/libcrypt.so.4
httpd 910 www txt VREG 0,81 1067248 50739 /lib/libc.so.7
httpd 910 www txt VREG 0,81 28768 58494 /lib/libcrypt.so.3
httpd 910 www txt VREG 0,81 95120 49378 /lib/libm.so.4
httpd 910 www txt VREG 0,81 64300 49385 /lib/libz.so.3
httpd 910 www txt VREG 0,81 996912 49367 /lib/libcrypto.so.4
httpd 910 www txt VREG 0,81 25596 49377 /lib/libkvm.so.3
httpd 910 www txt VREG 0,81 18560 49369 /lib/libdevstat.so.5
httpd 911 www cwd VDIR 0,81 512 2 /
httpd 911 www rtd VDIR 0,81 512 2 /
httpd 911 www txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
httpd 911 www txt VREG 0,81 32024 50740 /lib/libcrypt.so.4
httpd 911 www txt VREG 0,81 1067248 50739 /lib/libc.so.7
httpd 911 www txt VREG 0,81 28768 58494 /lib/libcrypt.so.3
httpd 911 www txt VREG 0,81 95120 49378 /lib/libm.so.4
httpd 911 www txt VREG 0,81 64300 49385 /lib/libz.so.3
httpd 911 www txt VREG 0,81 996912 49367 /lib/libcrypto.so.4
httpd 911 www txt VREG 0,81 25596 49377 /lib/libkvm.so.3
httpd 911 www txt VREG 0,81 18560 49369 /lib/libdevstat.so.5
httpd 912 www cwd VDIR 0,81 512 2 /
httpd 912 www rtd VDIR 0,81 512 2 /
httpd 912 www txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
httpd 912 www txt VREG 0,81 32024 50740 /lib/libcrypt.so.4
httpd 912 www txt VREG 0,81 1067248 50739 /lib/libc.so.7
httpd 912 www txt VREG 0,81 28768 58494 /lib/libcrypt.so.3
httpd 912 www txt VREG 0,81 95120 49378 /lib/libm.so.4
httpd 912 www txt VREG 0,81 64300 49385 /lib/libz.so.3
httpd 912 www txt VREG 0,81 996912 49367 /lib/libcrypto.so.4
httpd 912 www txt VREG 0,81 25596 49377 /lib/libkvm.so.3
httpd 912 www txt VREG 0,81 18560 49369 /lib/libdevstat.so.5
sshd 1424 root cwd VDIR 0,81 512 2 /
sshd 1424 root rtd VDIR 0,81 512 2 /
sshd 1424 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
sshd 1424 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
sshd 1424 root txt VREG 0,81 70804 50768 /lib/libz.so.4
sshd 1424 root txt VREG 0,81 1417668 50595 /lib/libcrypto.so.5
sshd 1424 root txt VREG 0,81 32024 50740 /lib/libcrypt.so.4
sshd 1424 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
sshd 1424 root txt VREG 0,81 60060 50745 /lib/libmd.so.4
sshd 1427 milyar cwd VDIR 0,81 512 2 /
sshd 1427 milyar rtd VDIR 0,81 512 2 /
sshd 1427 milyar txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
sshd 1427 milyar txt VREG 0,81 55240 50747 /lib/libutil.so.7
sshd 1427 milyar txt VREG 0,81 70804 50768 /lib/libz.so.4
sshd 1427 milyar txt VREG 0,81 1417668 50595 /lib/libcrypto.so.5
sshd 1427 milyar txt VREG 0,81 32024 50740 /lib/libcrypt.so.4
sshd 1427 milyar txt VREG 0,81 1067248 50739 /lib/libc.so.7
sshd 1427 milyar txt VREG 0,81 60060 50745 /lib/libmd.so.4
sh 1429 milyar rtd VDIR 0,81 512 2 /
sh 1429 milyar txt VREG 0,81 115388 33069 /bin/sh
sh 1429 milyar txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
sh 1429 milyar txt VREG 0,81 88492 50751 /lib/libedit.so.6
sh 1429 milyar txt VREG 0,81 261484 50738 /lib/libncurses.so.7
sh 1429 milyar txt VREG 0,81 1067248 50739 /lib/libc.so.7
su 1433 root rtd VDIR 0,81 512 2 /
su 1433 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
su 1433 root txt VREG 0,81 55240 50747 /lib/libutil.so.7
su 1433 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
su 1433 root txt VREG 0,81 60060 50745 /lib/libmd.so.4
su 1433 root txt VREG 0,81 32024 50740 /lib/libcrypt.so.4
csh 1434 root rtd VDIR 0,81 512 2 /
csh 1434 root txt VREG 0,81 319604 33030 /bin/csh
csh 1434 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
csh 1434 root txt VREG 0,81 261484 50738 /lib/libncurses.so.7
csh 1434 root txt VREG 0,81 32024 50740 /lib/libcrypt.so.4
csh 1434 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
lsof 7330 root rtd VDIR 0,81 512 2 /
lsof 7330 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
lsof 7330 root txt VREG 0,81 29916 50741 /lib/libkvm.so.4
lsof 7330 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
lsof 7331 root rtd VDIR 0,81 512 2 /
lsof 7331 root txt VREG 0,81 189172 50770 /libexec/ld-elf.so.1
lsof 7331 root txt VREG 0,81 29916 50741 /lib/libkvm.so.4
lsof 7331 root txt VREG 0,81 1067248 50739 /lib/libc.so.7
More information about the freebsd-questions
mailing list