Unsolved

This post is more than 5 years old

2 Posts

632

March 28th, 2008 07:00

Howto Change Tape Drive timeout on RedHat Linux

Just migrate networker from Solaris 8 to RedHat Enterprise Linux 4.4.

A DLT-S4 FC scsi tape drive without loaded tape (assume /dev/nst0)
It seems that the following system call will timeout on Linux after 120 seconds.
It timeouted on Solaris 8 in less than 1 seconds.

open("/dev/nst0",RD_ONLY)

nsrjb uses above call on every tape device on the system. I've 5 DLT-S4 drives, it will cause 10 minutes delay for each nsrjb under Linux. To eject/load a tape it will take maximum 20 minutes sine nsrjb is called twice.

tried sttimeout/stlongtimeout parameters with mt without any success.

Is there any way to fix the issue?

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

April 4th, 2008 01:00

I believe there was a custom kernel patch available on public mailing list, but applying that one causes loss of support on RH side. Not sure if you can manipulate timeout via stinit.def (actually, there is timeout value, but I have no idea to what it refers to - you might wish to check manual).

0 events found

No Events found!

Top