Backup & Recovery


Jobs end with an error:

0/18/2016 11:41:16 - Error bptm (pid=1312) cannot write image to media id 129365, drive index 8, Value too large for defined data type
10/18/2016 11:41:18 - Info bptm (pid=1312) EXITING with status 84 <----------


On RHEL media servers you might get this error in /var/log/messages

Oct 18 11:41:16 my-dear-media-srv kernel: st32: Can't allocate 524288 byte tape buffer.


The  lpfc driver is set to a smaller buffer size than the st driver. This causes the I/O to fail. You need to set corrcet vaules.

For example in /etc/modprobe.d/st.conf

options st buffer_kbs=2048   

and in the /etc/modprobe.d/lpfc.conf
options lpfc lpfc_sg_seg_cnt=512    

You should remember that  buffer_kbs = 4 x lpfc_sg_seg_cnt