From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f2113a6abdc0e3f3 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-09-10 12:19:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!uunet!sea.uu.net!ash.uu.net!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail Newsgroups: comp.unix.tru64 From: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Distribution: world References: <3c672d5.0209091642.3ca22154@posting.google.com> Reply-To: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Deleted 14 Gb file space not returned to df -k Message-ID: Date: Tue, 10 Sep 2002 19:26:38 GMT NNTP-Posting-Host: 16.112.5.128 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1031685998 16.112.5.128 (Tue, 10 Sep 2002 12:26:38 PDT) NNTP-Posting-Date: Tue, 10 Sep 2002 12:26:38 PDT Organization: Compaq, part of the new hp Xref: archiver1.google.com comp.unix.tru64:8619 In article <3c672d5.0209091642.3ca22154@posting.google.com>, thomsonj@fliway.com (Jeremy Thomson) writes: > >This is my first posting to comp.unix.tru64 so please excuse me if the >answer to this question is on a FAQ somwhere. For what it is worth, there are few versions of Tru64 UNIX still in wide use and all support at least two local file systems. It would be useful to know the operating system version and the file system being used. > >We ran out of disk space & finally identified a runaway zip file that >had no >end of file thus kept on unzipping till the disk space was used up. >I have rm'ed the file but the space freed does not show in the df -k >command. Did you stop the process? Removing a file's name doesn't cause the space to be freed if something has the file open or there are other names for the file (hard links). As someone else suggested use lsof (or fuser) to see if the file is still open. >I betcha a reboot will give our space back but thats not a conveniant >thing to do. Killing the process will be sufficient. A reboot will certainly do that, but it is more than necessary. >We will suffer along with 512Mb free but that will only keep us going >a day or so. >Any ideas? The file still being open is the usual cause of space apparently not being freed when a file is removed. If you're using UFS I can't think of any other cause for the symtom. AdvFS is another matter. I'm told that AdvFS is dependent on its quota system to keep track of the space being used. If you're not using the quota system (even if it isn't enforcing them), it seems to be quite easy to get the actual space usage out of sync with what the file system thinks is being used. This symtoms shows up a difference in space usage between df(1) and what the file systems tools think is in use; showfdmn. Running quotacheck on the domain may be enough to fix it. > >Thanx in advance, >Jeremy Thomson > -- Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com)