Hewlett-Packard makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of
merchantab ility and fitness for a particular purpose. Hewlett- Packard shall not be liable for errors contained herein or direct,
indirect, special, incidental or consequential damages in connection with the furnishing, performance, or use of this document.
This document contains proprietary information which is protected by copyright. All rights reserved. No part of this document may
be photocopied, reproduced or translated to another language without the prior written consent of Hewlett-Packard.
Revision history
VersionDateChanges
Edition 6September 2004Generation 3 SCSI and FC drive version
Edition 6.1December 2004Reformatted and updated
This document is frequently revised and updated. To find out if there is a later version, please ask your HP OEM Representative.
This is one of six volumes that document HP Ultrium drives. This volume provides background
information for driver and application developers. The following products are covered.
Capacities ar e when the drive is using data compressi on with a compression ratio of 2:1,
where applicable:
• HP Ultrium Generation 3 Full-Height SCSI Internal Drive
• HP Ultrium Generation 3 Full-Height FC Internal Drive
NOTE: Throughout this manual frequent reference is made to SCSI commands. For more
information on SCSI commands for HP Ultrium drives see volume 3, The SCSI Interface, of the
HP Ultrium Technical Reference Manual set. Ordering details are given below.
Rel ated documents
The following documents provide additional information:
Documents specific to HP Ultrium drives
• Hardware Integration Guide, volume 1 of the HP Ultrium Technical Reference Manual
• Software Integration Guide, volume 2 of the HP Ultrium Technical Reference Manual
• The SCSI Interface, volume 3 of the HP Ultrium Technical Reference Manual
• Specifications, volume 4 of the HP Ultrium Technical R eference Manual
• Background to Ultrium Drives, volume 6 of the HP Ultrium Technical Reference Manual
Please contact your HP supplier for copies.
• The features and benefits of HP Ultrium drives are discussed in the HP Ultrium Technology
White Paper.
• For a general background to LTO technology and licensing, go to http://www.lto-
technology.com.
Documentation map
The following will help you locate information in the 6-volume Technical Reference Manual:
• Small Computer Sy stem Interfac e (SCS I-1), ANSI X3.131-1986. This is the ANSI authoriz ed
standard for SCSI implementation, available through ANSI
• Enhanced Small Computer System Interface (SCSI-2), ANSI X3T9.2-1993 Rev. 10L,
available through ANSI
8
Copies of General Documents can be obtained from:
ANSI
11 West 42nd Street
New York, NY 10036-8002
USA
ISO
CP 56
CH-1211 Geneva 20
Switzerland
ECMA
114 Rue du Rhône
CH-1204 Geneva
Switzerland
Global Engineering Documents
2805 McGaw
Irvine, CA 92714
USA
Tel: +41 22 849 6000
Web URL: http://www.ecma.ch
Tel: 800 854 7179 or 714 261 1455
Related documents9
10
1Introduction
The Purpose of this Manual
This manual provides basic information on configuring the drives with various operating
systems.
Please see the top-level release notes that accompany the drive for expected functionality and
features.
Ultrium drives are supported on the following platforms:
• HP UNIX systems (HP-UX) (Chapter 2)
• HP Alpha UNIX (Chapter 3)
• IBM (AIX) (Chapter 4)
• Linux (Chapter 5)
• Sun Systems, S o laris 8, 9, 10 ( Chapter 6)
For platforms not mentioned here, please contact HP because there may be new connectivity
details available that arrived after the release notes were published.
See Chapter 7 for details of how to verify the installation.
Ultrium Drives in a Library
Ultrium drives may also be used in a library. However, instructions about installing device
drivers for automatic robotics are not included in this manual.
Backup Applications
For optimum performance it is important to use a backup application that supports the drive’s
features within your system’s configuration. Please see the “Getting Started Guide” for more
information about usage models.
The follow ing applicati ons are suita ble for us e within an enter prise en vir onment and ha ve been
tested with Ultrium drives. They use the operating system’s standard, built-in device drivers, as
Introduction
The Purpose of this Manual
11
described in this manual. For further information about optimizing performance and making
full use of the drive’s functions, please contact the software manufacturer or HP
HP-UXAIXSun, SolarisLinux
HP Omniback
Legato Networkeryesyesyesyes
Veritas NetBackupyesyesyesyes
1
yesyesyesyes
2
1. Cell Manager is only available on HP-UX or Windows
2. Redhat Server only (not Caldera, Suse, and so on)
Introduction12
2HP-UX Systems
HP Servers and Work stations—HP-UX 11.x
NOTE: HP-UX 10.x is only supported by Generation 1 Ultrium drives.
Introduction
Before you install your tape drive log on to the HP web site, www.hp.com, and download the
latest hardw are enablement patch bundle for your operating system. This ensur es that you will
have the correc t device driv er for your tape drive.
Determining the SCSI ID
Befor e y ou c onf i gur e your syste m to s upport y o ur ne w HP Ultr ium dr ive, y ou need t o determine
what SCSI ID to use. The SCSI ID must be unique for each device attached to the SCSI bus. To
list the existing devices, use the following command:
% /sbin/ioscan -f
The output of this should look similar to the following example:
After you have installed the new tape drive, you can check that it has been attached
successfully. From a shell window (
attached devices.
hpterm/xterm), execute ioscan to display the list of
HP Servers and Workstations—HP-UX 11.x
HP-UX Systems
13
For an HP Ultrium drive, ex ecute the following:
% /sbin/ioscan -f | grep "Ultrium"
The new lines should look similar to the following, where the 4 in the I field repres en ts the
instance of the SCSI tape driver, not the SCSI ID:
tape 4 2/0/1.5.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI
NOTE: If you are installing the drive ont o a Storage Area Network (SAN), the fibre c hannel/
SCSI bridge will also appear in the list of attached devices.
If you cannot find the Ultrium drive, this may be because the kernel does not contain the
correct driver. Use the System Administration Manager (
sam) to add stape to the kernel:
To add stape to the kernel using sam:
1. % sam
2. Select the following:
Kernel Configuration
Drivers
3. Highlight the stape driv er. If the driv er has not been added to the ker nel , both Curr ent Stat e
and Pending State will read “Out”.
4. Select the following:
Actions
Add Driver to Kernel
The Pending State will now read “In”.
5. To add the new driver to the kernel, select:
Actions
Create a New Kernel
6. The stape driver will now be added to the kernel and then the system will reboot.
Creating the Device Files
Once you have verified the tape drive connection, you will need to create the appropriate
device files for the drive. Normally, you would have rebooted your system after attaching the
tape drive, and this process runs
attaching the drive, you can create device files by one of two ways, either through the System
Administration Manager (
sam), or by executing the mksf command.
To add device files using sam:
This is the recommended and simplest way to create device files.
HP-UX Systems14
insf. However, if you have not rebooted your system since
1. % sam
This will bring up the graphical user interface for the utility.
2. Select the following:
Peripheral Devices
Tape Drives
sam will then scan the system for any tape drives connected.
When an HP Ultrium Generation 3 drive is found, it will be displayed as:
Hardware Path Driver Description
===========================================================
8/0/2/0.3.0 stape HP Ultrium 3-SCSI
3. Highlight the Ultrium drive and select the following from the tool bar:
is the card number,
is the target number,
is the LUN number:
Best compression driver, AT&T encoding, with rewind
Best compression driver, Berkeley encoding, with rewind
Best compressi on driver, AT&T encoding, non-rewind
Best compression driver, Berkeley encoding, non-rewind
sam, run ioscan to see the tape drive:
HP Servers and Workstations—HP-UX 11.x
HP-UX Systems
15
T o c reate devi ce files using mksf:
NOTE: This method is not recommended.
1. Run
insf as follows:
% /sbin/insf -C tape
2. Create the device files for the devices using the mksf command as foll ows:
-I <instance>Specifies the t ape dri ve ’s hard war e address v ia the instance of the S CS I tape
driver. The first instance is 0, the second 1, and so on.
[-n]Specifies no rewind; absence of this parameter indicates rewind mode
[-u]Specifies Berkeley mode; absence of this parameter indicates AT&T mode.
Berkeley and AT&T modes differ in their read-only close behavior:
• In Berkeley mode, the tape position will remain unchanged by a device
close operation.
• In AT&T mode, a device close operation will cause the tape to be
repositioned just after the next tape filemark (the start of the next f ile).
In most cases, Berkeley mode should be used.
/dev/rmt/X<name> Specifies the path of the device file, where:
XSpecif ies the tape device identifier. Use the next available
identifier. You can examin e the contents of /dev/rmt using the
ls command to determine which identifiers have already been
used.
<name> Spec ifies the short name (in HP-UX 9.x-style) of the device file:
mnb No rewind, compression disabled, Berkeley-mode device
hnb No rewind, compression disabled, Berkeley-mode device
mnb No rewind, compression disabled, Berkeley-mode device
hnb No rewind, compression enabled, Berkeley-mode device
See the man page (
man 1m mksf) for other options of the mksf command. The stape section
covers the S CS I tape dr iver o ptions. T he man page
in HP-UX 10.x and later.
Example:
To create a device file with the following characteristics:
HP-UX Systems16
man 7 mt describe s the long filenames used
• A hardware address specified by instance 5 (-I 5)
• No rewind (
• Berkeley mode tape positioning on close (
• A filename of
You would execute the following:
% /sbin/mksf -d stape -I 4 -n -u /dev/rmt/4mnb
You can check that the appropriate device file was created using the lssf command as
follows:
% /sbin/lssf /dev/rmt/4mnb
This should produce the following output to show that the device file now exists:
stape card instance 0 SCSI target 6 SCSI LUN 0 berkeley no rewind
BEST density at address 2/0/1.6.0 /dev/rmt/4mnb
To cr eate a device file for Ultrium in uncompressed mode, you should use a command such as:
mksf -H -a -b U_18
and for compressed mode (default):
mksf -H -a -b U_18C
The hardware path can be found from previous ioscan output .
-n)
-u)
4mnb, where 4 is the tape device identifier (/dev/rmt/4mnb )
What Next?
Once the device files have been created, you should confirm that your new tape drive is
working properly. Chapter 7, “Verifying the Installation” provides instruc tions on backing up
and restoring a sample file to test your installation.
What Next?
HP-UX Systems
17
HP-UX Systems18
3HP Alpha UNIX
HP Alpha UNIX 5.xxxx
1. Add the following entry to your /dev/ddr.dbase file:
2. Rebuild the kernel by running /sbin/ddr_config , then reboot the system with the tape
drive attached. The device files for the Ultrium drive will be generated in
dev/ntape
when you reboot.
/dev/tape and /
3. The names of the device files can be interpreted as follows:
Devices in the
a rewind on close.
The device files then have the syntax:
For example, /dev/ntape/ tape66_ d1is a device file for device 66, no-rewind using
density number 1. Since all density numbers have the same parameters it does not matter
which density number file is used.
What Next?
Once the device files have been created, you should confirm that your new tape drive is working
properly. Chapter 7, “Verifying the Installation”provides instructions on backing up and restoring
a sample file to test your installation.
/dev/ntape directory are “no-rewind” devices. Those in /dev/tape will do
tapeX_dn
HP Alpha UNIX20
4IBM (AIX)
Determining the SCSI ID
Before you configure your system to support your Ultrium drive, you need to determine which
SCSI ID to use. IDs must be unique for each device attached to the SCS I bus. T o list the existing
devices, use the following command:
% lsdev -C |grep SCSI
This will produce output that looks similar to:
scsi0 Available 00-00-0S Standard SCSI I/O Controller
hdisk0 Available 10-60-00-0,0 16 Bit LVD SCSI Disk Drive
rmt1 Defined 00-00-0S-2,0 Other SCSI Tape Drive
The SCSI ID is in the series 00-00- 0S-X,0, where X is the SCSI ID. Review the list of existing
SCSI IDs and choose an available ID to assign to the new tape drive.
Configuring the Dev ice Files
To install an HP Ultrium drive on an IBM workstation you will need to create the appropriate
device files for the drive.
NOTE: Do not choose the smit option of “4mm2gb” as the T ape Device Type. This is reserved
for Connor drives. If you use it with HP drives, you will get the error “
configured does not match the p hysical devic e at th e spec ified c onnect ion
location”.
IBM (AIX)
Device to be
To c hange to v ariable block mode, use the follo wing procedure:
If you are using a graphics terminal running X-Windows, then at a Windows terminal, type:
1.
smit tape
If you are using a non-graphics terminal, at the command line type:
% smit -C tape
2. If no device has been configured at this address before, select “add a tape drive ” to set
up the address. F r om the pop-up w indo w, select “
tape drive you wish to change and choose connection addresses as appropriate.
ost” or “Other SCSI ta pe drive” as the
Determining the SCSI ID
21
3. Select from the window: “change/show characteristics of a t ape dr ive ”
4. From the pop-up window, select “
wish to change. Do not choose “
5. Change the block size field to 0, and cli c k on the “
change.
HP Ultrium drives will work with
43P, the drive is also boot-capable, provided a boot tape is generated using
mksysb.
Once the device files have been created, you should confirm that your new tape drive is
working properly. Chapter 7, “Verifying the Installation” provides instruc tions on backing up
and restoring a sample file to test your installation.
Device Filenames under AIX
Use device filenames as listed below for the combination of Rewind on Close, Retension on
Open, and Compression that you want:
FilenameRewind on CloseRetension on OpenCompression
ost” or “Other SCSI t ape drive” as the tape drive you
4mm2gb”.
DO” button or press [Enter] to apply the
tar , cpio, b ackup, restore and dd . F or s y stems other than the
mkszfile and
n in the filename is the instance number assigned to the drive by the operating system,
The
where 0 is the first device, 1 is the second and so on.
Rewind on Close
Normally, the drive repositions the tape to BOT (Beginning of Tape) when
the device f ile is c losed . Using the no r e w ind option is us eful w hen cr eating
and reading tapes that contain multiple files.
Retension on Open
Retensioning consists of winding to EOT (End of Tape) and then rewinding
to BOT, in order to redu ce errors. If th is option is selected, th e tape is
positioned at BOT as part of the open process.
Compression
IBM (AIX)22
Compression can be disabled or enabled.
5Linux
Determining the SCSI ID (Linux)
Look at the output of dmesg to find out what SCSI channel number is used for each connection.
To find out the SCSI IDs in use on each channel, type:
cat /proc/scsi/scsi
This will produce output similar to the following for each device:
Attached Devices
Host: SCSI0 Channel: 00 Id:00 Lun:00
Vendor: HP Model -----------Type: Direct-Access ANSI SCSI Revision 02
Look at the ID information to establish which IDs are in use.
Configuring on Linux Systems
Linux
No changes are needed to support Ultr ium on L inu x platf orms , ho we v er y ou sho uld ensur e that
you have the relevant drivers loaded.
To see the device drivers loaded currently, execute an
like:
Module Size Used by
sgm 4376 1
ide-scsi 7200 0
lockd 30792 1
sunrpc 53316 1
st 24656 0
sym53c8xx 52096 1
aic7xxx 136184 2
The lines of interest here are:
st
This is the tape driver. Its presence in the output of the lsmod command shows
that the tape driver is loaded.
lsmod command, this will give output
Determining the SCSI ID (Linux)
23
sym53c8xx
aic7xxx
This is a SCSI chipset driver for the LSI Logic family of HBAs (amongst others).
This is a SCSI chipset driver for the Adaptec 7xxx chipset family (such as
Adaptec 29160LP).
Latest SCSI controller drivers for Linux will be available from the manufacturer’s web site.
In order to communi cate w i th a tape de vice, the operating system needs to hav e dr i vers for the
tape and the underlying transport mechanism (the host bus adaptor) loaded. Ensure that both
are available as either loadable modules (for example, usable with
lsmod) or are statically built into your kernel.
insmod and visible with
NOTE: In order to add drivers to the statically built kernel you need the Linux sou rce code
available on disk and kn owledge of how to u se the kernel building tools that ship with various
Linux distributions. This should not be attempted by novice users.
In order to determine if the dri ve has been detected by the tape driver at module load time,
execute:
dmesg | grep "st"
This should find a number of lines. One should look like:
Detected SCSI tape st0 at scsi1, channel 0, id 5, lun 0
To load the tape driver module if it is not loaded as above, execute:
insmod st
to load it. This should happen naturally if your system is r e boo ted after attaching the drive.
When the
automatically. They reside in the
ST driver module has been added, a list of tape device files will be created
/dev/ directory and hav e the s yntax:
/dev/stp or dev/nstp
where:
p is the ins tanc e n um ber o f the device file. ( If on l y one drive is connected to the sys t em, this will
be 0.)
n indicates that this is a no-rewind driver.
In order to enable large transfers under Linux (>64 KB per write), edit the file
/usr/src/linux/driv ers/sc si/st_ options .h and change the definition of
ST_BUFFER_BLOCKS .
Linux24
If you want requests to space to end of data to be faster, you should also enable
ST_FAST_MTEOM in the same file. After changing this file, rebuild the modules and install the
new binary. At the very least, this requires:
make modules
make modules_install
from the /usr/src/linux directory. See your kernel documentation.
Using the Seek and Tell F eatures of mt
In order to use the s eek and tell f eatures of mt, you mus t tell the st dr i ver that HP Ultrium dr i ve s
use logical block addressing.
You can do this by using the command:
mt -f <device file> stsetoptions scsi2logical
where /dev/stp is the device file.
Note howe ve r that this informati on is not pr eserved ac ro ss r eboots, so you need to e xec ut e this
command each time the system comes up. The
handling this; see the rele v ant
manufacturer parameter to
man page for more information. If y ou us e this approach, set the
HP and the model to “Ultrium 3-SC SI”.
stinit utility offers a convenient way of
What Next?
Linux
Once the device files have been created, you should confirm that your new tape drive is
working properly. Chapter 7, “Verifying the Installation” provides instruc tions on backing up
and restoring a sample file to test your installation.
What Next?
25
Linux26
6Sun Systems, Solaris 8, 9, 10
Determining the SCSI ID
Before you configur e your system to support an HP Ultrium drive, you need to determine which
SCSI ID to use. IDs must be unique for each device on attached to the SCSI bus.
1. Use the
% modinfo | grep "HBA Driver"
This will produce output similar to the following:
For the adapter to which the new tape drive is attached, you will need to determine what
SCSI IDs are already used.
2. Determine the SCSI IDs of the existing devices attached to the SCSI controller:
For all adapters:
% dmesg | egrep ".*xxx.*target" | sort | uniq
where xxx = the type of adapter (esp, glm , fas, qus or isp), as appropriate.
For example, for an ESP-based adapter:
% dmesg | egrep ".*esp.*target" | sort | uniq
This produces a list similar to:
sd0 at esp0: target 0 lun 0 sd6 at esp0: target 6 lun 0
This indicates that SCSI IDs 0 and 6 are used for existing devices. SCSI ID 7 is generally
used for the adapter itself. In this situation , y ou w ould u se a S CS I ID from 1 to 5 for the ne w
tape drive.
modinfo command to identify SC SI controller drivers installed on the system:
Sun Systems , Solaris 8, 9, 10
Determining the SCSI ID
27
Configuring the Dev ice Files
Determine the device file by typing:
% ls -l /dev/rmt/*m | grep "st@X"
where X is the SCSI ID . Identify the line for the tape dr i v e. For example , if the dr i ve w as at S CS I
ID 2, look for the line containing “
Here yo u could use /dev/rmt/0m (shown underlined above) as the device file.
Only if necessary, make the following file modifications to enhance performance:
st@2,0”. This might be as f ollows (but on a single line):
1. In the file
########
# Copyright (c) 1992, by Sun Microsystems, Inc.
#ident"@(#)st.conf 1.6 93/05/03 SMI"
/kernel/drv/st.conf, after these lines:
add the follow ing depending on whi ch v ers ion of oper ating s y stem y ou ar e ins talling (ther e
are 6 significant spaces between HP and Ultrium in line 2):
where X is the SCSI target address of the device you have attached.
See “HP-Data Values” on page 29 below for the values of the parameters in these lines.
Sun Systems, Solaris 8, 9, 1028
2. If you are replacing an existing tape device on the same SCSI ID, remove the contents of
the
/dev/rmt directory as follows:
% cd /dev/rmt
% rm *
3. Do a reconfigure boot:
% cd /
% touch /reconfigure
% sync;halt
4. When the system is down, reboot:
% boot -r
Make sure you include the -r switch, so that the device directory is reconfigured using the
new data.
5. You should now be able to use the drive.
—Use
/dev/rmt/Xcb if you require a compression rewind device file, where X is the relevant
device address.
—Use
/dev/rmt/Xcbn when you require a compression non-rewind device.
Once the device files have been created, you should confirm that your new tape drive is
working properly. Chapter 7, “Verifying the Installation” provides instruc tions on backing up
and restoring a sample file to test your installation.
HP-Data Values
The values for HP _LTO_G EN_n and n ame , which provide normal LTO mode, have the following
meanings:
<version>1 or 2Indicates the format of the following parameters.
<type>0x36 or
HP_LTO_GEN_n on Solaris 9 is:
0x3B
Sun Systems , Solaris 8, 9, 10
The value for an Ultrium drive in /usr/include/sys/mtio.h. For
Solaris 8, 0x36 indicates a type of MT_ISOTHER. Later versions of
Solaris support the value 0x3B which indicates a type of MT_LTO.
HP-Data Values
29
ParameterValueMeaning
<bsize>0Indicates variable block size.
<options>0xd639 or
0x18659
<no. of
densities>
<density n>0x00Creates a device file with compression disabled.
<density 3>0x40,
<default
density>
<X timeout>All timeouts are in seconds
4There are four densities following in the parameter list.
0x42 or
0x44
3Density 3 (0x44) is the default for Generation 3 drives.
This value is derived from constants provided in /usr/ includ e/sys/
scsi/targets/stdef. h. The value determines which operations the
driver can perform with the attached device by using a unique value for
each feature and then adding them together to form the options value.
Supported features will vary with OS revision, and may include the
following:
0x001Device supports variable length records.
0x008Device can backspace over files (as in the ‘mt bsf’ option).
0x010Device supports backspace record (as in ‘mt bsr’).
0x020Device requires a long time-out period for erase functions.
0x040Device will automatically determine the tape density.
0x0200 Device knows when end of data has been reached.
0x0400 Device driver is unloadable.
0x1000 Time-outs five times longer than normal.
0x4000 Driver buffers write reques ts and pre-acknowledges success
to application.
0x8000 Variable record size not limited to 64 KB.
0x10000 Device determines which of the two mode pages the device
supports for selecting or deselecting compression.
So 0xd639 indica tes var iable r ecor d length , bsf and bsr enabled , long
timeouts for erase, EOD recognition, Unloadable device driver, 5 x
longer timeouts, buffer writes and pre-acknowledge sucess, variable
records not limited to 64 KB, auto-density over-ride and
compression.
The density code for data compression enabled by default.
MODESELECT
Values for the parameters for name are as follows:
ParameterValueMeaning
targetX
lun0
Sun Systems, Solaris 8, 9, 1030
X
specifies the SCSI ID (target) of the device.
Specifies the LUN for the device.
7Verifying the Installation
Verifying the Installation of the Drive (UNIX)
As part of the installation process , you w ill ha ve installed the appr opri ate dev ice dri v er for y our
UNIX system, and created device files to communicate with the tape drive.
This section describes how you can verify that the installation has been performed correctly.
In outline, the procedure is as follows:
1. Check the tape drive responds to a rewind command.
2. Write test data to a tape.
3. Read the test data from the tape.
4. Compare the data read from the tape with the original data on disk.
To verify the installation:
1. Test the SCSI connection to the tape drive by doing a rewind operation:
a. If there is a tape cartridge already in the drive, remove it.
b. Insert a tape cartridge.
c. Rewind the tape using the command line:
% mt -f <device fil e> rew ind
For example, on HP-UX:
% mt -f /dev/rmt/0m nb rew ind
If the command completes successfully, there will be no feedback. If it fails, you will see an
error message on the console. The hardware installation may be faulty. Check the
troubleshooting section of the User’s Guide for help in identifying the problem.
2. Write a sample file to tape, using ‘
% cd /
% tar cvf <device file> <file>
The options to tar have the following meanings:
c
Create a new archive (backup file) on the device.
v
Operate in verbose mode.
tar’:
Verifying the Installation of the Drive (UNIX)
Verifying the Installation
31
f
Specify the device file explicitly.
The arguments follow the cvf options in the command line. Their values depend on the
operating system; suggested values are given the appropriate operating system
chapter.The arguments are as follows:
<device file>
<file>
The name of the device file for the drive.
Example: /dev/rmt/0m
The name of the file to archive, prefixed with ‘./’.
Example: ./stand/vmun ix
NOTE: Make sure you prefix the file name with ‘.’ when y ou back it up to tape. If you do not,
the restore operation in step 3 will overwrite the original copy on disk.
3. Read the file back from tape:
% cd /tmp
% tar xvf <device file>
The ‘x’ option to tar here means “extract from the archive”.
Use the same value for the
<device file> argument as in step 2.
4. Compare the original with this retrieved file:
% cmp <original file> /tmp/<retrieved file>
This step compar es the retrieved file and the original file byte by by te. If they are the same,
there should be no output, and this v erif ies that the installation is corr ect . The arguments ar e
as follows:
Example:
Suppose you are verifying the installation of an HP Ultrium tape drive on an HP-UX 11.X
system. The procedure would be as follows.:
1. Change directory to root:
2. Back up /stand/vmunix to tape:
Verifying the Installation32
<original file>
<retrieved file>
% cd /
% tar cvf /dev/rmt/0m ./stand/vmunix
The name of the original file, prefixed with ‘/’.
Example: /stand/vmunix
The name of the file retrieved from the archive.
Example: stand/vmunix
Note the prefix of ‘.’ to the filename.
3. Change to the temporary directory:
% cd /tmp
4. Extract the file from the tape:
% tar xvf /dev/rmt/0m
5. Compare the original with the restored version:
% cmp /stand/vmunix /tmp/stand/vmunix
Note that the original filename is not prefixed with ‘.’.
Verifying the Installation of the Drive (UNIX)
Verifying the Installation
33
Verifying the Installation34
Glossary
AT&T modeBerkeley and AT&T functional modes differ in “read-only” close functionality. In
AT&T mode, a device close operation will cause the tape to be repositioned just
after next filemark on the tape (the start of the next file).
Berkeley modeBerkeley and AT&T functional modes differ in “read-only” close functionality. In
Berkeley mode the tape position will remain unchanged by a dev i c e close
operation.
BOTBeginning Of Tape. The first point on the tape that can be accessed by the drive.
buffered modeA mode of data transfer in write operations that facilitates tape streaming. It is
selected by setting the Buffered Mode Field to 1 in the SCSI
Parameter List header.
compressionA procedure in w hic h data is transf ormed b y the remo val o f redundant inf ormati on
in order to reduce the number of bits required to represent the data. This is
basically done by representing strings of bytes with codewords.
In Ultrium drives, the data is compressed using the LTO-DC compression format
which is based on ALDC (licensed from Stac/IBM) with two enhancements. One
limits the increase in si ze of data that cannot be compressed that ALDC pr odu ces.
The other is the use of embedded codewords.
MODE SELECT
Glossary
data transfer phase On a SCSI bus, devices put in requests to be able to transfer infor mation. Once a
device is gr ant ed its req uest , it and the t arget to whi ch it w ants t o send inf ormati on
can transfer the data using one of three protocols (assuming both dev i c e s suppo rt
them): asynchronous, synchronous, and wide.
In
asynchronous transfers, the target controls the flo w of data. The initiator can only
send data when the target has acknowledged receipt of the previous packet. All
SCSI devices must support asynchronous transfer.
In
synchronous data transfer, the initiator and target work in synchronization,
allowing transmission of a packet of data to start before acknowledgment of the
previous transmission.
In
wide (16-bit) data transf er, two b ytes ar e transferred at the same time instead of
a single byte.
HP Ultrium drives support asynchronous, synchronous and narrow (8-bit) wide
transfers.
35
fibre channelFibre Channel provides an inexpensive yet expendable means of quickly
transferring data between workstations, mainframes, supercomputers, desktop
computers, storage devices, displays and other peripherals. Although it is called
Fibre Channel, its architecture represents neither a channel nor a real network
topology. It allows f or an act iv e inte lligent inte rc onnectio n scheme, called a fabric ,
to connect devices. All a Fibre Channel port has to do is to manage a simple
point-to-point connection between itself and the fabric.
Several common ULPs (Upper Level Protocols) including IP and SCSI can run on
Fibre Channel, merging high-speed I/O and network functionality in a single
connectivity technology.
filemarkA mark written by the host to the tape that can be searched for, often using the
drive’s fast-search capability. It does not necessarily separate files. It is up to the
host to assign a meaning to the mark.
immediate modeA mode of responding to SCSI commands where the drive or other peripheral
does not wait until the command has finished before returning status information
back to the host. For writing filemarks, Immediate mode can significantly improve
the performance of sy stems that do not set the Immediate bit w hen sending a S CS I
WRITE FILEMARKS command. On the other hand, data is not flushed to tape in
response to a filemark command.
infinite flushBy default, the buffer in the drive is flushed every 5 seconds. Infinite flu sh a voids
frequent starting and stopping of the mechanism when using a very slow
application. It also avoids losing capacity through the flushing of partly written
groups. On the other hand, infinite flu s h means that data can remain in the buffer
for very long periods of time, and could be lost in the event of a power failure.
LUNLogical Unit Number. A unique number by which a device is identified on the SCSI
bus. A tape dri v e has a f i xed LUN of 0. In an autoloader, the changer mechanism
is LUN1.
SANStorage Area Network. A dedicated, high-speed netwo r k that establishes a direct
connection between storage elements and servers. The hardware that connects
workstati ons and servers to stor age dev ices in a S AN is r efer red to a s a fabri c. T he
SAN fabric enables any-server-to-any-storage device connectivity through the use
of Fibre Channel switching technology.
SCSISmall Computer System Interface—a standard command specification and
command set that enables computers and peripherals to communicate with each
other. HP’s Ultrium drives adhere to the SCSI-3 specification and support all
features required by that standard.
Glossary36
Single-Ended and Low Voltage Differential SCSI
These terms define how the signals are transmitted along the cable.
With single-ended (SE) SCSI, each signal travels over a single wire and each
signal’s value is determined by comparing the signal to a paired ground wire.
Signal quality tends to decrease over longer cable lengths or at increased signal
speed.
With low voltage differential (LVD) signaling, signals travel along two wires and
the difference in voltage between the wire pairs determines the signal value. This
enables faster data rates and longer cabling with less susceptibility to noise than
SE signaling and reduced power consumption.
Narrow and Wide, Fast, Ultra and Ultra2 SCSI
Narrow SCSI devices can transfer data one byte at-a-time (and are sometimes
called “8-bit SCSI” devices). They can conform to either the SCSI-2 or SCSI-3
protocols. They have a 50-pin connection to the SCSI bus.
Wide SCSI devices can tr ansfer two bytes of data simultaneously (“16-bit SCSI”).
They usually have a single, 68-pin connection to the SCSI bus. (This physical
arrangement is part of the SC SI-3 spec ificati on.) T hey ma y support either S CSI-2 or
SCSI-3 protocols. Wide and narrow devices can simultaneously be connected to
the same bus without problem, provided certain rules are followed.
Glossary
Fast SCSI can transfer data at up to 10 MB/sec, using a cable of up to 6 meters
total length.
Ultra SCSI can transfer data at up to 20 MB/sec, but the cable length cannot
exceed 3 meters (it is also know n as “Fast20”).
Ultra2 SCSI can transfer data at up to 80 MB/sec, using a cable of up to 12
meters.
Ultra160 S C SI can transfer data at up to 160 MB/sec, using a cable of up to 12
meters.
Ultra320 SCSI can transfer data at up to 320 MB/sec, using a cable of up to 12
meters.
Ultra SCSI supports both SE and LVD interfaces. Although Ultra2 SCSI and above
can support SE devices, this is not recommended as the whole bus is slowed to
Ultra speeds; instead, use LVD devices only.
HP’s Ultrium dri ve s are Ultr a-320 co mpatible dev ices . The y should be used o nly on
LVD host bus adapters for maximum performance.
37
sequential accessSequential access devices store data sequentially in the order in which it is
received. Tape devices are the most common sequential access devices. Devices
such as disk drives are direct access devices, where data is stored in blocks, not
necessarily sequentially. Direct access allows for speed of retrieval, but is
significantly more costly.
Glossary38
Index
A
AIX 21
ANSI 5
asynchronous data transfer
35
AT&T mode 35
B
Berkeley mode 35
BOT 35
buffered mode 35
C
compression 35
confirming installation 31
D
data transfer 35
device files
AIX 22
HP-UX 14
IBM (AIX) 21
Sun workstations 28
direct access 38
documents, related 5