home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!ncar!csn!copper!slate!bware
- From: bware@slate.mines.colorado.edu (Bob Ware)
- Newsgroups: comp.unix.aix
- Subject: Re: /tmp Corrupted
- Message-ID: <1992Nov18.161444.97310@slate.mines.colorado.edu>
- Date: 18 Nov 92 16:14:44 GMT
- References: <1992Nov5.225824.3656@netcom.com>
- Organization: Colorado School of Mines
- Lines: 46
-
- We have been experiencing problems where the df command does not seem
- to accurately indicate the available space in a filesystem. The df
- command indicated lots of free space, but attempts to copy a small file
- to the filesystem gave an error meesage indicating we were out of
- space.
-
- In trying to track down what is happening, I was looking for files
- which were open but not named and ran across something that I don't
- understand.
-
- We have a dbm file that seems unexpectedly large based on the "ls -l"
- output. However, the "du -s" command gives about what I would expect.
-
- The typescript file shown below seems to indicate that the udb.pag file
- is over 200 MB in size based on "ls -l" but the "du -s" command shows
- it is only about 16 MBlks (512 blks). Similar data for a regular text
- file (udb.txt) shows more what I would expect.
-
- Are dbm files handled as some sort of "sparse" files and that explains these
- results?? That does not make sense to me, because the size from "ls -l"
- for this file (udb.dbm) seemed reasonable before today, and I don't think
- the file is any more "sparse" than it was before.
-
- Has anyone else seen something like this. Any ideas on what is going on?
-
- ...... output from script command ....................................
- $ ls -l udb.pag
- -rw-r----- 1 root udbadmin 219312128 Nov 18 06:27 udb.pag
- $ du -s udb.pag
- 16712 udb.pag
- $ fuser udb.pag
- udb.pag:
-
- $ ls -l udb.txt
- -rw-rw---- 1 root system 2470120 Nov 18 06:29 udb.txt
- $ du -s udb.txt
- 4832 udb.txt
- $ fuser udb.txt
- udb.txt:
-
-
- --
- Bob Ware, System Administrator
- Computing and Networking, Colorado School of Mines, Golden, Co 80401, USA
- (303) 273-3987
- bware@mines.colorado.edu
-