[comp.sys.amiga.tech] Disk validation problem

ms361@leah.Albany.Edu (Mark Steinberger) (05/21/89)

------------------------------
Technical information: I have an Amiga 500 with a Phoenix PhD 48 meg hard
disk. I'm running the ARP shell (ASH) with Conman and the 1.3 ARP commands.
------------------------------

I tried a write command to one of my hard disk partitions, dh1: by name,
that my system didn't like ("move a.b a:b" where a: was a logical assignment 
to a subdirectory of dh1:). The hard disk commenced to chitter violently, so 
I rebooted.

From that time forth, dh1: has failed to validate. I get a requestor saying 
               
                      Disk Validation Error

                      Key 8151 Already Set

and have to cancel the request to validate in order to bring up the system
at all. In consequence, the rest of the system has been ok, but dh1: is
only available on a read-and-execute-only basis.

What should I do to correct this problem? Do I have to reformat the hard
disk? Can I reformat dh1: alone, or will dh0: also be affected by any
reformatting? Is there a less radical solution to this problem?

Thanks.

Sincerely, Mark Steinberger

P.S. Is Key 8151 any relation to Catch 22?

lphillips@lpami.wimsey.bc.ca (Larry Phillips) (05/23/89)

In <1852@leah.Albany.Edu>, ms361@leah.Albany.Edu (Mark Steinberger) writes:
>I tried a write command to one of my hard disk partitions, dh1: by name,
>that my system didn't like ("move a.b a:b" where a: was a logical assignment 
>to a subdirectory of dh1:). The hard disk commenced to chitter violently, so 
>I rebooted.

Depending on what 'move' command you were using, it should have been alright.
Perhaps you mistook the normal seeking you get when copying a file to a
different place on the same physical ldisk. Perhaps there was another task
using the disk at the same time. At any rate, it's seldom a good idea to reboot
while there you are performing write operations. In most cases, you will do
more harm that wy than if you just let the operation run its course.

>From that time forth, dh1: has failed to validate. I get a requestor saying 
>               
>                      Disk Validation Error
>
>                      Key 8151 Already Set
>
>and have to cancel the request to validate in order to bring up the system
>at all. In consequence, the rest of the system has been ok, but dh1: is
>only available on a read-and-execute-only basis.

>What should I do to correct this problem? Do I have to reformat the hard
>disk? Can I reformat dh1: alone, or will dh0: also be affected by any
>reformatting? Is there a less radical solution to this problem?

Yes, you can format one partition without harming the others. There are,
currently, other solutions. The 'key' referred to in the requester is the
number of the disk block, referenced to block 0 (cylinder 0, head 0, sector 0
of _that partition_. The 'key already set' part means that there are two
pointers to key 8151 in the directory structure. A sector editor, a knowledge
of the Amiga's disk directory structures, and a lot of work is one way. Another
possibility is DiskDoctor, though I still don't trust it fully. Some folks have
been reporting good results with it lately.

Other than that, there is not much else to be done except to format and
restore.

-larry

--
  - Don't tell me what kind of a day to have! -
+----------------------------------------------------------------------+ 
|   //   Larry Phillips                                                |
| \X/    lphillips@lpami.wimsey.bc.ca or uunet!van-bc!lpami!lphillips  |
|        COMPUSERVE: 76703,4322                                        |
+----------------------------------------------------------------------+