Re: [Bacula-users] IBM DAT 160 (dds6) media status error after backup.

2016-09-23 Thread Marcin Haba
Hello Gi Dot, That is fantastic. You found source of the problem and you fixed the source. From this time the workarround with shell scripts is not needed anymore. By the way you fixed your tape drive problem with EOF position and you adjusted your tape drive to work with Bacula. Only good thing

Re: [Bacula-users] IBM DAT 160 (dds6) media status error after backup.

2016-09-23 Thread Gi Dot
Hi, I don't use the mount and umount scripts anymore by setting the following parameters: AlwaysOpen = no AutomaticMount = yes Previously I had AlwaysOpen set to yes and therefore I had to manually unmount it so that the tape is ready to be ejected by the user. AutomaticMount was not set as well

Re: [Bacula-users] IBM DAT 160 (dds6) media status error after backup.

2016-09-23 Thread Marcin Haba
Hello Gi Dot, OK, fine. Please note that mount and umount scripts that you mentioned are defined on Director side, not on Storage Daemon side. You also mentioned that you removed mount.sh and umount.sh after some tests. To btape you use bacula-sd.conf as a param in which you don't use mount.sh a

Re: [Bacula-users] IBM DAT 160 (dds6) media status error after backup.

2016-09-23 Thread Gi Dot
Yes, I'm planning to add the suggested parameters as well. Will also try out the mt-st command. I am pretty sure that the error occurred due to the mount and unmount scripts that I included in each run of the backup job, it would be interesting to see if the error still appear with the new config.

Re: [Bacula-users] IBM DAT 160 (dds6) media status error after backup.

2016-09-23 Thread Marcin Haba
Hello Gi Dot, Thanks for this output from btape test. You are asking about my thoughts. Looking on advices in your btape output, I would propose to add these three directives to device config: Hardware End of Medium = No Fast Forward Space File = No BSF at EOM = yes You mentioned that you alrea

Re: [Bacula-users] IBM DAT 160 (dds6) media status error after backup.

2016-09-23 Thread Gi Dot
Oh ya btw I'm using the mt command. On Fri, Sep 23, 2016 at 5:51 PM, Gi Dot wrote: > Hi, > > Thanks for your reply. I have changed my bacula-sd.conf configuration > since a couple of weeks, and removed the mount.sh and umount.sh scripts. So > far I have not received the tape error anymore. > > I

Re: [Bacula-users] IBM DAT 160 (dds6) media status error after backup.

2016-09-23 Thread Gi Dot
Hi, Thanks for your reply. I have changed my bacula-sd.conf configuration since a couple of weeks, and removed the mount.sh and umount.sh scripts. So far I have not received the tape error anymore. I did run the btape test as suggested, and seems like I have more modification to make. Let me know

Re: [Bacula-users] IBM DAT 160 (dds6) media status error after backup.

2016-09-22 Thread Marcin Haba
Hello Gi Dot, Could you try to run test command in btape tool and past here output from this test? The output text from the test command in btape can also advise adding some directives to your Bacula config (BSF at EOM = yes/no ...and others). I have also question if you use "mt" or "mt-st" prog