Topic
  • 2 replies
  • Latest Post - ‏2013-12-24T22:27:02Z by ishimoto
mopt
mopt
2 Posts

Pinned topic RHEL6.4 x86_64 crash with ltfs-1.3.0.1 & lin_tape 2.1.0

‏2013-08-13T15:21:42Z |

Hi,

I have set up single drive edition ltfs host with following packages:

ltfs-1.3.0.1

lin_taped-2.1.0

lin_tape-2.1.0-1

kernel is latest RedHat provided kernel

2.6.32-358.14.1.el6.x86_64 #1 SMP Mon Jun 17 15:54:20 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
 

Aim is to use IBM TS1140 tape drive as multipath device with lin_tape and write data into the tape through ltfs-mount.

Lin_tape multipath setup seems to be valid:

cat /proc/scsi/IBMtape
lin_tape version: 2.1.0
lin_tape major number: 244
Attached Tape Devices:
Number  model       SN                HBA             SCSI            FO Path   
0       03592E07    1054004A1900      qla2xxx         1:0:1:0         Primary   
1       03592E07    1054004A1900      qla2xxx         3:0:1:0         Alternate
 

lin_tape kernel user loaded kernel module options are following:

cat /etc/modprobe.d/lin_tape.conf
options lin_tape alternate_pathing=1
options lin_tape tape_reserve_type=persistent
options lin_tape lin_tape_debug=1
 

scsi device persistent naming is set up:

ls -l /dev/lin_tape/by-id/
total 0
lrwxrwxrwx 1 root root 14 Aug 13 16:12 lin_tape1_0x21540090A5404A19 -> ../../IBMtape1
lrwxrwxrwx 1 root root 14 Aug 13 16:12 lin_tape1_0x21540090A5804A19 -> ../../IBMtape0
 

failover while primary FC-path disappears to alternate FC-path works smoothly and I/O into the tape continues as it should. However problem is that when I/O is ongoing into the ltfs-mounted tape, the recovering FC-path kills the whole server. Nothing revelant is present on the syslog, latested kernel trace lines on server console complain something about scsci_fc_host... and server reset is needed to recover the server.

Has anyone succeeded to set up multipathing lin_tape environment with IBM ltfs?

-Mikko Tiainen

 

 

 

  • mopt
    mopt
    2 Posts

    Re: RHEL6.4 x86_64 crash with ltfs-1.3.0.1 & lin_tape 2.1.0

    ‏2013-08-15T14:34:19Z  

    Hi folks,

    replying to my own question. It seems that lin_tape kernel driver is heavily kernel version dependent. lin_tape does not work correctly on newer kernel version than 2.6.32-220.el6.x86_64, right now RedHat is shipping kernel version 2.6.32-358.14.1.
    I did downgrade my above setup to run with 2.6.32-220.el6.x86_64 kernel and it works correctly with multipathing FC-path failover and recovering situations.
    Bit funny that lin_tape-2.1.0-1 version which is released later than RedHat kernel 2.6.32-358.14.1 does not support it.

    I'm now waiting that IBM updates lin_tape to support current RHEL6.4 kernel versions.

    -Mikko Tiainen

  • ishimoto
    ishimoto
    6 Posts

    Re: RHEL6.4 x86_64 crash with ltfs-1.3.0.1 & lin_tape 2.1.0

    ‏2013-12-24T22:27:02Z  
    • mopt
    • ‏2013-08-15T14:34:19Z

    Hi folks,

    replying to my own question. It seems that lin_tape kernel driver is heavily kernel version dependent. lin_tape does not work correctly on newer kernel version than 2.6.32-220.el6.x86_64, right now RedHat is shipping kernel version 2.6.32-358.14.1.
    I did downgrade my above setup to run with 2.6.32-220.el6.x86_64 kernel and it works correctly with multipathing FC-path failover and recovering situations.
    Bit funny that lin_tape-2.1.0-1 version which is released later than RedHat kernel 2.6.32-358.14.1 does not support it.

    I'm now waiting that IBM updates lin_tape to support current RHEL6.4 kernel versions.

    -Mikko Tiainen

    Redhat provided the fix for this issue in kernel build 2.6.32-358.18.1.   Please obtain new kernel from Redhat, and use with the latest LTFS SDE available from IBM FixCentral at https://www.ibm.com/support/fixcentral/