Configuring SCSI Access in a Partitioned Library

Configure the Host World Wide Port Name and LUN to provide the host access to a partition.

When you first enable partitioning, all resources belong to the DefaultPartition. Any SCSI hosts that had access to the library before you enabled partitioning will automatically have access to the DefaultPartition once partitioning is enabled.

Use the SL4000 GUI to configure partitioning and SCSI host access to each partition. To grant access to a custom partition, you must provide the Host World Wide Port Name and a LUN. All hosts must have a connection to LUN 0. Additional LUN configuration will allow access to more than one partition. For more information, see the SL4000 Library Guide.

Example 2-1 SCSI Host Access in a Library with Two Partitions

Partition 1 could have the following host access:

  • Host 1, LUN 0
  • Host 2, LUN 0
  • Host 3, LUN 0

Partition 2 could have the following host access:

  • Host 2, LUN 1
  • Host 5, LUN 0

When Host 2 sends a command on LUN 0, the library directs the commands to partition 1. When Host 2 send a command on LUN 1, the library directs the command to partition 2.

Command Handling for a SCSI Host without Access to a Partition

If a SCSI host sends a command to a partition that it does not have access to, the library will respond differently depending on the command sent.

  • Inquiry returns Good (00h) with the Inquiry Data Peripheral Qualifer set to 001b instead of 000b.
  • Request Sense returns Good (00h) with the sense data set to LUN Access Not Authorized (02h/74h/71h).
  • Report LUNs returns Good (00h) and the Report LUNs Data reports LUN 0.
  • All other commands return Check Condition (02h) with the sense data set to LUN Access Not Authorized (02h/74h/71h).

For more information on sense data, see Additional Sense Codes and Qualifiers.