From owner-freebsd-questions Wed Jan 12 22: 0:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.28]) by hub.freebsd.org (Postfix) with ESMTP id 706DE15186 for ; Wed, 12 Jan 2000 22:00:03 -0800 (PST) (envelope-from tim@futuresouth.com) Received: (from tim@localhost) by shell.futuresouth.com (8.9.3/8.9.3) id AAA18800; Thu, 13 Jan 2000 00:00:00 -0600 (CST) Date: Thu, 13 Jan 2000 00:00:00 -0600 From: Tim Tsai To: Jim Conner Cc: freebsd-questions@FreeBSD.ORG Subject: Re: lost space - how to find it? Message-ID: <20000113000000.A18631@futuresouth.com> References: <20000112224818.A10607@futuresouth.com> <4.2.0.58.20000112001423.009b89b0@mail.enterit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <4.2.0.58.20000112001423.009b89b0@mail.enterit.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Only what shows up under du is on the root fs. In this case /var is on / but /var/local, /var/tmp, etc. is on a different partition. I just tried lsof but don't see anything obvious. Any ideas? Could the fs get into such a state to report this wrong somehow? Thanks, Tim # lsof -s /dev/sd0s1a COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME swapper 0 root cwd VDIR 4,131072 1024 2 / init 1 root cwd VDIR 4,131072 1024 2 / init 1 root txt VREG 4,131072 208896 72822 /sbin/init pagedaemo 2 root cwd VDIR 4,131072 1024 2 / vmdaemon 3 root cwd VDIR 4,131072 1024 2 / update 4 root cwd VDIR 4,131072 1024 2 / adjkerntz 28 root cwd VDIR 4,131072 1024 2 / adjkerntz 28 root txt VREG 4,131072 61440 72820 /sbin/adjkerntz syslogd 83 root cwd VDIR 4,131072 1024 2 / syslogd 83 root 11w VREG 4,131072 113801 61497 /var/cron/log portmap 94 daemon cwd VDIR 4,131072 1024 2 / mountd 107 root cwd VDIR 4,131072 1024 2 / mountd 107 root txt VREG 4,131072 212992 72824 /sbin/mountd nfsd 110 root cwd VDIR 4,131072 1024 2 / nfsd 110 root txt VREG 4,131072 73728 72827 /sbin/nfsd nfsd 114 root cwd VDIR 4,131072 1024 2 / nfsd 114 root txt VREG 4,131072 73728 72827 /sbin/nfsd nfsd 115 root cwd VDIR 4,131072 1024 2 / nfsd 115 root txt VREG 4,131072 73728 72827 /sbin/nfsd nfsd 116 root cwd VDIR 4,131072 1024 2 / nfsd 116 root txt VREG 4,131072 73728 72827 /sbin/nfsd nfsd 117 root cwd VDIR 4,131072 1024 2 / nfsd 117 root txt VREG 4,131072 73728 72827 /sbin/nfsd rpc.statd 118 root cwd VDIR 4,131072 1024 2 / rpc.statd 118 root txt VREG 4,131072 4096 92169 /var/db/statd.status rpc.statd 118 root 5u VREG 4,131072 4096 92169 /var/db/statd.status nfsiod 123 root cwd VDIR 4,131072 1024 2 / nfsiod 123 root txt VREG 4,131072 65536 72828 /sbin/nfsiod nfsiod 124 root cwd VDIR 4,131072 1024 2 / nfsiod 124 root txt VREG 4,131072 65536 72828 /sbin/nfsiod nfsiod 125 root cwd VDIR 4,131072 1024 2 / nfsiod 125 root txt VREG 4,131072 65536 72828 /sbin/nfsiod nfsiod 126 root cwd VDIR 4,131072 1024 2 / nfsiod 126 root txt VREG 4,131072 65536 72828 /sbin/nfsiod rwhod 129 daemon cwd VDIR 4,131072 512 38429 /var/rwho rwhod 129 daemon 3r VREG 4,131072 1188 30748 /var/run/utmp inetd 144 root cwd VDIR 4,131072 1024 2 / cron 147 root cwd VDIR 4,131072 512 61449 /var/cron cron 147 root 3uW VREG 4,131072 4 30762 /var/run/cron.pid lpd 150 root cwd VDIR 4,131072 1024 2 / lpd 150 root 4wW VREG 4,131072 4 92168 /var/spool/output/lpd.lock tcpserver 263 root cwd VDIR 4,131072 1024 2 / tcpserver 268 root cwd VDIR 4,131072 1024 2 / radiusd 272 root cwd VDIR 4,131072 1024 2 / radiusd 275 root cwd VDIR 4,131072 1024 2 / tcpserver 276 root cwd VDIR 4,131072 1024 2 / tcpserver 278 root cwd VDIR 4,131072 1024 2 / sshd1 283 root cwd VDIR 4,131072 1024 2 / faxq 306 uucp cwd VDIR 4,131072 512 69188 /var/spool/fax hfaxd 313 uucp cwd VDIR 4,131072 512 69188 /var/spool/fax getty 332 root cwd VDIR 4,131072 1024 2 / getty 333 root cwd VDIR 4,131072 1024 2 / cron 13850 root cwd VDIR 4,131072 512 61449 /var/cron tinyproxy 13880 stormy cwd VDIR 4,131072 1024 2 / sendmail 17577 root 3r VREG 4,131072 32768 8221 /etc/mail/access.db sendmail 17577 root 4r VREG 4,131072 32768 46399 /etc/virtusertable.db sendmail 17577 root 5r VREG 4,131072 32768 46249 /etc/mailertable.db sendmail 17577 root 6r VREG 4,131072 32768 46250 /etc/aliases.db sendmail 17579 root 3r VREG 4,131072 32768 8221 /etc/mail/access.db sendmail 17579 root 4r VREG 4,131072 32768 46399 /etc/virtusertable.db sendmail 17579 root 5r VREG 4,131072 32768 46249 /etc/mailertable.db sendmail 17579 root 6r VREG 4,131072 32768 46250 /etc/aliases.db telnetd 17898 root cwd VDIR 4,131072 1024 2 / cucipop.f 18192 dablakes cwd VDIR 4,131072 512 76964 /var/spool/cucipop/bulletins cucipop.f 18192 dablakes txt VREG 4,131072 708608 53818 /var/spool/cucipop/__db_lock.share cucipop.f 18192 dablakes txt VREG 4,131072 81920 53819 /var/spool/cucipop/__db_mpool.share cucipop.f 18192 dablakes 2u VREG 4,131072 708608 53818 /var/spool/cucipop/__db_lock.share cucipop.f 18192 dablakes 3u VREG 4,131072 81920 53819 /var/spool/cucipop/__db_mpool.share cucipop.f 18192 dablakes 4u VREG 4,131072 90112 53820 /var/spool/cucipop/state.db sshd1 18353 root cwd VDIR 4,131072 1024 2 / cucipop.f 18505 lea cwd VDIR 4,131072 512 76964 /var/spool/cucipop/bulletins cucipop.f 18505 lea txt VREG 4,131072 708608 53818 /var/spool/cucipop/__db_lock.share cucipop.f 18505 lea txt VREG 4,131072 81920 53819 /var/spool/cucipop/__db_mpool.share cucipop.f 18505 lea 2u VREG 4,131072 708608 53818 /var/spool/cucipop/__db_lock.share cucipop.f 18505 lea 3u VREG 4,131072 81920 53819 /var/spool/cucipop/__db_mpool.share cucipop.f 18505 lea 4u VREG 4,131072 90112 53820 /var/spool/cucipop/state.db sendmail 18570 root cwd VDIR 4,131072 1024 2 / cucipop.f 18608 tmartin cwd VDIR 4,131072 512 76964 /var/spool/cucipop/bulletins cucipop.f 18608 tmartin txt VREG 4,131072 708608 53818 /var/spool/cucipop/__db_lock.share cucipop.f 18608 tmartin txt VREG 4,131072 81920 53819 /var/spool/cucipop/__db_mpool.share cucipop.f 18608 tmartin 3u VREG 4,131072 708608 53818 /var/spool/cucipop/__db_lock.share cucipop.f 18608 tmartin 4u VREG 4,131072 81920 53819 /var/spool/cucipop/__db_mpool.share cucipop.f 18608 tmartin 5u VREG 4,131072 90112 53820 /var/spool/cucipop/state.db lsof 18611 root 9r VREG 4,131072 335872 92174 /var/db/kvm_kernel.db faxgetty 20727 uucp cwd VDIR 4,131072 512 69188 /var/spool/fax faxgetty 20727 uucp 0w VREG 4,131072 17 76991 /var/spool/fax/status/cuaa0 sendmail 22340 root 3r VREG 4,131072 32768 8221 /etc/mail/access.db sendmail 22340 root 4r VREG 4,131072 32768 46399 /etc/virtusertable.db sendmail 22340 root 5r VREG 4,131072 32768 46249 /etc/mailertable.db sendmail 22340 root 6r VREG 4,131072 32768 46250 /etc/aliases.db sshd1 23983 root cwd VDIR 4,131072 1024 2 / sshd1 25410 root cwd VDIR 4,131072 1024 2 / getty 27930 root cwd VDIR 4,131072 1024 2 / telnetd 28092 root cwd VDIR 4,131072 1024 2 / On Wed, Jan 12, 2000 at 12:18:46AM -0500, Jim Conner wrote: > This is a tough one since its hard for me to say what you have on the root > fs. (ie if you have /var in the root fs). But I would probably start with > lsof. > > Jim > > At 22:48 12-01-00 -0600, Tim Tsai wrote: > >I am running a fairly old 2.2.8-STABLE (almost a year old) and have run > >into a slight problem. du shows this: > > > ># df / > >Filesystem 1K-blocks Used Avail Capacity Mounted on > >/dev/sd0s1a 396895 347344 17800 95% / > > > ># du -d 1 -x / > >44 /dev > >1 /usr > >1742 /stand > >5799 /etc > >1 /proc > >1 /cdrom > >3493 /bin > >758 /lkm > >1 /mnt > >85 /root > >6208 /sbin > >57015 /var > >56 /home > >1 /local > >1 /WWW > >13 /.elm > >58 /mail > >1 /dist > >1 /tftpboot > >1 /lost+found > >1 /nonexistent > >80408 / > > > >where did the 280 some odd meg of space go? I am guessing a process has > >a open file that was deleted - but how do I find it? > > > >Thanks! > > > >Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message