From owner-freebsd-questions Sat Nov 18 13:59:34 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA20140 for questions-outgoing; Sat, 18 Nov 1995 13:59:34 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA20126 for ; Sat, 18 Nov 1995 13:59:29 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA09764; Sat, 18 Nov 1995 14:56:40 -0700 From: Terry Lambert Message-Id: <199511182156.OAA09764@phaeton.artisoft.com> Subject: Re: tape INIT ? To: wjh@bhoss.ifx.net Date: Sat, 18 Nov 1995 14:56:40 -0700 (MST) Cc: questions@freebsd.org In-Reply-To: from "Bill Henderson" at Nov 18, 95 02:40:05 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1920 Sender: owner-questions@freebsd.org Precedence: bulk > Since I have VMS exp. and not alot of UNIX exp. can anyone tell me > if there is a tape init command, I have a scsi tape drive that I am > trying to backup to and keep running out of space, it is a 2gig tape > and I know the system does not have taht much data on it, also is > there any goog backup progs. for freebsd ? Tapes in UNIX are streams of bytes that are not block addressable in most UNIX drivers. A tape is divided into logical extents sperated by EOT marks and terminated by two soft EOT marks or a physical EOT (whichever comes first). The VMS init command writes an ANSI header to a block addressable device, which subsequent backup programs read and (potentially) rewrite on a block addressable basis. Typically UNIX tapes aren't block addressable because the devices themselves aren't block addressable (ie: QIC-11/QIC-24 helical scan). This carries through to the other drivers because UNIX wants all devices to look the same. > How about some ex backup commands ? There are example commands on the following man pages: tar, cpio, dump. Dump is closest to the VMS backup utility, though it applies to full devices (unless you pick up some of the recent patches on the -hackers list to allow it to apply to subtrees). You will need to know your device name. If you are using a DAT, you may need to use the "mt" command to set the block size. People who automate backups typically use the "Amanda" system, which you can find in the "ports" collection and simply install. There is a VMS backup/restore utility capable of reading/writing VMS backup format tapes, and ANSI tapes in general. I believe it is called "vmsbackup" or "ansitape" or something like that. It is on wuarchive.wustl.edu in the comp.unix.sources archive (via FTP). Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.