dfm@sagepub.UUCP (David F. McCune) (10/10/89)
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@sagepub.com uucp: ...uunet!sagepub!dfm
neese@adaptex.UUCP (10/11/89)
First, do not run 'badtrk' on SCSI drives. It was not meant for this, but for all other dumb interfaces (MFM/RLL/ESDI). If you have gotten some errors on some sectors, then your best recourse is to backup all data and then reformat the drive using the on-board BIOS routine. This will deallocate the suspect sectors and you will be back in business. I know its a pain, but until, the driver in XENIX gets a little more sophisticated, its your best bet. Roy Neese Adaptec Central Field Applications Engineer UUCP @ {texbell,attctc}!cpe!adaptex!neese merch!adaptex!neese