ADSM-L

How Do I Add a /dev/mtX 8mm Tape Drive?

1994-12-13 10:46:27
Subject: How Do I Add a /dev/mtX 8mm Tape Drive?
From: Vern Maxson <[email protected]>
Date: Tue, 13 Dec 1994 10:46:27 EST
>> All of our 8mm tape drives on all of our RS/6000s are defined as
>> /dev/rmt0.  The ADSM Administrator' Reference (page 96), referring
>> to the DEFINE DRIVE command says "For 8mm tape drives, you must
>> specify the device name having the form /dev/mtX....  DO NOT enter
>> a device name that has the form /dev/rmtX."  Is there a secret way
>> to get AIX to define an 8mm drive as "mt" instead of "rmt"?
>>
>> The ADSM Administrator's Guide (page 161) tells how to configure a
>> standalone SCSI tape drive.  It simply describes the standard way
>> we have defined all our 8mm drives.  And, of course, they end up
>> defines as "rmt".
>>
>> When I issue the command:
>>     define drive manlib tapedrive1 device=/dev/mt0
>> or: define drive manlib tapedrive1 device=/dev/rmt0
>> I get the same error:
>> ANR8420E DEFINE DRIVE: An I/O error occurred while accessing drive TAPE
>> DRIVE1.
>>
>> There must be a simple answer to this?
>
>
>There is, I ran into the same problem a little while ago. I thought I could
>fix it by defining an mt device by hand, using mknod, but that was not the
>trick.
>By accident I was playing around in SMIT and suddenly I discovered that I had
>created some mt devices ..... guess what, you have to set the blocksize to
>1024. We always set it to 0 (variable blocksize), which appears to only create
>rmt devices !
>
>..Victor
>
>
>Victor Marchand                                phone : +31 20 5923000
>AIX project leader.                            fax   : +31 20 6683167
>SARA (Academic Computing Services Amsterdam)   email marchand AT sara DOT nl
>PO Box 4613 1009 AP Amsterdam
>or
>Kruislaan 415 , 1098 SJ Amsterdam
>The Netherlands

It still doesn't work for me.  We are at AIX 3.2.5, and I am trying to
define an 8mm5gb tape drive on scsi0.  The default blocksize is 1024 (I
have tried others).  I have also tried changing the other default settings,
but they don't make any difference.  I don't know why they would.  I can't
find any documentation in info that refers to /dev/mt.  I don't have a clue.
I only have one tape drive on the RS/6000, and no matter what I do, it
always gets defined as /dev/rmt0, not /dev/mt0.

Vern Maxson
<Prev in Thread] Current Thread [Next in Thread>