Dell 124T LTO-3 technical specifications Enabling LUN Support in Linux

Page 21

10.Click Next again to install the driver.

11.Click Finish.

12.Close the Device Properties dialog box.

The autoloader now appears in Device Manager under Medium Changers as a Dell (tm) PowerVault (tm) 124T Autoloader, and is ready to use.

Enabling LUN Support in Linux

To verify the detection of a tape drive, administrators should check for its entry in /proc/scsi/scsi. Current versions of Linux may not scan the logical storage unit (LUN) ID of every device. This can result in some PowerVault devices not being identified or listed in the /proc/scsi/scsi output. Administrators can follow these steps to enable support for such devices.

1. Type cat/proc/scsi/scsi. The output will look similar to the following:

Attached devices:

 

 

 

Host: scsi3 Channel: 00 Id: 00

Lun:

00

 

Vendor:

IBM Model: ULTRIUM-TD3

 

Rev: 5BG2

Type:

Sequential-Access

 

 

ANSI SCSI revision: 03

2.Identify the host adapter, channel number, target ID number, and LUN number for the first LUN of the device to be configured. In this example, the Certance Ultrium 2 (a drive in the PowerVault 124T) is shown at the address, or nexus, 3 0 0 0 — which means host adapter 3, channel number 0, ID 0, and LUN 0. The PowerVault 124T always has the tape drive at LUN 0 and the robot at LUN 1.

3.For each LUN that needs to be discovered by Linux, issue the following command:

echo "scsi-add-single-device H C I L">/proc/scsi/scsi

H C I L refers to the nexus described in step 2. So, with the PowerVault 124T robot configured at LUN 1, type:

echo "scsi-add-single-device 3 0 0 1">/proc/scsi/scsi

The echo command will force a scan of each device at the given nexus.

4.Type cat /proc/scsi/scsi again to verify that all devices are now listed. The output will look similar to the following:

Attached devices:

Host: scsi3 Channel: 00 Id: 00 Lun: 00

Vendor:

IBM Model: ULTRIUM-TD3

Rev: 5BG2

Type:

Sequential-Access

 

ANSI SCSI revision: 03

Attached devices:

 

 

Host: scsi3 Channel: 00 Id: 00

Lun: 01

Vendor:

DELL Model: PV-124T

Rev: V31

Type:

Sequential-Access

 

ANSI SCSI revision: 03

Administrators should add the echo command to the Linux boot scripts because the device information is not persistent and must be created each time the system boots up. One example file that can be used for storing the commands is /etc/rc.local. Note that configuring additional devices on a server or a storage area network (SAN) can cause the devices to be reordered, which requires administrators to modify the commands. If the Fibre Channel adapter supports Persistent Bindings or an equivalent function, it can be enabled to reduce the chance of devices being reordered upon discovery.

NOTE: This procedure must be run each time the server is booted. Also, if backup application services are running (for example, they automatically start when the OS loads), they must be disabled and re-enabled after the above procedure.

The other way to enable LUN support is to recompile the kernel and enable LUN scanning in the Adaptec driver, but it requires advanced knowledge of Linux and will not be covered here. However, it will allow the server to always boot and see the device without any manual procedures.

Enabling LUN Support in Netware

1.From the System Console, verify the LUN device is not being detected by using the list storage adapters command.

Typical output where only the tape drive is being recognized:

0x08 [V321-A3] Adaptec SCSI Card 39160/3960D - Ultra160 SCSI [slot 201]

0x15 [V321-A3-D5:0] IBM ULTRIUM-TD3 5BG2

0x09 [V321-A4] Adaptec SCSI Card 39160/3960D - Ultra160 SCSI [slot 202]

2.From the System Console, type nwconfig.

3.Select NCF files Options from the Configuration Options screen.

4.Select Edit STARTUP.NCF from the Available NCF Files Options screen.

5.Add the /LUNS switch to the load line of the appropriate SCSI driver. If a dual channel card is installed and the user is unsure which channel the LUN device is attached to, simply edit both lines.

Image 21 Contents
Dell PowerVault 124T LTO-3 Autoloader Users Guide Configuring the Autoloader Setting Ethernet Setting the Scsi IDSetting the IP Address Setting the Subnet MaskSetting an IP Gateway Setting the Time Setting the Snmp ServerSetting the Time Server Barcode Reader Scsi Barcode LengthEnter Setting Security Setting MagazinesSetting Passwords Getting Lost PasswordsBack to Contents Setting the Security Diagnostic Tests from the Front PanelStopping a Diagnostic Test Front Panel Diagnostic TestsDiagnostics Using the Remote Management Unit Remote Management Unit Diagnostic TestsTechnical Assistance Online ServicesFtp.dell.com AutoTech ServiceTechnical Support Service Automated Order-Status ServiceBefore You Call Installation Preparation Installation OverviewAccessories Scsi Bus RequirementsUL Requirements Choosing a LocationBar Code Reader Product OverviewUnpacking the Autoloader AccessoriesIdentifying Product Components Back Panel OverviewConnecting the Scsi and Power Cables Scsi cable Scsi terminator Power cableEthernet cable Scsi cable Scsi terminator Click Update Driver Installing the Device DriversPreparing the Host and Verifying the Connection Tape Drive Device DriverAutoloader Device Driver Enabling LUN Support in Linux Back to Contents Overview Enter Passwords Operators Panel FunctionalityLogout Using Cartridges Insert a Single CartridgeMoving a Single Cartridge Using Magazines and Magazine Blanks Ejecting a Single CartridgeInward Side of a Magazine Outward Side of a Magazine Installing a Magazine Ejecting a MagazineManually Operating the Magazine Running an Inventory Viewing PowerVault 124T Autoloader StatusViewing Status Information MagazinesViewing Element Status Viewing Firmware VersionViewing Tape Drive Status Viewing Tape Drive VersionMAC address Viewing Ethernet InformationIP address NetworkRemote Management Unit Overview Default Username and PasswordOpening the Remote Management Unit Viewing Status InformationTime Display ConfigurationFeedback on Pages System Operations OptionsCleaning Tape CompressionBar Code Reader Setting the System Time Setting the MagazinesSetting Network Options From the Configuration menu, click NetworkingTo Set Network Configuration Setting Front Panel Security OptionsTo set User Administration To set the Client Authorization ControlError Logs and Diagnostics Viewing Error or History LogsFirmware Library Operations Set to Home Autoloader Performance Specifications Physical SpecificationsAutoloader Environmental Specifications Characteristic Product AloneAutoloader Vibration Specifications Autoloader Power SpecificationsAutoloader Shock Specifications Tape Drive SpecificationsBasic Troubleshooting Problem Probable Cause Suggested ActionBefore Contacting Customer Support Checking for Errors Operator Control Panel Error DisplayAutoloader Logs Autoloader Error DetailAutoloader Logs through OCP Autoloader Logs through RMUStack/Global Data Corruption Error Types Message Error TypesSystem Shutdown/Disruption Error Types System Miscellaneous Error TypesDrive/Media Error Types Tape Drive Error TypesMiscellaneous Error Types TCP/IP Stack and Task Error TypesLoader Task Error Types Code Update Error TypesScsi Server Task Error Types Picker/Magazine Servo Error Types Servo Elevator Hardware Error TypesServo Picker Hardware Error Types Servo Motor Error Types Magazine Hardware Error TypesSystem Event Types Front Panel Error Types Barcode Error TypesDiagnostic Error Types TapeAlert Logs through OCP TapeAlert LogsTapeAlert Interpretation TapeAlert Logs through RMUPage Page Page Returning the Autoloader for Service To prepare the autoloader for shipmentTo Remove the Autoloader from a Rack Packing the Autoloader
Related manuals
Manual 56 pages 6.31 Kb