home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11399 < prev    next >
Encoding:
Internet Message Format  |  1992-07-26  |  3.9 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!swrinde!ringer!ricky.brainlab.utsa.edu!senseman
  2. From: senseman@ricky.brainlab.utsa.edu (David M. Senseman)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Problem with Tape Backup -- blocksize mismatch
  5. Message-ID: <1992Jul26.123233.29447@ringer.cs.utsa.edu>
  6. Date: 26 Jul 92 12:32:33 GMT
  7. Sender: news@ringer.cs.utsa.edu
  8. Organization: University of Texas at San Antonio
  9. Lines: 86
  10. Nntp-Posting-Host: ricky.ls.utsa.edu
  11.  
  12. Here's what I get from an Indigo XS-24 running 4.0.5 with List_tape:
  13. /////////////////////////////////////////////////////////////////////////////
  14. ricky 259# mt rewind
  15. ricky 260# mt status
  16.         Controller: SCSI
  17.         Device: ARCHIVE: Python 25601-XXX2.63
  18.         Status: 0x20262
  19.         Drive type: DAT
  20.         Media : READY, writable, at BOT
  21. ricky 261# List_tape
  22.  
  23. Tape listing started.  Please wait...
  24.  
  25. Tape Header
  26. ===========
  27. bru: warning - missing archive header block; starting at volume 1
  28. bru: c => continue  q => quit  r => reload  s => fork shell  [default: q] >> c
  29.  
  30. Files
  31. =====
  32. bru: warning - missing archive header block; starting at volume 1
  33. bru: c => continue  q => quit  r => reload  s => fork shell  [default: q] >> c
  34. bru: warning - file synchronization error; attempting recovery ...
  35. s_read req=18432 read =-1
  36. -rwxr-xr--   1 root     sys        33597 Jul 20 12:00 /usr2/src/stud/stud_main.c
  37. bru: warning - file synchronization error; attempting recovery ...
  38. s_read req=10240 read=-1
  39. -rwxr-xr--   1 root     sys         2136 Jul 20 12:00 /usr2/src/stud/butt.h
  40. -rwxr-xr--   1 root     sys         5061 Jul 20 12:00 /usr2/src/stud/button.c
  41. -rwxr-xr--   1 root     sys        24213 Jul 20 12:00 /usr2/src/stud/dir_main.c
  42. bru: warning - file synchronization error; attempting recovery ...
  43. -rwxrwxr-x   1 root     sys        23542 Jul 20 12:00 /usr2/src/stud/datafile.ps
  44. -rwxr-xr--   1 root     sys         5257 Jul 20 12:00 /usr2/src/stud/dcv.c
  45. -rw-r--r--   1 root     sys        50160 Jul 21 12:01 /usr2/src/stud/printinfo.o .......
  46. ////////////////////////////////////////////////////////////////////////////////
  47. The script doing the backup is:
  48.  
  49. #! /bin/sh
  50. /bin/mt -t /dev/mt/tps0d3nrv rewind
  51. /bin/mt -t /dev/mt/tps0d3nrv status
  52. if [ $? -eq 0 ]
  53. then
  54.         echo "Backup /usr2 date:" > /tmp/brulog
  55.         date >> /tmp/brulog
  56.         bru -cBvZT -f /dev/mt/tps0d3nrv /usr2 >> /tmp/brulog
  57.         mt -t /dev/mt/tps0d3 rewind
  58.         bru -i -f /dev/mt/tps0d3nrv > /tmp/bru_errors
  59.         mt -t /dev/mt/tps0d3nrv rewind
  60. else
  61.         elm senseman -s "Backup Errors -- /usr2 backup " < /error_notice.
  62. fi
  63.  
  64. //////////////////////////////////////////////////////////////////////////////
  65.  
  66. Here's the top part of the "/tmp/brulog" :
  67.  
  68. ricky 265# more brulog
  69. Backup /usr2 date:
  70. Sun Jul 26 03:30:06 CDT 1992
  71. c ( 0%)   2k of   4k [1] / <--------------------------------+
  72. c ( 0%)   2k of   6k [1] /usr2                              |
  73. c ( 0%)   2k of   8k [1] /usr2/lost+found                   |
  74. c ( 0%)   2k of  10k [1] /usr2/src                      Files Lost!
  75. c ( 0%)   2k of  12k [1] /usr2/src/stud                     |
  76. c (30%)   4k of  16k [1] /usr2/src/stud/Makefile            |
  77. c (43%)  42k of  58k [1] /usr2/src/stud/stud_main.o  <------+
  78. c (54%)  20k of  78k [1] /usr2/src/stud/stud_main.c
  79.  
  80. /////////////////////////////////////////////////////////////////////////////
  81.  
  82.  
  83. The output of the "error_check" ( bru -i -f /dev/mt/tps0d3nrv > /tmp/bru_errors
  84. shows no errors BUT a look at SYSLOG shows there's been a "blocksize mismatch:
  85.  
  86. Jul 26 06:55:59 ricky unix: NOTICE: SCSI tape #3 blocksize mismatch; blocksize on tape is 20480 bytes
  87. Jul 26 06:55:59 ricky unix: NOTICE: SCSI tape #3 blocksize mismatch; blocksize on tape is 20480 bytes 
  88.  
  89. What sorts of problems could lead to this error -- bad DAT,
  90. bad cable, dirty heads, bad tape, all of the above?
  91.  
  92. Thanks.
  93.  
  94. -- 
  95. "Is this the party to   |  David M. Senseman  (senseman@lonestar.utsa.edu)
  96.  whom I am speaking?"   |  Brain Research Laboratory
  97.           --Ernestine   |  The University of Texas at San Antonio
  98.