[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::networker

Title:NetWorker
Notice:kits - 12-14, problem reporting - 41.*, basics 1-100
Moderator:DECWET::RANDALL.com::lenox
Created:Thu Oct 10 1996
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:750
Total number of notes:3361

378.0. "Read error, unexpected block size" by SIOG::BR_MURPHY () Tue Feb 04 1997 01:58

    Hi Folks,
    		My customer has an Alpha 2100, attched to a HSZ40 with a
    tlz877. The system is running DU3.2G & Networker 4.2A. I use tapes
    fresh from the pack. They have each been labelled & verified. The
    backups are reported to have run correctly to completion. Using mminfo
    supplies me with how much data was written to the tape etc.. However,
    when I try to restore data, or when I run an inventory of the tapes
    currently in the stacker I get the following error on tapes that have
    been selected as the available backup media & written to by Networker:
    
    nsrd: media notice: volume "" on device "/dev/nrmt1h": read 10240
    bytes, expected block size of 32768, check system device configuration,
    disabli...
    
    		I'd be very grateful if anyone could shed some light on
    this for me. How do I find out & change the system device
    configuration? Are there definitions within Networker to decide on
    the read & write block size of a tape?
    
    Thanks for any help provided.
    
    Brendan
T.RTitleUserPersonal
Name
DateLines
378.1DECWET::FARLEEInsufficient Virtual um...er....Tue Feb 04 1997 08:5319
NetWorker defines per device type what the block size should be
for reading and writing for that type of device.  Currently, ALL
tape devices are read and written in 32K blocks.  In the near future
we will be writing larger blocks for some devices which are more efficient
with larger blocks.

This message tells us that NetWorker attempted a 32K read, and only got
10K from record on the tape.  That, in combination with the volume name 
being "" tells me that the tape either had not been written by NetWorker
as you thought it had (maybe a fresh tape got miced into the stacker?)
or else the tape is physically corrupted.

NetWorker's reaction is to drop the assumption that it knows where things are
on tape, and to move around by record.  It will still get to the data
if it is there, but positioning will be very slow.

My bet is that somehow a non-NetWorker tape got into the stacker.

Kevin
378.2Tape read error on block sizeSIOG::BR_MURPHYTue Feb 04 1997 09:4116
    Kevin,
    	I guarantee you that no other tapes got into the stacker. I can run
    the backup & when I try to read the data back in it fails. Sometime it
    enters "Unknown" ... although the tapes had been labelled Alpha1.001 &
    Alpha1.002. 
    
    	If I run an inventory on the tapes in the stacker. Only those tapes
    that networker has written to are rejected with the aforementioned
    error. These are then listed as being none-networker tapes. The
    remaining tapes in the rack are registered as valid labelled, but
    unused tapes.
    
    	If there's any info you think I should copy onto this conference
    I'll go back out to site & download it all.
    
    Brendan.
378.3reset tape magneticsDECWET::EVANSBe a Point Of Light!Tue Feb 04 1997 11:3515
what is the error when you label one of those tapes.

Can you supply us an example of the messages seen when you label a new tape
 as you did when you started this process??

I wonder if these tapes are Compact3 or 2 (or 1)??

Can you try doing 
	mt -f /dev/nrmt1h rewind
	mt -f /dev/nrmt1h weof 4
	mt -f /dev/nrmt1h rewind

 to reset the tape and then try lebelling (relabel) using NetWorker.

Let us know what happens - thanks!
378.4DECWET::RWALKERRoger Walker - Media ChangersTue Feb 04 1997 17:2813
	1.  Check the system error log for any hardware errors.
	
	2.  Make sure that the SCSI interface you are using is supported by
	    the HSZ for tape passthrough.  Not all are.

	3.  Make sure that you have the current version of HSOF for the
	    HSZ40.

	It sounds like the HSZ is not transfering the full 32k byte blocks
	to the tape.  This is not likely to be an application problem.
	Very few people are using NetWorker and tape drives behind
	an HSZ so we are not as experianced at we might like with
	this combination.
378.5ApologiesSIOG::BR_MURPHYFri Feb 07 1997 02:1017
    Dear All, 
    
    Thanks very much for your help. I'm terribly sorry for doubting you.
    After thinking about your comments on swapped tapes, it dawned on me
    that if they hadn't been swapped...which they weren't...someone must be
    writing to them. Before visiting the customer site I checked this out,
    running an NSR backup, tarring to the tape with 10k bock size, & trying
    to restore from networker. Sure enough I got the exact same
    errors....the "unknown" bit is because Networker thinks it has a valid
    NSR labelled tape in the drive. After the first verification this is
    dropped.
    
    I visited the customer & found a cron job writing data to the tape
    every night. This has now been stopped & the customer warned
    strenuously that the Stacker should really be dedicated to networker,
    if they want to avoid problems.
      
378.6Hey -- this is Good News!!DECWET::EVANSBe a Point Of Light!Fri Feb 07 1997 10:131
Thanks for letting us know the outcome!