home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11681 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  2.1 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!ncar!csn!copper!slate!bware
  2. From: bware@slate.mines.colorado.edu (Bob Ware)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: /tmp Corrupted
  5. Message-ID: <1992Nov18.161444.97310@slate.mines.colorado.edu>
  6. Date: 18 Nov 92 16:14:44 GMT
  7. References: <1992Nov5.225824.3656@netcom.com>
  8. Organization: Colorado School of Mines
  9. Lines: 46
  10.  
  11. We have been experiencing problems where the df command does not seem
  12. to accurately indicate the available space in a filesystem.  The df
  13. command indicated lots of free space, but attempts to copy a small file
  14. to the filesystem gave an error meesage indicating we were out of
  15. space.
  16.  
  17. In trying to track down what is happening, I was looking for files
  18. which were open but not named and ran across something that I don't
  19. understand.
  20.  
  21. We have a dbm file that seems unexpectedly large based on the "ls -l"
  22. output.  However, the "du -s" command gives about what I would expect.
  23.  
  24. The typescript file shown below seems to indicate that the udb.pag file
  25. is over 200 MB in size based on "ls -l" but the "du -s" command shows
  26. it is only about 16 MBlks (512 blks).  Similar data for a regular text
  27. file (udb.txt) shows more what I would expect.
  28.  
  29. Are dbm files handled as some sort of "sparse" files and that explains these
  30. results??  That does not make sense to me, because the size from "ls -l"
  31. for this file (udb.dbm) seemed reasonable before today, and I don't think
  32. the file is any more "sparse" than it was before.
  33.  
  34. Has anyone else seen something like this.  Any ideas on what is going on?
  35.  
  36. ...... output from script command ....................................
  37. $ ls -l udb.pag
  38. -rw-r-----   1 root     udbadmin 219312128 Nov 18 06:27 udb.pag
  39. $ du -s udb.pag
  40. 16712    udb.pag
  41. $ fuser udb.pag
  42. udb.pag: 
  43.  
  44. $ ls -l udb.txt
  45. -rw-rw----   1 root     system   2470120 Nov 18 06:29 udb.txt
  46. $ du -s udb.txt
  47. 4832    udb.txt
  48. $ fuser udb.txt
  49. udb.txt: 
  50.  
  51.  
  52. -- 
  53. Bob Ware, System Administrator 
  54. Computing and Networking, Colorado School of Mines, Golden, Co 80401, USA
  55. (303) 273-3987
  56. bware@mines.colorado.edu
  57.