News
Abstract
This document describes the details of the IBM i support for tape library device virtualization.
Content
Using IBM i tape library device virtualization
An IBM i server partition that has the following PTFs applied can share a natively attached TS2900 (3572), TS3100/3200 (3573), or TS4300 (3555) tape library device with multiple IBM i client partitions that also have those PTFs applied.
- IBM i 7.2 with PTFs MF64803, MF66855, MF66856, MF66835, MF66823, MF66838, MF67200, MF67295, MF67392, SI70254, and SI73218, and MF99109.
- IBM i 7.3 with PTFs MF64802, MF66858, MF66859, MF66836, MF66824, MF66839, MF67201, MF67296, MF67393, SI70255, SI73219, and MF99208.
- IBM i 7.4 with PTFs MF66863, MF66861, MF66862, MF66837, MF66825, MF66840, MF67202, MF67297, MF67394, SI73220, and MF99302.
- IBM i 7.5 - no PTFs are needed
- IBM i 7.6 - no PTFs are needed
An IBM i server partition that has the following PTFs applied can share a natively attached TS3500/TS4500 (3584) tape library device or a VTL emulating a 3584 tape library device with multiple IBM i client partitions. This support is limited to smaller 3584 tape libraries configured to have less than 5000 total defined elements, meaning less than 5000 storage slots, plus drives, plus Import/Export elements.
- IBM i 7.6 with PTF MJ06130
- Up to 4 tape library devices available in the server partition are virtualized to the client partitions for each NWSD.
- When virtualizing a tape library device to an IBM i client partition, the NWSD specifies the tape resource name within the tape library device, not the tape library resource name.
- The same NWSD can be used to virtualize Stand-Alone tape drives to an IBM i client partition if the limit of 4 total tape resources is not exceeded.
- For virtualized tape library devices, the corresponding tape library device on the server partition must be varied off, or at least one of the tape library devices within the tape library must be DEALLOCATED before the client partitions can use the tape library.
- Determine the resource within the tape library device that is to be shared with the client partitions. In this example, we want to share tape library device TAPMLB03 containing tape resource TAP07.

- Create a virtual SCSI server adapter in the IBM i server partition and a virtual SCSI client adapter in the IBM i client partition. For more information on how to configure the virtual SCSI adapters, see Client virtual devices (optical and tape).
- A Network Server Description (NWSD) needs to be created on the server partition for each client partition. The NWSD ALWDEVRSC parameter needs to be set to allow the tape resource within the tape library device to be shared with the client partition. In this example, the tape resource is TAP07, so the Create Network Server Description (CRTNWSD) command would look like this:
CRTNWSD NWSD(NWSDxx) RSCRNAME(CTLxx) TYPE(*GUEST *OPSYS) ONLINE(*YES) CODEPAGE(437) ALWDEVRSC(TAP07) PWRCTL(*NO) -
Once the NWSDs are varied on, the virtual tape library devices configure in on the client partitions.
Note: If the Autoconfigure devices (QAUTOCFG) system value on the client partitions is set to 0 (off), you need to manually create the TAPMLB device description.


- Determine the resource within the tape library device that is to be shared with the client partitions. In this example, we want to share tape library device TAPMLB03 that contains tape resource TAP07 and tape library device TAPMLB04 that contains tape resource TAP08.

- Create a virtual SCSI server adapter in the IBM i server partition and a virtual SCSI client adapter in the IBM i client partition. For more information on how to configure the virtual SCSI adapters, see Client virtual devices (optical and tape).
- A Network Server Description (NWSD) needs to be created on the server partition for each client partition. The NWSD ALWDEVRSC parameter needs to be set to allow the tape resource within the tape library device to be shared with the client partition. In this example, the tape resource names are TAP07 and TAP08, so the Create Network Server Description (CRTNWSD) command would look like this:
CRTNWSD NWSD(NWSDxx) RSCRNAME(CTLxx) TYPE(*GUEST *OPSYS) ONLINE(*YES) CODEPAGE(437) ALWDEVRSC(TAP07 TAP08) PWRCTL(*NO) -
Once the NWSDs are varied on, the virtual tape library devices configure in on the client partitions.
Note: If the Autoconfigure devices (QAUTOCFG) system value on the client partitions is set to 0 (off), you need to manually create the TAPMLB device description.

- Determine the resources within the tape library devices that are to be shared with the client partitions. In this example, we want to share tape library devices TAPMLB02 and TAPMLB03 that contain tape resources TAP10, TAP11, TAP12, and TAP13.
Note: Because the tape library devices are all in the same logical tape library partition, they are logically pooled together under both TAPMLB device descriptions.

- Create a virtual SCSI server adapter in the IBM i server partition and a virtual SCSI client adapter in the IBM i client partition. For more information on how to configure the virtual SCSI adapters, see Client virtual devices (optical and tape).
- A Network Server Description (NWSD) needs to be created on the server partition for each client partition. The NWSD ALWDEVRSC parameter needs to be set to allow the tape resource within the tape library device to be shared with the client partition. In this example, the tape resource names are TAP10, TAP11, TAP12, and TAP13, so the Create Network Server Description (CRTNWSD) command would look like this:
CRTNWSD NWSD(NWSDxx) RSCRNAME(CTLxx) TYPE(*GUEST *OPSYS) ONLINE(*YES) CODEPAGE(437) ALWDEVRSC(TAP10 TAP11 TAP12 TAP13) PWRCTL(*NO) -
Once the NWSDs are varied on, the virtual tape library devices configure in on the client partitions.
Note: If the Autoconfigure devices (QAUTOCFG) system value on the client partitions is set to 0 (off), you need to manually create the TAPMLB device description.

- Determine the resources within the tape library devices that are to be shared with the client partitions. Only one of the paths to the tape device can be shared with the client partitions. The server partition will automatically reroute I/O from the client partitions to the active drive in the multipath configuration. In this example, we want to share tape library device TAPMLB02 that contains preferred path tape resources TAP10, TAP11.

- Create a virtual SCSI server adapter in the IBM i server partition and a virtual SCSI client adapter in the IBM i client partition. For more information on how to configure the virtual SCSI adapters, see Client virtual devices (optical and tape).
- A Network Server Description (NWSD) needs to be created on the server partition for each client partition. The NWSD ALWDEVRSC parameter needs to be set to allow the tape resource within the tape library device to be shared with the client partition. In this example, the tape resource names are TAP10 and TAP11 so the Create Network Server Description (CRTNWSD) command would look like this:
CRTNWSD NWSD(NWSDxx) RSCRNAME(CTLxx) TYPE(*GUEST *OPSYS) ONLINE(*YES) CODEPAGE(437) ALWDEVRSC(TAP10 TAP11) PWRCTL(*NO) -
Once the NWSDs are varied on, the virtual tape library devices configure in on the client partitions.
Note: If the Autoconfigure devices (QAUTOCFG) system value on the client partitions is set to 0 (off), you need to manually create the TAPMLB device description.

- CPF415E Resource request timed out on device *. This message might be sent when:
- There are no tape drive resources in the virtual tape library device that are available for the client partition to use. Make sure that the tape library devices on the server partition are varied off or have one of more of their tape resources in DEALLOCATED state. Make sure that the other client partitions do not have the tape drive resources ALLOCATED or actively in use.
- The server partition can no longer communicate with the tape library resource. Check the server partition for Product Activity log entries and follow the service procedures for those errors.
- CPF450D Device * can not be assigned to partition. This message might be sent when:
- The server partition can no longer communicate with the tape drive resource. Check the server partition for Product Activity log entries and follow the service procedures for those errors.
- CPF5101 Interface error while using device *. This message might be sent when:
- The server partition can no longer communicate with the tape drive resource. Check the server partition for Product Activity log entries and follow the service procedures for those errors.
- The server partition can no longer communicate with the tape drive resource. Check the server partition for Product Activity log entries and follow the service procedures for those errors.
- CPF5110 Device * reported a hardware failure. This message might be sent when:
- The server partition can no longer communicate with the tape drive resource. Check the server partition for Product Activity log entries and follow the service procedures for those errors.
- The adapter was re-IPLed on the server partition while a client partition was using the virtual tape library device.
- CPF5384 Tape device * is not operational. This message might be sent when:
- The tape library device is no longer responding to media movement commands sent by the server partition. The device might have been switched from random to sequential mode. Check the server partition for Product Activity log entries and follow the service procedures for those errors.
Was this topic helpful?
Document Information
Modified date:
13 October 2025
UID
ibm13544173