Page 1 of 2

Problem working with WBSAirback (Bacula) and TS3500

Posted: Sat Nov 17, 2018 2:22 am
by rodrigo_fsantos
I'm trying to work with WBSAirback (Bacula Enterprise) and TS3500 LTO5 drive through Starwind Tape redirector.

I'm able to mount, label and write some backup jobs, but sometimes I get an I/O error (results attached)

These are the errors logs on Starwind console..
11/17 0:50:34.545 1348 Sw: *** Swn_SocketRecv: WSARecv() failed with error 10054 (0x2746)!
11/17 0:50:34.545 1348 Srv: *** SwSocket::Recv: Swn_SocketRecv() failed with error 10054 (0x2746)!
11/17 0:50:34.545 1348 C[2], LIN: iScsiConnection::receive: recvData returned 10054 (0x2746)!
11/17 0:50:34.545 1348 C[2], LIN: iScsiConnection::recvWorker: *** 'recv' thread: recv failed 10058.

I read some notes talking about transfer size, I did some test changing these parameters, but I didnt have success.
Could you help me?

Tks.

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Tue Nov 20, 2018 9:14 am
by Oleg(staff)
These messages are related to network interruptions.
Is it possible to send us full logs in order to investigate the issue more deeply?

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Wed Nov 21, 2018 12:44 pm
by rodrigo_fsantos
Of course! Attached the Starwind full log.
Please let me know, if another logs are necessary!

Thanks.

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Wed Nov 21, 2018 4:19 pm
by Oleg(staff)
Thank you! I will keep you posted.

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Thu Nov 22, 2018 8:34 pm
by rodrigo_fsantos
Hi Oleg,

These are the configs in the iscsid.conf on the initiator side... Do you think that I need to change something?

#WBSAirback iSCSI autoconfiguration
node.startup = automatic
node.session.timeo.replacement_timeout = 120
node.conn[0].timeo.login_timeout = 15
node.conn[0].timeo.logout_timeout = 15
node.conn[0].timeo.noop_out_interval = 5
node.conn[0].timeo.noop_out_timeout = 5
node.session.initial_login_retry_max = 8
node.session.cmds_max = 128
node.session.queue_depth = 32
node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = Yes
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072
discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
node.session.iscsi.FastAbort = Yes

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Thu Nov 22, 2018 9:18 pm
by Oleg(staff)
Thank you Rodrigo,
Could you please also give more details about WBSAirback, does it have ISCSI initiator?
Is it possible to get the log from this client?

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Fri Nov 23, 2018 1:12 am
by rodrigo_fsantos
Hello Oleg,

WBSAirback is a software backup tool that runs in Linux Debian 7, but we are working in a appliance format, just the WBS has root access.
It has an Linux iSCSI initiator to access the tape drive from Starwind.
What logs would you like?

Thanks,

Rodrigo.

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Fri Nov 23, 2018 12:36 pm
by Oleg(staff)
Hello Rodrigo,
Could you please try to change these parameters to 65536:
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072

Please share the results of this change.

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Fri Nov 23, 2018 2:36 pm
by rodrigo_fsantos
Thanks, Oleg, I will try with these new parameters.

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Fri Nov 23, 2018 2:48 pm
by Oleg(staff)
Please keep us updated with the results.

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Wed Nov 28, 2018 5:07 pm
by Oleg(staff)
Hello Rodrigo,
Did you try to change the parameters?
Please share the results of this change with the community if yes.

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Wed Nov 28, 2018 5:40 pm
by rodrigo_fsantos
Hello Oleg,

Yes, I'm trying with the new parameters on iSCSI initator, but.....
- I was able to complete a backup job and a restore job once... and after I tried to write a new backup job I had the same I/O error.

I've noticed that errors always occur when a tape operation is required, such as position to the end, rewind the tape....
It is an intermittent error! Attached the new logs!

Do you know that is better to use Windows 2012?

Thanks for your help!

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Wed Nov 28, 2018 7:38 pm
by rodrigo_fsantos
I have just finished a successfull backup and when I try to restore I have these errors (image attached).

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Thu Nov 29, 2018 12:26 pm
by Oleg(staff)
Thank you, Rodrigo,
I have passed this information to our R&D team. I will keep the community updated.

Re: Problem working with WBSAirback (Bacula) and TS3500

Posted: Thu Dec 06, 2018 3:03 pm
by rodrigo_fsantos
Hi Olleg, how are you doing?

Would you have some news about this case?

Thanks.

Rodrigo