ITEM: BZ0475L

Operation failed with errno 22: Invalid Argument



Question:

Env:
  AIX 4.2
  RISC R40
  Tape 3590-B11
  Atape 3.1.0.5

Problem:
  Customer runs this command:
  tapeutil -f /dev/rmt0 inventory
  Operation failed with errno 22: Invalid Argument 

Action Taken:
  I had the customer first put the tape drive
  in RANDOM mode and push the lock button on the
  tape drive.
  Still the command failed with the same error message as
  above.

   I had the customer do this
   ---------------------------
  cd /dev
  ls -l rmt0.*
     There was not a rmt0.smc device
  Had the customer make sure the tape drive was in RANDOM mode
  rmdev -dl rmt0
  cfgmgr
  ls -l rmt0.*
     Now it shows up correctly

    MANUAL MODE
    ------------
      Put tape in either the import/export slot or top slot (1)
      Hit START button on the 3590 front panal

       To unload:
       Hit UNLOAD button on the 3590 front panal

    AUTOMATIC MODE:
    ---------------
      Put tape in first slot (1).  The tape can't be in the 
        import/export slot, because it will not load from there.
        It will always check the first slot with a tape 
        in it (1 - 10 slot)

      Hit START button on the 3590 front panal
  
      To unload and put next tape in the drive
       HIT UNLOAD button on the 3590 front panal

   RANDOM MODE:
    Put tape in a slot it does not matter which you use

   Break down of the slot numbers in the tape drive according
   to the  "tapeutil -f /dev/rmt\# inventory"  output

   31 -- Import/Export 
   16 -- Tape drive
   32 (top) - 41 (bottom) slot

To load a tape:
----------------
tapeutil -f /dev/rmt\# mount \
   
To unload a tape:
-----------------
tapeutil -f /dev/rmt\# umount \

Example of loading a tape from slot 37
tapeutil -f /dev/rmt0 mount 37

Example of unloading a tape from the tape drive back to slot 37
tapeutil -f /dev/rmt0 unmount 37
   
  


Support Line: Operation failed with errno 22: Invalid Argument ITEM: BZ0475L
Dated: April 1997 Category: N/A
This HTML file was generated 99/06/24~13:30:19
Comments or suggestions? Contact us