HP Ultrium Tape Drive manual Run insf as follows

Page 16

To create device 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 follows:

%/sbin/mksf -d stape -I <instance> [-n] [-u] /dev/rmt/X<name> where:

Argument

Description

 

 

-d stape

Specifies the SCSI tape driver

 

 

-I <instance>

Specifies the tape drive’s hardware address via the instance of the SCSI 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 file).

 

In most cases, Berkeley mode should be used.

/dev/rmt/X<name> Specifies the path of the device file, where:

XSpecifies the tape device identifier. Use the next available identifier. You can examine the contents of /dev/rmt using the ls command to determine which identifiers have already been used.

<name> Specifies 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 SCSI tape driver options. The man page man 7 mt describes the long filenames used in HP-UX 10.x and later.

Example:

To create a device file with the following characteristics:

16 HP-UX Systems

Image 16
Contents Generation 3 drives Version Date Changes Contents Verifying the Installation Purpose of this manual Related documentsDocuments specific to HP Ultrium drives Documentation mapDrives-general Interface How error correction works General documents and standardizationTel 800 854 7179 or 714 261 Irvine, CAPage Backup Applications IntroductionUltrium Drives in a Library IntroductionHP-UX AIX HP-UX Systems HP Servers and Workstations-HP-UXIntroduction Determining the Scsi ID HP-UX SystemsFor an HP Ultrium drive, execute the following Creating the Device FilesSelect the following When you have exited sam, run ioscan to see the tape drive WhereTo create a device file with the following characteristics Run insf as followsWhat Next? For compressed mode defaultHardware path can be found from previous ioscan output HP-UX Systems HP Alpha Unix HP Alpha UnixHP Alpha Unix Add the following entry to your /dev/ddr.dbase fileWhat Next? Determining the Scsi ID Configuring the Device FilesThis will produce output that looks similar to Device Filenames under AIX Configuring on Linux Systems LinuxDetermining the Scsi ID Linux LinuxThis should find a number of lines. One should look like Using the Seek and Tell Features of mt Where /dev/stp is the device fileLinux Sun Systems, Solaris 8, 9 Sun Systems, Solaris 8, 9This will produce output similar to the following This produces a list similar toDetermine the device file by typing Ls -l /dev/rmt/*m grep st@XWhen the system is down, reboot Do a reconfigure bootHP-Data Values Specifies the Scsi ID target of the device Values for the parameters for name are as followsSpecifies the LUN for the device Verifying the Installation Verifying the Installation of the Drive UnixTo verify the installation Verifying the InstallationFile The name of the file to archive, prefixed with ‘./’ Read the file back from tapeChange to the temporary directory Compare the original with the restored versionExtract the file from the tape Verifying the Installation Glossary GlossaryResponse to a filemark command Fibre Channel switching technologyFeatures required by that standard Point-to-point connection between itself and the fabricGlossary Glossary Index IndexAIX Index