5.0 Gbyte 8 mm Tape Drive Product Note





This is a Product Note for the 5.0 Gbyte 8 mm Tape Drive User's Guide. Read this Product Note for information on the tape drive and software commands that can be used in conjunction with the 5.0 Gbyte 8 mm tape drive.

Product Information

The following two sections explain the tape drive write operation with the SPARCserver 4/470 and 4/490 and with the operation of the mt status command.

Operation with SPARCserver 4/470 and 4/490

The 5.0 Gbyte 8 mm tape drive usually operates on SPARCserver 4/470 and 4/490 running Solaris 1.01 (SunOS 4.1.2) with the following limitations (note that these limitations do not apply to Solaris 1.1 [SunOS 4.1.3] and Solaris 2.1 [SunOS 5.1]):

Software Commands

This section provides a brief synopsis of the dump software command for Solaris 1.x (SunOS 4.1.2 and SunOS 4.1.3) and Solaris 2.1 (SunOS 5.1). Some of the other software commands used with the 5.0 Gbyte 8 mm tape drive are tar, cpio, and restore. For a complete explanation of each command, all options, and all arguments, refer to the System and Network Administration manual and to the specific man page for each command.

dump

Use the dump command (incremental file system dump) to back up all files in a filesystem, or files changed after a certain date, or a specified set of files and directories. (dump is traditionally used to back up a complete filesystem).

You can set both options and arguments for the dump command, which has the following format:

    /usr/etc/dump [options] [arguments] filesystem or filename

Two arguments, specific to the 5.0 Gbyte 8 mm tape drive, pertain to the d (bpi) and s (size) options.

Note - If you are running Solaris 2.x (SunOS 5.x), you no longer are required to include the d (bpi) and s (size) options.

The tape density option, d (bpi), is used to keep a running tab on the amount of tape used per cartridge or reel, which is useful when dump cannot automatically detect the end-of-media. The argument for the 5.0 Gbyte 8 mm tape drive for this option is:

    54,000 (BPI)

The size, s (size), option specifies the size of the volume being dumped to. When the specified size is reached, dump waits for you to change the volume. The argument for the 5.0 Gbyte 8 mm tape drive for this option is:

    13000 (feet)

Examples

The following sections provide three examples for each of the following operating environments:

Examples for the Solaris 1.x (SunOS 4.x) Operating Environment

The first two examples explain how to use the tape drive in high-density (5.0 Gbyte format) mode. The last example explains how to use the tape drive in low-density (2.3 Gbyte format) mode.

Table 1 shows the sixteen available tape unit assignments for low-density and high-density modes, eight per mode.

    Table 1 Tape Unit Assignments for Low- and High-Density Modes

-------------------------------------------------
Tape Unit Low-Density High-Density (2.3 Gbyte format) (5.0 Gbyte format) -------------------------------------------------
                               
st0        /dev/rst0           /dev/rst8
                               
st1        /dev/rst1           /dev/rst9
                               
st2        /dev/rst2           /dev/rst10
                               
st3        /dev/rst3           /dev/rst11
                               
st4        /dev/rst4           /dev/rst12
                               
st5        /dev/rst5           /dev/rst13
                               
st6        /dev/rst6           /dev/rst14
                               
st7        /dev/rst7           /dev/rst15

-------------------------------------------------

Note - Use Table 1 as a reference for tape unit assignments in the Solaris 1.x (SunOS 4.x) operating environment when using other software commands, such as cpio.

You can specify options for the dump command in any order; however, the position of each of the following arguments depends on the relative position of each specified option.

The first example explains how to back up the c partition of the disk sd3 onto a 5.0 Gbyte 8 mm tape drive assigned as st2.

------------------------------------------------------------
example# dump 0dsbfu 54000 13000 126 /dev/rst10 /dev/sd3c ------------------------------------------------------------

Note - The b (factor) option in these three examples specifies a blocking factor of 126, which is usually both the default and the highest available blocking factor for tape drives.

The next example explains how to back up the /usr partition located on disk sd1 to a 5.0 Gbyte 8 mm tape drive with a tape unit assignment of st0.

-----------------------------------------------------------
example# dump 0dsbfu 54000 13000 126 /dev/rst8 /dev/sd1g -----------------------------------------------------------

The last example explains how to back up the /usr partition located on disk sd2 to a 5.0 Gbyte 8 mm tape drive with a tape unit assignment of st0 in low- density (2.3 Gbyte format) mode.

This example allows you to read the tape on a 2.3 Gbyte 8 mm tape drive that uses the s (size) option of 6000.

----------------------------------------------------------
example# dump 0dsbfu 54000 6000 126 /dev/rst0 /dev/sd2g ----------------------------------------------------------

Examples for the Solaris 2.x (SunOS 5.x) Operating Environment

The first two examples explain how to use the tape drive in medium-density (5.0 Gbyte format) mode. The last example explains how to use the tape drive in low-density (2.3 Gbyte format) mode.

Table 2 lists the eight available tape unit assignments for low-density mode.

    Table 2 Tape Unit Assignments for Low-Density Mode

-----------------------------------------------------------------------------------------------------
Tape Unit Low-Density Low-Density/No Rewind Low-Density/BSD Low-Density/BSD/No Rewind (2.3 Gbyte format) (5.0 Gbyte format) (5.0 Gbyte format) (5.0 Gbyte format) -----------------------------------------------------------------------------------------------------
                                                                            
st0        /dev/rmt/0l         /dev/rmt/0ln             /dev/rmt/0lb        /dev/rmt/0lbn
                                                                            
st1        /dev/rmt/1l         /dev/rmt/1ln             /dev/rmt/1lb        /dev/rmt/1lbn
                                                                            
st2        /dev/rmt/2l         /dev/rmt/2ln             /dev/rmt/2lb        /dev/rmt/2lbn
                                                                            
st3        /dev/rmt/3l         /dev/rmt/3ln             /dev/rmt/3lb        /dev/rmt/3lbn
                                                                            
st4        /dev/rmt/4l         /dev/rmt/4ln             /dev/rmt/4lb        /dev/rmt/4lbn
                                                                            
st5        /dev/rmt/5l         /dev/rmt/5ln             /dev/rmt/5lb        /dev/rmt/5lbn
                                                                            
st6        /dev/rmt/6l         /dev/rmt/6ln             /dev/rmt/6lb        /dev/rmt/6lbn
                                                                            
st7        /dev/rmt/7l         /dev/rmt/7ln             /dev/rmt/7lb        /dev/rmt/7lbn

-----------------------------------------------------------------------------------------------------

Table 3 lists the eight available tape unit assignments for medium-density mode.

    Table 3 Tape Unit Assignments for Medium-Density Mode

--------------------------------------------------------------------------------------
Tape Unit Medium-Density Medium-Density/ Medium-Density/ Medium-Density/BSD/ (2.3 Gbyte No Rewind BSD No Rewind format) (5.0 Gbyte format) (5.0 Gbyte format) (5.0 Gbyte format) --------------------------------------------------------------------------------------
                                                                    
st0        /dev/rmt/0m      /dev/rmt/0mn        /dev/rmt/0mb        /dev/rmt/0mbn
                                                                    
st1        /dev/rmt/1m      /dev/rmt/1mn        /dev/rmt/1mb        /dev/rmt/1mbn
                                                                    
st2        /dev/rmt/2m      /dev/rmt/2mn        /dev/rmt/2mb        /dev/rmt/2mbn
                                                                    
st3        /dev/rmt/3m      /dev/rmt/3mn        /dev/rmt/3mb        /dev/rmt/3mbn
                                                                    
st4        /dev/rmt/4m      /dev/rmt/4mn        /dev/rmt/4mb        /dev/rmt/4mbn
                                                                    
st5        /dev/rmt/5m      /dev/rmt/5mn        /dev/rmt/5mb        /dev/rmt/5mbn
                                                                    
st6        /dev/rmt/6m      /dev/rmt/6mn        /dev/rmt/6mb        /dev/rmt/6mbn
                                                                    
st7        /dev/rmt/7m      /dev/rmt/7mn        /dev/rmt/7mb        /dev/rmt/7mbn

--------------------------------------------------------------------------------------

Note - Use Table 2 and Table 3 as a reference for tape unit assignments in the Solaris 2.1 (SunOS 5.1) operating environment when using other software commands, such as cpio.

You can specify options for the dump command in any order; however, the position of each of the following arguments depends on the relative position of each specified option.

The first example explains how to back up an entire disk, sd3, onto a 5.0 Gbyte 8 mm tape drive assigned as st2.

----------------------------------------------
example# dump 0fu /dev/rmt/2m /dev/c0t0d0s6 ----------------------------------------------

The next example explains how to back up the /usr partition located on disk sd1 to a 5.0 Gbyte 8 mm tape drive with a tape unit assignment of st0.

--------------------------------------------------
example# dump 0fu /dev/rmt/0m /dev/dsk/c0t1d0s6 --------------------------------------------------

The last example explains how to back up the /usr partition located on disk sd2 to a 5.0 Gbyte 8 mm tape drive with a tape unit assignment of st0 in
low-density (2.3 Gbyte format) mode.

--------------------------------------------------
example# dump 0fu /dev/rmt/0l /dev/dsk/c0t2d0s6 --------------------------------------------------