Hello,

I’m running the btape fill command (single tape) and get MTWEOF errors.
I’m using FreeBSD 5.5-STABLE: Thu Aug 31 21:47:12 EDT 2006 and Bacula
1.38.11_1 from the ports collection.

Btape message at end of tape:

Wrote blk_block=845000, dev_blk_num=13000 VolBytes=54,512,566,584
rate=2160.2 KB/s
02-Sep 17:28 btape: btape Error: block.c:538 Write error at 79:13215 on
device "Autoloader" (/dev/nsa0). ERR=Input/output error.
02-Sep 17:28 btape: btape Error: Error writing final EOF to tape. This
Volume may not be readable.
dev.c:1542 ioctl MTWEOF error on "Autoloader" (/dev/nsa0).
ERR=Input/output error.
btape: btape.c:2301 Last block at: 79:13214 this_dev_block_num=13215
btape: btape.c:2335 End of tape 79:13215. VolumeCapacity=54,526,436,664.
Write rate = 2103.1 KB/s
Done writing ...
Wrote state file last_block_num1=13214 last_block_num2=0

17:28:59 Done filling tape at 79:13215. Now beginning re-read of tape
...
Rewinding.

mt -f /dev/nsa0 status:
Mode      Density              Blocksize      bpi      Compression
Current:  0x81                 variable       0        0x3

mt -f /dev/nsa0 geteotmodel: 2

bacula-sd.conf:

Autochanger {
  Name = Exabyte
  Device = Autoloader
  Changer Command = "/usr/local/share/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/pass1
}

Device {
  Name = Autoloader
  Description = Exabyte 1x10 Autoloader
  Media Type = "VXA-2"
  Archive Device = /dev/nsa0

  Autochanger = yes
  Drive Index = 0

  Offline On Unmount      = no
  Hardware End of Medium  = no
  BSF at EOM              = yes
  Backward Space Record   = no
  Fast Forward Space File = no
  TWO EOF                 = yes

  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"

  Spool Directory = /var/db/bacula/spool
  Maximum Spool Size = 350G
}

Is MTWEOF caused by a configuration error?

Thanks,
Brian

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to