Sponsored Content
Full Discussion: copy tape to tape using dd
Operating Systems Solaris copy tape to tape using dd Post 49949 by itsgeorge on Wednesday 14th of April 2004 10:12:41 AM
Old 04-14-2004
Hi

I tried to use bs=126 the default , but it still give the same error .


but i found another way to do it using tcopy .

tcopy /dev/rmt/1 /dev/rmt/2

and it worked fine .


thanks and best regards .
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

copy to tape notworking

I am copying a file to tape but it keeps failing, can any body help? I tried the tar,cp, mv commands and not seems to be working #!/bin/ksh # # Return Codes # 0 - success # 1 - failure # # # dat=`date +%y%m%d` cp /u07/work/theo_test.log /dev/rmt0/exp_dump.${dat}.$$ if (( ${?}... (1 Reply)
Discussion started by: ted
1 Replies

2. Shell Programming and Scripting

another copy to tape question

I have a file called feed_file. Every week, I would like to copy this file to tape. I would not like the file on this tape to be over written with the previous weeks file. So what I would prefer to do is to add time stamp at the end of each weeks file on the tape in order for the files to look... (1 Reply)
Discussion started by: ted
1 Replies

3. Solaris

Copy tape ?????????????

how i can copy entire content of a tape to HD ? the tape content a tar file i want to copy it onto hard disk and after do the untar ... The block size of the tar file is 1024 ..... wich command i must type ??? thank in advance ........ The operating system is sun .... (2 Replies)
Discussion started by: tt155
2 Replies

4. UNIX for Advanced & Expert Users

Space free on tape /delete a single file on tape

Hi, I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape. Thanks DOMENICO (3 Replies)
Discussion started by: Minguccio75
3 Replies

5. Solaris

Copy Tape Drive DDS-01.

Hello, I am trying to copy a boot tape DDS-01 with miniroot, but i donīt get this copy. i have already used the command dd, but donīt work. There are other way to get it. (0 Replies)
Discussion started by: carelias
0 Replies

6. UNIX for Dummies Questions & Answers

Mounting DLT tape and to backup file to tape

Hi there: I'm new here Can anyone help me: I have DS15 Alpha server : Unix 5.1B Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit. What is the exact comman to mount the DLTape IV?? How do i make backuo @ copy file to the tape? Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies

7. AIX

How to copy a tape into another tape ?

I am new to AIX. I want to make a duplicate tape. How can I do that ? (1 Reply)
Discussion started by: Anonno
1 Replies

8. SCO

Tape Status shows 2 Hard errors and 5 Underruns on new tape

when I do a tape status /dev/rStp0 I get the following on a new tape and I have tried several: Status : ready beginning-of-tape soft errors : 0 hard errors: 2 underruns: 5 My BackupEdge has stopped backing up my system because it asks for a new volume yet my total system data is under 20... (5 Replies)
Discussion started by: psytropic
5 Replies

9. AIX

How to make a copy of a tape to another tape?

Hello, We need to make a copy of a backup tape, using the 2 tape recorders in IBM 3582 Tape Library We tried tu use "tcopy", it seems to work fine (no error messages) but we aren't sure if we can rely on it. my question is how to check if the copy succeded or not, but i also want to know... (3 Replies)
Discussion started by: fastlane3000
3 Replies

10. AIX

Ejecting tape on AIX & Some Tape commands

I am trying to use this command to eject the tape mt -f /dev/rmt/0 unload but it gives me error mt -f /dev/rmt/0 unload mt: 0511-575 unload is not a recognized subcommand. Usage: mt Subcommand Valid subcommands are: weof eof fsf bsf ... (5 Replies)
Discussion started by: filosophizer
5 Replies
MT(1)							    BSD General Commands Manual 						     MT(1)

NAME
mt -- magnetic tape manipulation SYNOPSIS
mt [-f tapename] command [count] DESCRIPTION
The mt program is used to give commands to a magnetic tape drive. By default mt performs the requested operation once. Operations may be performed multiple times by specifying count. Note that tapename must reference a raw (not block) tape device. If tapename is of the form "host:tapename", or "user@host:tapename", mt writes to the named tape device on the remote host using rmt(8). The rmt(8) process on the remote host is typically initiated via rsh(1), although an alternate method such as ssh(1) can be specified via the RCMD_CMD environment variable. The available commands are listed below. Only as many characters as are required to uniquely identify a command need be specified. asf Move forward count files from the beginning of the tape. This is accomplished by a rewind followed by fsf count. eof, weof Write count end-of-file marks at the current position on the tape. fsf Forward space count files. fsr Forward space count records. bsf Back space count files. bsr Back space count records. rewind Rewind the tape. (The count is ignored.) offline, rewoffl Rewind the tape and place the tape unit off-line. Where supported, this ejects the tape. (The count is ignored.) status Print status information about the tape unit. (The count is ignored.) retension Retensions the tape. Not all tape drives support this feature. (The count is ignored.) erase Erases the tape Not all tape drives support this feature. (The count is ignored.) eew Enable or disable early warning EOM behaviour. Set count to nonzero to enable, zero to disable. eom Forward space to the end of recorded media. (The count is ignored.) blocksize, setblk Set the tape blocksize to count bytes. A count of zero sets variable blocksize. density, setdensity Set the tape density code to count as specified in the SCSI-3 specification. See the DENSITY CODES section for a list of codes for commonly used media types. rdspos Read the logical block position of the tape. Not all tape drives support this feature. (The count is ignored.) rdhpos Read the hardware block position of the tape. Not all tape drives support this feature. (The count is ignored.) setspos Set the logical block position of the tape to count. Not all tape drives support this feature. sethpos Set the hardware block position of the tape to count. Not all tape drives support this feature. compress If count is zero, disable compression. Otherwise enable compression. Not all tape drives support this feature. If a tape name is not specified, and the environment variable TAPE is not set, then mt uses the device /dev/nrst0. ENVIRONMENT
If the following environment variables exist, they are used by mt. TAPE mt uses device filename given in the TAPE environment variable if the tapename argument is not given. RCMD_CMD mt will use RCMD_CMD rather than /usr/bin/rsh to invoke rmt(8) on a remote machine. The full path name must be specified. FILES
/dev/rst* Raw SCSI tape device /dev/rmt* Raw magnetic tape device EXIT STATUS
mt returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation failed. DENSITY CODES
The SCSI-3 specification defines a number of density codes for various tape media, some of which are listed here. Note that many tape drive vendors also define model-specific codes. Code Format 0 Device default 1 1/2" 800 bpi 2 1/2" 1600 bpi 3 1/2" 6250 bpi 4 QIC-11 5 QIC-24 15 QIC-120 16 QIC-150 17 QIC-320/525 18 QIC-1320/1350 19 DDS 28 QIC-385M 29 QIC-410M 30 QIC-1000C 31 QIC-2100C 32 QIC-6GB 33 QIC-20GB 34 QIC-2GB 35 QIC-875M 36 DDS-2 37 DDS-3 38 DDS-4 SEE ALSO
dd(1), ioctl(2), mtio(4), st(4), environ(7) HISTORY
The mt utility appeared in 4.3BSD. BSD
March 9, 2008 BSD
All times are GMT -4. The time now is 04:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy