Ira,
When you type "dmesg" after loading the tape driver, you will find
something like:
Jun 11 10:13:57 gfree06 kernel: TCHAR:<3>Tape gets major XX for char device
Jun 11 10:13:57 gfree06 kernel: TBLOCK:<3> tape gets major YY for block
device
The tape driver allocates major numbers dynamically.
In order to access your tape devices you have to create device nodes:
First device:
mknod /dev/ntibm0 c XX 0 (where XX is the number form the dmesg output)
mknod /dev/rtibm0 c XX 1
Second device:
mknod /dev/ntibm1 c XX 2
mknod /dev/rtibm1 c XX 3
etc. etc..
You can than access the tape with mt:
E.g. mt -f /dev/ntibm0 rewind
Regards
Michael
------------------------------------------------------------------------
Linux for E-Server Development
Phone: +49-7031-16-2360, Bld 71032-03-U09
Email: [EMAIL PROTECTED]
Ira Hochner
<Ira.Hochner@main To: [EMAIL PROTECTED]
line.com> cc:
Sent by: Linux on Subject: Re: [LINUX-390] 3480/3490
tape access on linux 2.4 kernel
390 Port
<[EMAIL PROTECTED]
IST.EDU>
12.06.2002 23:57
Please respond to
Linux on 390 Port
i dont find ntibm or rtibm in /dev or in modules.conf but i do see the
drives in /proc/tapedrives and when i do lsmod.
Ira Hochner
Mainline Information Systems
(954) 575-0413 (office)
(954) 294-1719 (cell)
[EMAIL PROTECTED] (email)
"Post, Mark K"
<mark.post@eds. To: [EMAIL PROTECTED]
com> cc:
Sent by: Linux Subject: Re: 3480/3490 tape
access on linux 2.4
on 390 Port kernel
<[EMAIL PROTECTED]
ARIST.EDU>
06/12/02 03:55
PM
Please respond
to Linux on 390
Port
Ira,
The "mt" command, using the ntibm? and rtibm? device names. Then you just
use tar, afio, cpio, whatever to write to the device name.
Mark Post
-----Original Message-----
From: Ira Hochner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 12:08 PM
To: [EMAIL PROTECTED]
Subject: 3480/3490 tape access on linux 2.4 kernel
greetings all,
when i do a modprobe tape390 on the new version of SuSe i see it has tape
support and it even knows that there are two tape drives available in the
LPAR. How do i get to access and use these drives?
TIA
Ira Hochner
Mainline Information Systems
(954) 575-0413 (office)
(954) 294-1719 (cell)
[EMAIL PROTECTED] (email)