Newsgroups: comp.sys.next
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!staggers
From: garyc@robbie.acns.nwu.edu
Subject: Lost 6 Megs of Hard Disk space
Message-ID: <1991Jun4.052732.13192@casbah.acns.nwu.edu>
Sender: staggers@casbah.acns.nwu.edu (Ken Staggers)
Organization: Northwestern University
Date: Tue, 4 Jun 1991 05:27:32 GMT
Lines: 62

I have NeXTStep 2.1 running on the Color Station 16/400.  I accidentally double
clicked the file "/NextLibrary/References/Webster-Dictionary/Dictionary.nxbf" 
which is about 20 megs big. And of course it invoked Preview which was loading 
for more than 5 mins. I then used 'Processes' in WorkSpace to kill that 
process.  A Core dump was generated which was about 3 megs; I deleted it but 
I also found out that 6 Megs out of 406 of the hard disk space was gone!??

        I then login  Root and do the following in the Shell:
/*****************************************************************************/
localhost# fsck
** /dev/rsd0a
** Currently Mounted on /
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts

UNREF FILE I=27266  OWNER=root MODE=100644
SIZE=1180 MTIME=Jun  2 20:18 1991
CLEAR? y

UNREF FILE I=61035  OWNER=root MODE=100666
SIZE=9 MTIME=Jun  3 17:12 1991 
CLEAR? y

** Phase 5 - Check Cyl groups
BLK(S) MISSING IN BIT MAPS
SALVAGE? y

12310 files, 197509 used, 204744 free (744 frags, 25500 blocks, 0.2% fragmentation)
File system not may not be clean!  Run fsck again to clean.

***** FILE SYSTEM WAS MODIFIED *****


***** REBOOT THE SYSTEM (NO SYNC) *****
localhost#



/*****************************************************************************/

I've tried       <1> reboot -n.
                 <2> switch from NMI    to  mon  NeXT> and reboot the system.
                 <3>     Alt-Cmd-* To reset the machine.
                 <4>  run fsck again to clean the File system and then reboot.
                 <n> ......... many trials + phone calls.

The result remains the same, Everytime I run fsck, it says the same errors. And
the missing 6 Megs never comes back.  The file system was never fixed. --- 
The buffer cache always rewrited the superblock, I guess, even I specified 
the -n (No Sync) or or reboot the system from Mon.

I've been looped around by the NeXT support by asking such questions that few
people ever experienced.  Can anyone find me back the lost 6 Megs?


-Gary Chang     

NeXT-Mail Addr:  garyc@robbie.acns.nwu.edu
E-Mail    Addr:  garyc@eecs.nwu.edu

