Re: [Bacula-users] Cannot append to LTO-4 tape
On 10/31/11 17:40, Martin Simmons wrote: Did btest only work when you used two eof mode? Yes, unfortunately. I tried the whole testing again and it fails unless I set two EOFs. bye Thanks av. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot append to LTO-4 tape
On Sat, 29 Oct 2011 15:05:20 +0200, Andrea Venturoli said: On 10/27/11 12:31, Martin Simmons wrote: 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 Yes. I have: Device { Name = LTO-4 Description = LTO-4 for FreeBSD Media Type = LTO-4 Archive Device = /dev/nsa0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes RemovableMedia=yes Offline On Unmount = no Hardware End of Medium = no BSF at EOM = yes Backward Space Record = yes Backward Space File = yes; Fast Forward Space File = yes TWO EOF = yes Maximum File Size=2GB } And: # mt geteotmodel /dev/nsa0: the model is 2 filemarks at EOT Hmm, OK. Did btest only work when you used two eof mode? I find that single eof mode works fine with an LTO-1 drive on FreeBSD 8 (but it has to be changed on boot using mt -f /dev/sa0.ctl seteotmodel 1. __Martin -- Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World#153; now supports Android#153; Apps for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot append to LTO-4 tape
On 10/27/11 12:31, Martin Simmons wrote: 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 Yes. I have: Device { Name = LTO-4 Description = LTO-4 for FreeBSD Media Type = LTO-4 Archive Device = /dev/nsa0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes RemovableMedia=yes Offline On Unmount = no Hardware End of Medium = no BSF at EOM = yes Backward Space Record = yes Backward Space File = yes; Fast Forward Space File = yes TWO EOF = yes Maximum File Size=2GB } And: # mt geteotmodel /dev/nsa0: the model is 2 filemarks at EOT bye Thanks av. -- Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World#153; now supports Android#153; Apps for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot append to LTO-4 tape
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 x kernel: (sa0:mpt0:0:2:0): CAM Status: SCSI Status Error Oct 26 07:43:29 x kernel: (sa0:mpt0:0:2:0): SCSI Status: Check Condition Oct 26 07:43:29 x kernel: (sa0:mpt0:0:2:0): MEDIUM ERROR info:7fff asc:14,0 Oct 26 07:43:29 x kernel: (sa0:mpt0:0:2:0): Recorded entity not found Oct 26 07:43:29 x 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot append to LTO-4 tape
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 x kernel: (sa0:mpt0:0:2:0): CAM Status: SCSI Status Error Oct 26 07:43:29 x kernel: (sa0:mpt0:0:2:0): SCSI Status: Check Condition Oct 26 07:43:29 x kernel: (sa0:mpt0:0:2:0): MEDIUM ERROR info:7fff asc:14,0 Oct 26 07:43:29 x kernel: (sa0:mpt0:0:2:0): Recorded entity not found Oct 26 07:43:29 x kernel: (sa0:mpt0:0:2:0): Retries Exhausted I can complete all the tape tests with no errors. What should I do? Any help appreciated. bye Thanks av. -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users