Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 11:58:48 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Damian Sobieralski <dsobiera@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tape record bigger than supplied buffer
Message-ID:  <429C4368.6030404@dial.pipex.com>
In-Reply-To: <20050531005409.90529.qmail@web50402.mail.yahoo.com>
References:  <20050531005409.90529.qmail@web50402.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Damian Sobieralski wrote:

>>2) See if you can't find some option to match the bacula record size
>>to that of your tape drive.  Dump, for example, has a -b option e.g.
>>"-b 64" to set its record size.  I'm puzzled by you only seeing three
>>messages though.  Why would three buffers be smaller and not the
>>rest?
>>    
>>
>
> That's a good question that I don't know the answer to.  I thank you
>for the response.  I'll see if I can get a bit more information by
>restoring the data for us to work with.  When you say match the record
>size to my tape drive's, is this something that should be listed in my
>tape drives literature?
>
>  
>
Well, I'm guessing yes, but only based on that error message.  I know 
older tape drives had fixed record sizes, and maybe some kinds of new 
ones do too.  My DAT drive does variable sized records, because it has 
native compression, but yours may not.

You could also try "mt -f /dev/sa0" and see what it says.  I can't 
remember off had if it shows anything useful but it only takes seconds.  
(I'd check, but I'm in the middle of upgrading hardware/software and the 
tape drive isn't connected up yet).  You could also try man 4 sa which 
talks about fixed and variable block sizes.  (As far as I know, there is 
a limit of 64k for the record size, but this was info from the 4.X 
series, so I reserve the right to be wrong :-)

--Alex




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?429C4368.6030404>