>Running 'amlabel foo foo001' from amanda 2.4.2p1:
>
>rewinding, reading label, reading label: Invalid argument
>rewinding, writing label foo001
>amlabel: writing label: Invalid argument

You didn't mention what OS you're using, or what device or device name,
so I'm not sure what EINVAL is trying to say for read() and write().

You said you were able to use system tools as the Amanda user (which
was a very good thing to have tried).  The one I'd test with is:

  mt -f /dev/<whatever> rewind
  dd if=/dev/zero of=/dev/<whatever> bs=32k count=10

That's about the closest you'll get to what Amanda does (the 32 KByte
block size being the important part).  If you don't have /dev/zero,
pick a file thats a few MBytes.

Make sure you use a scratch tape :-).

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

Reply via email to