We have attached a IBM 7208-345 Tape drive to a P52A Server.
On the VIO Server the Tape drive can be seen:
lsdev|grep -i tape
rmt0 Available 05-08-01-5,0 Differential SCSI 8mm Tape Drive
How can we attach that Tape Drive to the LPAR ?
defining a Virtual SCSI adapter and trying to "map" the rmt0 on the VIO Server to the Virtual SCSI adapter fails.
mkvdev -vdev rmt0 -vadapter vhost3 -dev vtape shows up :
"rmt0" is not a valid backing device.
Is there a way to attach the Tape Drive directly to the LPAR ?
Thank in advance for any help.
Pinned topic how to use a SCSI Tape drive attached on a P52A
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-01T00:14:35Z at 2012-11-01T00:14:35Z by dukessd
SystemAdmin 110000D4XK6902 Posts
Re: how to use a SCSI Tape drive attached on a P52A2012-10-31T13:59:03ZThis is the accepted answer. This is the accepted answer.hello,
I am going to explain and guide you how to effectively map the tape to the LPAR!
1)make sure the tape is available
#lsdev | grep rmt
2)lets play with the HMC ;-)
on the VIOS profile added a virtual scsi adapter and
and assign it to the required LPAR.
on the LPAR do the same
3) now we done with creating the virtual adapters
run #cfgmgr on the lpar and $ cfgdev on the VIOS
4) on the VIOS , check the virtual host thart u just created (vhostX)
-to check all ur virtual adapter run :
- $ lsdev -virtual | grep vhost
- $ lsdev -type adapter | grep vhost
has a command to KILL ur anxiety ;-)
run $ lsmap -all
and check which vhost is already used by other backend devices (disk,CD.DVD,tape..etc)
5) now let`s map the tape(lets say rmt0) to this vhost (lets say vhost5)
$ mkvdev -vdev rmt0 -vadapter vhost5
6)check the mapping again
you will find the rmt0 is mapped
7)once again execute #cfgmgr and #cfgdev
Now , you can use the rmt0 in ur LAPR :)
if u have any question ,dont hestiate to ask!
dukessd 2000004Q8P345 Posts
Re: how to use a SCSI Tape drive attached on a P52A2012-11-01T00:14:35ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
Your tape drive cannot be virtualized.
VIOS v22.214.171.124 or higher (v126.96.36.199-FP20.1 is the minimum recommended)
Supports SAS-attached tape drives only
Supported tape drives are:
Feature Code 5907 36/72 GB 4 mm DAT72 SAS Tape Drive
Feature Code 5619 DAT160: 80/160 GB DAT160 SAS Tape Drive
Feature Code 5638 1.5/3.0 TB LTO-5 SAS Tape Drive
Feature Code 5661 DAT320: 160/320 GB DAT SAS Tape Drive
Feature Code 5673 DAT320: 160 GB USB Tape Drive
Feature Code 5746 Half High 800 GB/1.6 TB LTO4 SAS Tape Drive
Virtual tape is supported in AIX, IBM i and Linux client partitions.
AIX client partitions need to be running AIX Version 5.3 TL9, AIX Version
6.1 TL2, AIX Version 7.1 TL0 or higher on a POWER6 and POWER7
System for virtual tape support.
Virtual I/O Server Version 188.8.131.52, Fix Pack 24 is required for USB 320
DAT Tape drive as a virtual tape device.
At time of writing, IBM i does not support USB tape drives as a virtual tape
SAN Fibre Channel tape drives are supported through N-port ID
Sorry, and HTH.