
cg-s% cd /proto/sun_tapes/sun386i/4.0.1/devel
cg-s% du -s .
18847 .
cg-s% ls -ls
total 18846
  64 -rw-rw-r--  1 root        65536 Jan 10 13:56 file_1
   1 -rw-rw-r--  1 root           37 Jan 10 13:56 file_1.info
 648 -rw-rw-r--  1 root       655360 Jan 10 14:03 file_10
   1 -rw-rw-r--  1 root          282 Jan 10 14:03 file_10.info
3176 -rw-rw-r--  1 root      3244032 Jan 10 14:05 file_11
   2 -rw-rw-r--  1 root         1381 Jan 10 14:05 file_11.info
   1 -rw-rw-r--  1 root          512 Jan 10 14:05 file_12
   1 -rw-rw-r--  1 root           20 Jan 10 14:05 file_12.info
   3 -rw-rw-r--  1 root         2560 Jan 10 13:56 file_2
   1 -rw-rw-r--  1 root           22 Jan 10 13:56 file_2.info
5704 -rw-rw-r--  1 root      5832704 Jan 10 13:58 file_3
   3 -rw-rw-r--  1 root         2568 Jan 10 13:58 file_3.info
3752 -rw-rw-r--  1 root      3833856 Jan 10 14:00 file_4
   2 -rw-rw-r--  1 root         1651 Jan 10 14:00 file_4.info
2408 -rw-rw-r--  1 root      2457600 Jan 10 14:02 file_5
   2 -rw-rw-r--  1 root         1048 Jan 10 14:02 file_5.info
 264 -rw-rw-r--  1 root       262144 Jan 10 14:02 file_6
   1 -rw-rw-r--  1 root          114 Jan 10 14:02 file_6.info
 456 -rw-rw-r--  1 root       458752 Jan 10 14:02 file_7
   1 -rw-rw-r--  1 root          199 Jan 10 14:02 file_7.info
2088 -rw-rw-r--  1 root      2129920 Jan 10 14:03 file_8
   1 -rw-rw-r--  1 root          911 Jan 10 14:03 file_8.info
 264 -rw-rw-r--  1 root       262144 Jan 10 14:03 file_9
   1 -rw-rw-r--  1 root          116 Jan 10 14:03 file_9.info
   1 -rw-rw-r--  1 root            3 Jan 10 14:05 total_files
cg-s% 
cg-s% tape_dup -help
Usage: tape_dup -options ...

    Where -options are:
	if=filename    The input file to read.
	of=filename    The output file to read.
	bs=value       The block size to read/write.
	directory=path The directory name of data files.
	files=value    The number of files to process.
	enable=flag    Enable one or more of the flags below.
	disable=flag   Disable one or more of the flags below.

    Flags to enable/disable:
	debug          Debug output.         (Default: disabled)
	verbose        Verbose output.       (Default: enabled)
	verify         Verify data.          (Default: disabled)
cg-s% 
cg-s% tape_dup enable=verify
A total of 12 files will be verified.
File 1: Processed 2 records containing 65536 bytes, elapsed = 0m00.18s
File 2: Processed 1 records containing 2560 bytes, elapsed = 0m00.05s
File 3: Processed 178 records containing 5832704 bytes, elapsed = 0m34.85s
File 4: Processed 117 records containing 3833856 bytes, elapsed = 0m21.93s
File 5: Processed 75 records containing 2457600 bytes, elapsed = 0m14.76s
File 6: Processed 8 records containing 262144 bytes, elapsed = 0m01.53s
File 7: Processed 14 records containing 458752 bytes, elapsed = 0m02.58s
File 8: Processed 65 records containing 2129920 bytes, elapsed = 0m11.00s
File 9: Processed 8 records containing 262144 bytes, elapsed = 0m01.33s
File 10: Processed 20 records containing 655360 bytes, elapsed = 0m03.38s
File 11: Processed 99 records containing 3244032 bytes, elapsed = 0m16.91s
File 12: Processed 1 records containing 512 bytes, elapsed = 0m00.05s
A total of 12 files consisting of 19205120 bytes were processed.
The total time to verify 18755.00 Kbytes (18.32 Mbytes) was 1m49.96s.
cg-s% 
cg-s% setenv TAPE /dev/nrst0
cg-s% mt rewind
cg-s% tape_dup of=/dev/rst0
A total of 12 files will be written to the tape.
File 1: Processed 2 records containing 65536 bytes, elapsed = 0m09.11s
File 2: Processed 1 records containing 2560 bytes, elapsed = 0m01.76s
File 3: Processed 178 records containing 5832704 bytes, elapsed = 0m56.01s
File 4: Processed 117 records containing 3833856 bytes, elapsed = 0m44.50s
File 5: Processed 75 records containing 2457600 bytes, elapsed = 0m26.46s
File 6: Processed 8 records containing 262144 bytes, elapsed = 0m03.33s
File 7: Processed 14 records containing 458752 bytes, elapsed = 0m05.10s
File 8: Processed 65 records containing 2129920 bytes, elapsed = 0m22.30s
File 9: Processed 8 records containing 262144 bytes, elapsed = 0m03.40s
File 10: Processed 20 records containing 655360 bytes, elapsed = 0m09.13s
File 11: Processed 99 records containing 3244032 bytes, elapsed = 0m38.00s
File 12: Processed 1 records containing 512 bytes, elapsed = 0m00.83s
A total of 12 files consisting of 19205120 bytes were processed.
The total time to write 18755.00 Kbytes (18.32 Mbytes) was 3m41.98s.
cg-s% 
cg-s% tape_dup if=/dev/nrst0 enable=verify
File 1: Processed 2 records containing 65536 bytes, elapsed = 0m00.33s
File 2: Processed 1 records containing 2560 bytes, elapsed = 0m00.01s
File 3: Processed 178 records containing 5832704 bytes, elapsed = 0m53.98s
File 4: Processed 117 records containing 3833856 bytes, elapsed = 0m37.56s
File 5: Processed 75 records containing 2457600 bytes, elapsed = 0m22.71s
File 6: Processed 8 records containing 262144 bytes, elapsed = 0m02.16s
File 7: Processed 14 records containing 458752 bytes, elapsed = 0m04.00s
File 8: Processed 65 records containing 2129920 bytes, elapsed = 0m19.58s
File 9: Processed 8 records containing 262144 bytes, elapsed = 0m02.16s
File 10: Processed 20 records containing 655360 bytes, elapsed = 0m05.86s
File 11: Processed 99 records containing 3244032 bytes, elapsed = 0m31.85s
File 12: Processed 1 records containing 512 bytes, elapsed = 0m00.00s
A total of 12 files consisting of 19205120 bytes were processed.
The total time to verify 18755.00 Kbytes (18.32 Mbytes) was 3m06.30s.
cg-s% 
cg-s% tail /usr/adm/messages
Apr  3 17:57:51 cg-s %$
Apr  3 17:57:51 cg-s 

Apr  3 18:15:10 cg-s st4:  failed cmd =  8  1  0  0  40  0  

Apr  3 18:15:10 cg-s st%{d%|4%} error:  sense key(0x%{x%|8%}): %{s%|blank check%}
Apr  3 18:15:11 cg-s            sense = %{x%|f0%}  %{x%|0%}  %{x%|8%}  %{x%|0%}  %{x%|0%}  %{x%|0%}  %{x%|40%}  %{x%|6%}  %{x%|0%}  %{x%|0%}  %{x%|0%}  %{x%|0%}  %{x%|0%}  %{x%|0%}  %{x%|0%}  %{x%|0%}  
Apr  3 18:15:11 cg-s %$
Apr  3 18:15:10 cg-s 

cg-s% mt rewind
cg-s% tape_dup if=/dev/nrst0 directory=/tmp/robin/tmp
File 1: Processed 2 records containing 65536 bytes, elapsed = 0m00.50s
File 2: Processed 1 records containing 2560 bytes, elapsed = 0m00.00s
File 3: Processed 178 records containing 5832704 bytes, elapsed = 0m54.25s
File 4: Processed 117 records containing 3833856 bytes, elapsed = 0m38.25s
File 5: Processed 75 records containing 2457600 bytes, elapsed = 0m23.15s
File 6: Processed 8 records containing 262144 bytes, elapsed = 0m02.90s
File 7: Processed 14 records containing 458752 bytes, elapsed = 0m03.90s
File 8: Processed 65 records containing 2129920 bytes, elapsed = 0m19.46s
File 9: Processed 8 records containing 262144 bytes, elapsed = 0m02.28s
File 10: Processed 20 records containing 655360 bytes, elapsed = 0m06.33s
File 11: Processed 99 records containing 3244032 bytes, elapsed = 0m32.96s
File 12: Processed 1 records containing 512 bytes, elapsed = 0m00.25s
A total of 12 files consisting of 19205120 bytes were processed.
The total time to read 18755.00 Kbytes (18.32 Mbytes) was 3m14.63s.
cg-s% 
cg-s% mt rewind
cg-s% /usr/bin/diff -s . /tmp/robin/tmp
Files ./file_1 and /tmp/robin/tmp/file_1 are identical
Files ./file_1.info and /tmp/robin/tmp/file_1.info are identical
Files ./file_10 and /tmp/robin/tmp/file_10 are identical
Files ./file_10.info and /tmp/robin/tmp/file_10.info are identical
Files ./file_11 and /tmp/robin/tmp/file_11 are identical
Files ./file_11.info and /tmp/robin/tmp/file_11.info are identical
Files ./file_12 and /tmp/robin/tmp/file_12 are identical
Files ./file_12.info and /tmp/robin/tmp/file_12.info are identical
Files ./file_2 and /tmp/robin/tmp/file_2 are identical
Files ./file_2.info and /tmp/robin/tmp/file_2.info are identical
Files ./file_3 and /tmp/robin/tmp/file_3 are identical
Files ./file_3.info and /tmp/robin/tmp/file_3.info are identical
Files ./file_4 and /tmp/robin/tmp/file_4 are identical
Files ./file_4.info and /tmp/robin/tmp/file_4.info are identical
Files ./file_5 and /tmp/robin/tmp/file_5 are identical
Files ./file_5.info and /tmp/robin/tmp/file_5.info are identical
Files ./file_6 and /tmp/robin/tmp/file_6 are identical
Files ./file_6.info and /tmp/robin/tmp/file_6.info are identical
Files ./file_7 and /tmp/robin/tmp/file_7 are identical
Files ./file_7.info and /tmp/robin/tmp/file_7.info are identical
Files ./file_8 and /tmp/robin/tmp/file_8 are identical
Files ./file_8.info and /tmp/robin/tmp/file_8.info are identical
Files ./file_9 and /tmp/robin/tmp/file_9 are identical
Files ./file_9.info and /tmp/robin/tmp/file_9.info are identical
Files ./total_files and /tmp/robin/tmp/total_files are identical
cg-s%
cg-s% 
