[comp.sys.amiga] Fixing A Hard Drive

visconti@pansy.cis.ohio-state.edu (mark a visconti) (06/04/90)

	A friend of mine is having problems with a hard drive.  While saving 
to the drive, the Amiga crashed and now the partition comes up as a NDOS disk.
 
	What is the "safest" way to fix this problem ?  I have heard the 
horror stories about DiskDoctor and I also have heard that there are problems
with using DiskSalv with hard drives (Running out of room to place all those
files).  
 
	Any Suggestions ?
 
	Thanks,
	Mark Visconti
----------------------------------------------
visconti@cis.ohio-state.edu

P.S. EMAIL would be better since I am 550+ articles behind. 

daveh@cbmvax.commodore.com (Dave Haynie) (06/06/90)

In article <81155@tut.cis.ohio-state.edu> <visconti@cis.ohio-state.edu> writes:

>I also have heard that there are problems with using DiskSalv with hard 
>drives (Running out of room to place all those files).  

That depends on the amount of memory in your system and number of directories
and files on the disk.  In order to restore a disk, DiskSalv must learn what's
on it.  It builds a tree to keep track of the disk.  Ordinarily, it will need
2 bits for every block on the disk, 8 bytes for every file, and about 52 bytes
for each directory.  Plus, of course, enough room for DiskSalv itself, a few
more K of fixed overhead, and 4K of stack.  The LOMEM option will allocate only
1 bit for each block, and attempts to keep other internal things better set
for a low memory system.

If you are having trouble with DiskSalv and memory, first off, make sure you
have DiskSalv V1.42; some older versions had a stupid bug in the memory 
allocations routine that could cause DS to think it was out of memory when
plenty was actually around.  Next, start up a minimal system; all those
background utilities add up, especially if you set a 10 or 20K stack before
a series of RUNs.  And if necessary, you can recover a disk in several parts.
But you're not going to get any magic; a 512K machine with a bad 200 Meg hard
drive is going to have severe trouble with DiskSalv.  DiskDoctor uses even
more memory.

>	Mark Visconti

-- 
Dave Haynie Commodore-Amiga (Amiga 3000) "The Crew That Never Rests"
   {uunet|pyramid|rutgers}!cbmvax!daveh      PLINK: hazy     BIX: hazy
	"I have been given the freedom to do as I see fit" -REM