From owner-freebsd-questions Fri Sep 21 15:30:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by hub.freebsd.org (Postfix) with ESMTP id B846E37B415 for ; Fri, 21 Sep 2001 15:30:41 -0700 (PDT) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 15kYoe-0006DM-00; Sat, 22 Sep 2001 00:30:36 +0200 Received: (from daemon@localhost) by kemoauc.mips.inka.de (8.11.6/8.11.6) id f8LMJnu44565 for freebsd-questions@freebsd.org; Sat, 22 Sep 2001 00:19:49 +0200 (CEST) (envelope-from daemon) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: remote tar over ssh Date: Fri, 21 Sep 2001 22:19:47 +0000 (UTC) Message-ID: <9ogee3$1bgc$1@kemoauc.mips.inka.de> References: <20010921204749.8573@mail.rintrah.org> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Devin Smith wrote: > I have an Onstream DI-30 Tape drive that only runs under linux. Doubtful. As a misleading way of saying that there's no FreeBSD driver it's correct, though. > AFAIK, tar is the only linux utility I have which properly writes > to it. Doubtful. tar uses plain write() calls, there's no special tape access magic. > fbsd$ tar -b 64 -cvf - /tmp | ssh root@backup dd of=/dev/ht0 You don't give a blocksize to dd, so it uses its default of 512 bytes. In fact, your kernel log... > Sep 21 16:39:51 backup kernel: ide-tape: Reached idetape_chrdev_open > Sep 21 16:40:03 backup kernel: ide-tape: ht0: use 32768 bytes as block > size (512 used) ... even says so. > any suggestions? fbsd$ tar -cvf - -b 64 /tmp | ssh root@backup dd bs=32k of=/dev/ht0 For better performance, replace dd with buffer. -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message