Networker

Re: [Networker] Errors labeling tapes?

2007-12-14 18:48:31
Subject: Re: [Networker] Errors labeling tapes?
From: A Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 14 Dec 2007 23:45:56 +0000
On Fri, Dec 14, 2007 at 01:06:26PM -0500, Terry Lemons wrote:
> Also, the first two files on a NetWorker tape are the label and the backup 
> label, respectively; each is 32 KB long.  So, if you rewind the tape to the 
> beginning, the first and second 'dd' you use should be:
> 
> dd if=/dev/rmt/0cbn bs=32k count=1 | od -c
> 
> The block size of the third and following files will depend on the device 
> type; NetWorker specifies a default block size for every output device.
> 

When testing like this, I normally just use 64k unless there's a
problem.  When reading from a tape, if the block size is too large,
it'll just keep reading.  If the block size is too small, you will
usually get an error from the tape device driver (at least on
unix... I'm not sure what windows/cygwin will do).

I've not used cygwin for block device operations before.  Does it expose
the \\TAPExxxx names in some way that they can be recognized?

-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER