Veritas-bu

[Veritas-bu] problem with wrong buffer size

2001-08-16 13:56:48
Subject: [Veritas-bu] problem with wrong buffer size
From: John_Wang AT enron DOT net (John_Wang AT enron DOT net)
Date: Thu, 16 Aug 2001 12:56:48 -0500
Hello Jonas

That depends on whether you need to be able to actually access the data that's
still on the tape.   Allowing overwrites or even erasing the tape and
relabelling is the easiest way but results in loss of the data on the tape.
You may be able to carefully use the Unix dd and mt commands to copy the data
into the new block record length but I wouldn't trust it since the tar would
also have done it's own blocking, dd and mt can probably fix the label but you
would probably have to dd to a tar to another tar to a dd in order to convert
the actual data (if it's multiplexed, this could be very difficult).   At this
site, by the time I was brought in to take over their Netbackup setup, the tapes
in the old block format had basically expired so I just erased and relabelled.

Regards,
John I Wang
Sr. Systems Engineer
Steverson Information Professionals

---
Enron Networks
Enron Building room 3427e
ph (713) 345-4888
cell (832) 493-1263
fax (713) 646-8462
pg pagejwang AT skytel DOT com or 1-877-390-4155





|--------+----------------------------->
|        |          jonas.blaberg@celln|
|        |          etwork.com         |
|        |                             |
|        |          08/16/01 04:31 AM  |
|        |                             |
|--------+----------------------------->
  >---------------------------------------------------------------------------|
  |                                                                           |
  |       To:     veritas-bu AT mailman.eng.auburn DOT edu                      
     |
  |       cc:     (bcc: John Wang/Contractor/Enron Communications)            |
  |       Subject:     [Veritas-bu] problem with wrong buffer size            |
  >---------------------------------------------------------------------------|



hello!


Due to some reasons (no use mentioning the reasons now), we hade to increase the
buffer size a month ago.


when we are trying to reuse our tapes that used the old buffer size, the tape is
frozen and not usable. I get the following excerpts from the bptm log:


          10:23:24 [25072] <2> io_open: file
          /usr/openv/netbackup/db/media/tpreq/000006 successfully opened
          10:23:24 [25072] <2> write_backup: media id 000006 mounted on drive
          index 0, drivepath /dev/rmt/0cbn, drivename SEAGATEULTRIUM06242-XXX0


          10:23:24 [25072] <2> io_read_media_header: drive index 0, reading
          media header, buflen = 32768, buff = 0x422b80
          10:23:24 [25072] <2> io_ioctl: command (5)MTREW 1 from (bptm.c.4951)
          on drive index 0
          10:23:24 [25072] <2> io_read_media_header: block read is not a
          NetBackup media header, len = 512, media id 000006, drive index 0,
          data is ANSI-format


          10:23:24 [25072] <8> write_backup: FREEZING media id 000006, it
          contains ANSI-format data and cannot be used for backups


how do I solve it the easiest way, without getting inconsistency problems in
netbackup?


/jonas






Jonas Blåberg
  Cell Network Sverige AB
  Kruthusgatan 17,6
  S-411 04 Göteborg
jonas.blaberg AT cellnetwork DOT com
@office: +46-(0)31-707 69 85
not@office: +46-(0)709-95 00 68












**********************************************************************
This e-mail is the property of Enron Corp. and/or its relevant affiliate and 
may contain confidential and privileged material for the sole use of the 
intended recipient (s). Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender or reply to Enron Corp. 
at enron.messaging.administration AT enron DOT com and delete all copies of the 
message. This e-mail (and any attachments hereto) are not intended to be an 
offer (or an acceptance) and do not create or evidence a binding and 
enforceable contract between Enron Corp. (or any of its affiliates) and the 
intended recipient or any other party, and may not be relied on by anyone as 
the basis of a contract by estoppel or otherwise. Thank you. 
**********************************************************************

<Prev in Thread] Current Thread [Next in Thread>