Moving tapes

Hello, anybody out there that is using itdt to manage tape changes in a tape library. The help of itdt show a move subcommand but I can't get it to work.

Env:
AIX5.3
Dell PowerVault TL2000 tape library -> rmt1 Available 01-08-02 IBM 3580 Ultrium Tape Drive (FCP)

# itdt says it finds the following devices.

     IBM Tape Diagnostic Tool Standard Edition  - Device List

       Host Bus  ID   LUN  Model          Serial       Ucode  Changer     [#]
 +----+----+----+----+----+--------------+------------+------+------------+-+
 | 0  | 1  | 8  | ## | 0  | ULT3580-TD4  | 1310234939 | A232 | 78N1259_LL0| |
 | 1  | 1  | 8  | ## | ## | 3573-TL      | 78N1259_LL0| 9.30 |            | |

But when I trie to move a tape I get the following :

# ./itdt -f /dev/smc0 move 1 10
Moving medium: source 1, destination 10...
Operation not supported on device, errno 22: Invalid argument

Exit with code: 22

So is my environment not supported by itdt or am I doing something wrong?

post the output of the following command

$lsdev -Cc tape
# lsdev -Cc tape
rmt0 Available 06-08-01-0,0 LVD SCSI 4mm Tape Drive
rmt1 Available 01-08-02     IBM 3580 Ultrium Tape Drive (FCP)
smc0 Available 01-08-02     IBM 3573 Tape Medium Changer (FCP)

---------- Post updated at 11:47 PM ---------- Previous update was at 01:08 PM ----------

I finaly found my misthinking. I was using the wrong location address for the cartridges and drive.

# itdt -f /dev/smc0 inventory

told me what the correct locations for the move subcommand.

e.g.

# itdt -f /dev/smc0 move 4908 256

Good for you