Linux configuration procedures, Configuring linux environments, Finding existing sas controllers and devices – Dell PowerVault LTO4-120HH User Manual

Page 4: Configuring the linux environment

Advertising
background image

Back to Contents Page

Linux Configuration Procedures

Dell™ PowerVault™ LTO

-4-120 Tape Drive User's Guide

This chapter describes how to configure various Linux systems to recognize and obtain optimal performance from the Dell PowerVault LTO-4-120 Half-Height
tape drive.

 

Configuring Linux Environments

This subsection provides procedures for configuring Linux operating system environments.

 

Finding Existing SAS Controllers and Devices

Use the following command to list the current SAS controllers:

dmesg | grep SAS

This command produces output similar to:

SCSI0:LSI Logic SAS based MegaRAID driver

Use the following command to find existing SCSI devices:

cat /proc/scsi/scsi

This command produces output similar to:

Host: scsi0 Channel: 0 Id:6 Lun:00

Vendor: Dell Model: ULTRIUM 4 Rev: 1897

Type: Sequential-Access ANSI SCSI revision 04

Use the output of these two commands to determine which SCSI target ID numbers are available. In this example, a tape drive is attached at target ID 6.

The widely available distributions of Linux automatically install the proper SCSI and tape device drivers. If you executed the cat command to find existing SCSI
devices, you have ensured that the SCSI driver for your controller is installed.

Use the following command to view currently loaded modules:

execute

Verify that one of the entries is st.

Use the following command to view the st device number for your attached tape drive:

dmesg | grep tape

This command produces output similar to:

Detected SCSI tape st0 and scsi0 . . . 

 

Configuring the Linux Environment

 

Procedure

 

1.

Use the mt command option to configure the Linux environment.  

2.

Use the stsetoptions command from within the mt command to set up a default configuration.

See the man page for mt for details.

 

Back to Contents Page

NOTICE:

Do not use the erase command. Do not use commands that partition the tape. Partitioning is not supported in the LTO format.

NOTE:

For commands that use density and tape size settings, the tape density is 343,408 bpi and the tape length is 2690 feet. For commands

that use a blocking factor, use a factor of 128.

Advertising