JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Devices and File Systems
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 Oracle Solaris iSCSI Targets and Initiators (Tasks)

15.  The format Utility (Reference)

16.  Managing File Systems (Overview)

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

18.  Mounting and Unmounting File Systems (Tasks)

19.  Using The CacheFS File System (Tasks)

20.  Configuring Additional Swap Space (Tasks)

21.  Checking UFS File System Consistency (Tasks)

22.  UFS File System (Reference)

23.  Backing Up and Restoring UFS File Systems (Overview)

24.  Backing Up UFS Files and File Systems (Tasks)

25.  Using UFS Snapshots (Tasks)

26.  Restoring UFS Files and File Systems (Tasks)

27.  UFS Backup and Restore Commands (Reference)

28.  Copying UFS Files and File Systems (Tasks)

29.  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 29-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 29-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 29-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 29-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.