>>>>> On Wed, 26 Oct 2011 08:28:05 +0200, Andrea Venturoli said:
>
> Hello.
>
> This has been brought up several times, but I can only find questions,
> not a definite answer.
>
> I have a LTO-4 tape drive on FreeBSD 7.3/amd64.
> > # camcontrol devlist
> > <TANDBERG LTO-4 HH W519> at scbus0 target 2 lun 0 (sa0,pass0)
>
> I can write tapes and restore them, but, after a reboot or after I
> unmount the tape, I cannot append to them anymore. This happens with
> every tape.
> I'm using bacula 5.0.3 and I remember this used to work in the past;
> however I cannot remember when it stopped working.
>
> What bacula says:
> > 26-Oct 07:27 golia-sd JobId 16763: Volume "Out001" previously written,
> > moving to end of data.
> > 26-Oct 07:43 golia-sd JobId 16763: Error: Unable to position to end of data
> > on device "LTO-4" (/dev/nsa0): ERR=dev.c:956 ioctl MTEOM error on "LTO-4"
> > (/dev/nsa0). ERR=Input/output error.
> > 26-Oct 07:43 golia-sd JobId 16763: Marking Volume "Out001" in Error in
> > Catalog.
>
> What I see in the logs:
> > Oct 26 07:43:29 xxxxx kernel: (sa0:mpt0:0:2:0): CAM Status: SCSI Status
> > Error
> > Oct 26 07:43:29 xxxxx kernel: (sa0:mpt0:0:2:0): SCSI Status: Check Condition
> > Oct 26 07:43:29 xxxxx kernel: (sa0:mpt0:0:2:0): MEDIUM ERROR info:7fff
> > asc:14,0
> > Oct 26 07:43:29 xxxxx kernel: (sa0:mpt0:0:2:0): Recorded entity not found
> > Oct 26 07:43:29 xxxxx kernel: (sa0:mpt0:0:2:0): Retries Exhausted
>
> I can complete all the tape tests with no errors.
>
> What should I do?
Does the setting of "TWO EOF" in the bacula-sd.conf match what is reported by
the drive after you reboot? E.g.
mt -f /dev/sa0.ctl geteotmodel
__Martin
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|