Amanda-Users

Re: Odd tape block size problems

2003-01-03 17:38:47
Subject: Re: Odd tape block size problems
From: "John R. Jackson" <jrj AT purdue DOT edu>
To: Martin Hepworth <martinh AT solid-state-logic DOT com>
Date: Fri, 03 Jan 2003 16:58:07 -0500
>If I use 2.4.3 I have to specify the blocksize to get tapetype to work 
>(20). If I just it run I get short write errors and also problems about 
>multiple block write errors in /var/log/messages. Same for trying to 
>label a tape.

Sounds like the drive is set to use a fixed hardware block size.  If 20
works, then that must be a multiple of the size, so I'd bet it's set to
10KBytes (standard tar blocking factor).

You need to change the device to "variable" block size.  On Linux,
I *think* that's done with "mt -f /dev/whatever setblk 0".

You can test this after the change with dd (and a **scratch** tape :-):

  dd if=/dev/zero bs=32k count=10 of=/dev/whatever

If this works (and I'm betting it does not with your current setup),
then Amanda will probably be happy.

>Martin Hepworth

John R. Jackson, Technical Software Specialist, jrj AT purdue DOT edu

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Odd tape block size problems, John R. Jackson <=