Xenix disk problems

David F. McCune dfm at sagepub.UUCP
Tue Oct 10 18:33:50 AEST 1989


I have a strange disk problem.  First, the machine:

   * Xenix 2.3.3
   * Everex Step/25
   * 320 MB Miniscribe disk w/ Adaptec controller

Earlier today I got a hard disk error on a couple of sectors.  So
I shut the system down and then ran badtrk.  (First, I discovered
that I can only run badtrk in "quick" mode; if I try "thorough"
mode, badtrk crashes and says "badtrk: could not malloc."  Anyone
know what causes this?)  Badtrk marked several new bad sectors.

A bit later I discovered that if I run "df -v" I get the following
output:

Mount Dir   Filesystem  blocks	  used	  free	% used
/           /dev/root   619050	605126	 13924	   98%

But the disk is not nearly that full!  Earlier today it had only
a bit over 100 megs used (about 215,000 blocks).  And if I
run "du -s" from the root directory, I am told I am using approx.
230,000 blocks.  And when I do a "tar" to tape and then total all
the bytes that have been written to the tape, I get about 215,000.

I have tried running fsck, but it doesn't seem to find any problems.

Can anyone tell me how to recover the missing free space?

Thanks much!

David
 
-- 
                 David McCune, Sage Publications, Inc.
           2111 West Hillcrest Drive, Newbury Park, CA 91320
             voice: (805) 499-0721    fax: (805) 499-0871
         domain: dfm at sagepub.com     uucp: ...uunet!sagepub!dfm



More information about the Comp.unix.xenix mailing list