JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Devices and File Systems     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information

Preface

1.  Managing Removable Media (Overview)

2.  Managing Removable Media (Tasks)

3.  Accessing Removable Media (Tasks)

4.  Writing CDs and DVDs (Tasks)

5.  Managing Devices (Overview/Tasks)

6.  Dynamically Configuring Devices (Tasks)

7.  Using USB Devices (Overview)

8.  Using USB Devices (Tasks)

9.  Using InfiniBand Devices (Overview/Tasks)

10.  Managing Disks (Overview)

11.  Administering Disks (Tasks)

12.  SPARC: Adding a Disk (Tasks)

13.  x86: Adding a Disk (Tasks)

14.  Configuring iSCSI Storage Devices With COMSTAR

15.  Configuring and Managing the Solaris Internet Storage Name Service (iSNS)

16.  Managing Disk Use (Tasks)

17.  The format Utility (Reference)

18.  Managing File Systems (Overview)

19.  Creating ZFS, UFS, TMPFS, and LOFS File Systems (Tasks)

20.  Mounting and Unmounting File Systems (Tasks)

21.  Configuring Additional Swap Space (Tasks)

22.  Copying Files and File Systems (Tasks)

23.  Managing Tape Drives (Tasks)

Choosing Which Media to Use

Backup Device Names

Specifying the Rewind Option for a Tape Drive

Specifying Different Densities for a Tape Drive

Displaying Tape Drive Status

How to Display Tape Drive Status

Handling Magnetic Tape Cartridges

Retensioning a Magnetic Tape Cartridge

Rewinding a Magnetic Tape Cartridge

Guidelines for Drive Maintenance and Media Handling

Index

Backup Device Names

You specify a tape or diskette to use for backup by supplying a logical device name. This name points to the subdirectory that contains the “raw” device file and includes the logical unit number of the drive. Tape drive naming conventions use a logical, not a physical, device name. The following table shows this naming convention.

Table 23-2 Basic Device Names for Backup Devices

Device Type
Name
Tape
/dev/rmt/n
Diskette
/vol/dev/rdiskette0/unlabeled

In general, you specify a tape device as shown in the following figure.

Figure 23-1 Tape Drive Device Names

Illustration shows logical tape device name that includes magnetic tape device directory, drive, and the optional density values.

If you don't specify the density, a tape drive typically writes at its “preferred” density. The preferred density usually means the highest density the tape drive supports. Most SCSI drives can automatically detect the density or format on the tape and read it accordingly. To determine the different densities that are supported for a drive, look at the /dev/rmt subdirectory. This subdirectory includes the set of tape device files that support different output densities for each tape.

Also, a SCSI controller can have a maximum of seven SCSI tape drives.

Specifying the Rewind Option for a Tape Drive

Normally, you specify a tape drive by its logical unit number, which can run from 0 to n. The following table describes how to specify tape device names with a rewind or a no-rewind option.

Table 23-3 Specifying Rewind or No-Rewind for a Tape Drive

Drive and Rewind Value
Use This Option
First drive, rewind
/dev/rmt/0
First drive, no rewind
/dev/rmt/0n
Second drive, rewind
/dev/rmt/1
Second drive, no rewind
/dev/rmt/1n

Specifying Different Densities for a Tape Drive

By default, the drive writes at its “preferred” density, which is usually the highest density the tape drive supports. If you do not specify a tape device, the command writes to drive number 0 at the default density the device supports.

To transport a tape to a system whose tape drive supports only a certain density, specify a device name that writes at the desired density. The following table describes how to specify different densities for a tape drive.

Table 23-4 Specifying Different Densities for a Tape Drive

Drive, Density, and Rewind Value
Use This Option
First drive, low density, rewind
/dev/rmt/0l
First drive, low density, no rewind
/dev/rmt/0ln
Second drive, medium density, rewind
/dev/rmt/1m
Second drive, medium density, no rewind
/dev/rmt/1mn

The additional density values are shown in Backup Device Names.