From owner-freebsd-questions@FreeBSD.ORG Thu Jan 6 11:26:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D580A106564A for ; Thu, 6 Jan 2011 11:26:12 +0000 (UTC) (envelope-from nr1c0re@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id AFB198FC19 for ; Thu, 6 Jan 2011 11:26:12 +0000 (UTC) Received: by pwi10 with SMTP id 10so2575928pwi.13 for ; Thu, 06 Jan 2011 03:26:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=IlXB9ffxBB8URLQjJYgsu3ra0h5rb5Lq1oL80Quu1Y4=; b=gVUeyAQPf0gaTJyKANdN5jeIKRt3HzkTJVVrduRhMNrZJP+5hTALjp8JwzGVnSy2hU H4W7uvXLAwDHJLa2GI/Uv9N1K1yScmOGCjipmFSph3OUI6ivMRxlnp7LPdBNodbQ97Ym zVfGSG/aSqHVPZHAUTpwao457WlDQTLCNoFTM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GCuUUTe5aasKWhWB0QKk9rPmcQUfe339dpX314uuRHGaW8eM1tilLqBxEWc67Gv2Wh DeW2+SywchqtgXednqCIbHdFMmezkf9+dnYg+gk0op8CtnbwqhDGH8Af36j3IvU5RZbn k3oU3ADDWzjv95a+tIVmWQT/2F7PsgbHJ+Xnw= MIME-Version: 1.0 Received: by 10.142.170.9 with SMTP id s9mr667494wfe.187.1294313171999; Thu, 06 Jan 2011 03:26:11 -0800 (PST) Received: by 10.142.58.6 with HTTP; Thu, 6 Jan 2011 03:26:11 -0800 (PST) Date: Thu, 6 Jan 2011 14:26:11 +0300 Message-ID: From: c0re To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 Subject: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2011 11:26:12 -0000 # 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@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.