From owner-freebsd-stable@FreeBSD.ORG Fri Mar 25 15:05:57 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C66F106564A for ; Fri, 25 Mar 2011 15:05:57 +0000 (UTC) (envelope-from attila.bogar@linguamatics.com) Received: from mail.linguamatics.com (mail.linguamatics.com [193.34.186.85]) by mx1.freebsd.org (Postfix) with ESMTP id 36DA58FC15 for ; Fri, 25 Mar 2011 15:05:57 +0000 (UTC) Received: from [10.252.10.91] (dhcp091.linguamatics.com [10.252.10.91]) by mail.linguamatics.com (Postfix) with ESMTPSA id F083FEFB448 for ; Fri, 25 Mar 2011 15:10:25 +0000 (GMT) Message-ID: <4D8CABB2.2000507@linguamatics.com> Date: Fri, 25 Mar 2011 14:50:26 +0000 From: =?ISO-8859-1?Q?Attila_Bog=E1r?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to set tape parameters on freebsd? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 15:05:57 -0000 Dear FreeBSD list, I'm currently using FreeBSD on my backup server (w/ Amanda). I'm wondering if exists out there a utility for setting tape parameters (during boot). Linux had /sbin/stinit and /etc/stinit.def. Is there something similar for FreeBSD? Another problem I'm experiencing is: During power cycling, the controller resets the tape drives the drives eject the tape. If I use 'mt -f /dev/nsa0 comp off' in a boot script it fails with an error tape drive not configured. Is there a pretty solution for this or you just put mt into a loop until it succeeds? Is there a way pushing compression and block size parameters to the sa driver? I've already RTFM sa(8) and checked sysctl settings and I couldn't find the answer. Thanks for your constructive comments in advance, Attila