Networker

[Networker] Accessing tape device when no tape in drive in Linux?

2006-01-09 12:47:07
Subject: [Networker] Accessing tape device when no tape in drive in Linux?
From: Oscar Olsson <spam1 AT QBRANCH DOT SE>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 9 Jan 2006 18:40:08 +0100
Is there any way to patch/modify st's behavior to allow commands such as stinit or mt -f /dev/nst0 setblk 0 to work with linux kernel 2.6 when there is no tape in the drive? It seems like the kernel won't allow you to access the drive at all if there is no tape in the drive, and thus timeouts after like two minutes of wait. The operation succeeds if a tape is loaded into the device during that time, but I can't/don't want to load a tape just in order to set the variable block size.

//Oscar

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>
  • [Networker] Accessing tape device when no tape in drive in Linux?, Oscar Olsson <=