From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 08:51:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26EBB16A4CE for ; Fri, 19 Mar 2004 08:51:34 -0800 (PST) Received: from post5.inre.asu.edu (post5.inre.asu.edu [129.219.110.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id E958443D3F for ; Fri, 19 Mar 2004 08:51:33 -0800 (PST) (envelope-from David.Bear@asu.edu) Received: from conversion.post5.inre.asu.edu by asu.edu (PMDF V6.1-1X6 #30769) id <0HUU009011A1VI@asu.edu> for freebsd-questions@freebsd.org; Fri, 19 Mar 2004 09:46:49 -0700 (MST) Received: from smtp.asu.edu (smtp.asu.edu [129.219.110.107]) by asu.edu (PMDF V6.1-1X6 #30769) with ESMTP id <0HUU0091E1A1U8@asu.edu> for freebsd-questions@freebsd.org; Fri, 19 Mar 2004 09:46:49 -0700 (MST) Received: from moroni.pp.asu.edu (moroni.pp.asu.edu [129.219.120.183]) (8.12.10/8.12.10/asu_smtp_relay,nullclient,tcp_wrapped) with ESMTP id i2JGklQw029601 for ; Fri, 19 Mar 2004 09:46:48 -0700 (MST) Received: by moroni.pp.asu.edu (Postfix, from userid 500) id 1A54A9E5; Fri, 19 Mar 2004 09:46:49 -0700 (MST) Date: Fri, 19 Mar 2004 09:46:49 -0700 From: David Bear To: freebsd-questions@freebsd.org Message-id: <20040319164649.GB6050@asu.edu> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.4.1i Subject: dump/restore issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David.Bear@asu.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 16:51:34 -0000 My tape unit has been giving me problems on one server. So I did a dump over ssh to another box with a working tape like this: dump -0u -a -b 64 -f - /dev/da1s1e | ssh id@srv2 dd of=/dev/nrsa0 Then to check the dump on srv2 I did restore -i -f /dev/nrsa0 which came back and said the tape block size was different than the dump block size.... or something like that. >From my reading of the dump man page the -b parm controlled the block size of the chunks that dump wrote, but was NOT connected to the actual block size of the tape. Since this tape is a variable block device, I went ahead and set -b to the max... But now what do I do about restore? Is there a better way to control tape block size when piping through ssh? ie, dd of=/dev/nrsa0 bs=512?? But then what meaning does the -b parm have in dump? -- David Bear phone: 480-965-8257 fax: 480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 "Beware the IP portfolio, everyone will be suspect of trespassing"