John,

I tried what you suggested and this is what I got:
bash-2.02$ mt -f /dev/rst0 rewind
bash-2.02$ dd if=/dev/rst0 bs=32k
0+0 records in
0+0 records out
0 bytes transferred in 14.688649 secs (0 bytes/sec)

My OS is FreeBSD and I am using DAT DSS2 4Gbytes...

I will be on vacation for two weeks but after that I will try a few tests to see exactly when this is happening.

Any personal ideas ?

Pat.

"John R. Jackson" wrote:

>Apparently I confused every one with my explanations.

OK, I get it now.

>The problem occurs when I do put the valid tape in for the next run and
>amcheck is run, it then compains that the inserted tape isn't an amanda tape
>and if I check the first block using dd it does seem like if the tape was
>blank ...

So what happens if you do this:

  amadmin <config> tape           # tells you what tape to mount
  # mount the tape

  mt -f /dev/whatever rewind      # make sure it is online
  dd if=/dev/whatever bs=32k      # should show the TAPESTART label
  amcheck -s <config>             # should rewind and validate the tape

  mt -f /dev/whatever rewind      # get back to the beginning
  dd if=/dev/whatever bs=32k      # should still show the TAPESTART label
  amcheck -s <config>             # should still rewind and validate the tape

What kind of tape drive and OS are you using?

>Pat.

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to