From owner-freebsd-stable Sat Aug 4 17: 1:54 2001 Delivered-To: freebsd-stable@freebsd.org Received: from roam.psg.com (host217-33-136-77.ietf.ignite.net [217.33.136.77]) by hub.freebsd.org (Postfix) with ESMTP id D77D037B403 for ; Sat, 4 Aug 2001 17:01:51 -0700 (PDT) (envelope-from randy@psg.com) Received: from randy by roam.psg.com with local (Exim 3.30 #1) id 15TBH9-0000WG-00; Sun, 05 Aug 2001 00:56:11 +0100 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Alex Popa Cc: FreeBSD Stable Subject: Re: so where did the space go? References: <59063B5B4D98D311BC0D0001FA7E452205FD9D3A@l04.research.kpn.com> <20010802222556.C28622@toldme.com> <20010804123839.P28602@toldme.com> <20010805022544.B93455@ldc.ro> Message-Id: Date: Sun, 05 Aug 2001 00:56:11 +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> it was vmware under linux emul. >>>> lsof | grep /var >>> # lsof | grep vmware | grep /var >>> vmware 489 randy txt VREG 116,262148 140673024 16 /var (/dev/ad0s3e) >>> vmware 489 randy 11u VREG 116,262148 140673024 16 /var (/dev/ad0s3e) >>> vmware 492 randy txt VREG 116,262148 140673024 16 /var (/dev/ad0s3e) >>> vmware 492 randy 11u VREG 116,262148 140673024 16 /var (/dev/ad0s3e) >>> vmware 493 randy txt VREG 116,262148 140673024 16 /var (/dev/ad0s3e) >>> vmware 493 randy 11u VREG 116,262148 140673024 16 /var (/dev/ad0s3e) >> the question is WHY and WHAT vmware is hanging on to. that is a physical >> disk. > Try this: fstat | awk '/var/ {print $2, $3, $6}' > > The output of this command gives you three columns, the command name, > the pid and the inode number. You can search for each of the files by > doing something like "find /var -inum $inodenumberhere". roam.psg.com:/etc# fstat | awk '/var/ {print $2, $3, $6}' | grep vmware vmware 845 16 vmware 844 16 vmware 841 16 roam.psg.com:/etc# find /var -inum 16 /var/spool/exim/log/main.02.gz i.e. it tells me vmware has a two day old compressed mail transfer agent (exim) log file open. has to be bogus. of course, if i exit vmware the space is returned. randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message