"John R. Jackson" <[EMAIL PROTECTED]> writes:

> >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().

I'm using IRIX 6.5 and /dev/rmt/tps1d3nr as the tape device.

> 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.

Write error: Invalid argument
1+0 records in
0+0 records out

Reply via email to