Sponsored Content
Full Discussion: moving files to tape drive
Special Forums Hardware Filesystems, Disks and Memory moving files to tape drive Post 14927 by shibz on Friday 8th of February 2002 02:49:40 AM
Old 02-08-2002
KN,

Try this out,


tar cvf /dev/rmt/0cb <files>

this will copy the files from OS to tape.

And if u want to append to the tape,

tar rvf /dev/rmt/0cb <files>

Hope this helps u. But it will be helpful if u go through the man pages.
 

8 More Discussions You Might Find Interesting

1. Solaris

Problem restoring files from remote tape drive

Server 1 - Sun Solaris 5.8 sparc SUNW,Sun-Fire-480R with attached DLT tape drive /dev/rmt/0n Server 2 - Old DG-UX box which has restore command on it compatible with the files on the backyup tape - backed up with dump2 Server 3 - Sun solaris 5.9 sparc SUNW,Sun-Fire-V490 with lots of free space... (4 Replies)
Discussion started by: lindab
4 Replies

2. BSD

How to reach files from tape drive using dd

Hi all! I have problem with copying files from tape drive. The contents of tape: silverman# tcopy /dev/sa1 file 0: block size 10240: 21 records file 0: eof after 21 records: 215040 bytes file 1: block size 10240: 20712 records file 1: eof after 20712 records: 212090880 bytes file 2:... (2 Replies)
Discussion started by: d3m00n
2 Replies

3. UNIX for Dummies Questions & Answers

How to send files to remote tape drive

We have 2 UNIX machines, 1.HP-UX 11i where oracle database running on it. 2.AIX 5 with Ultrium LTO3 tape drive connected. My query is, i want to send oracle database archive files from HP machine to the tape drive which connected on AIX machine, everyday. These files should be appended. I... (3 Replies)
Discussion started by: yashdbad
3 Replies

4. Filesystems, Disks and Memory

Appending files to a tape drive

I've starting playing with a tape drive for the first time. Its a new one, an IBM Ultrium LTO 4. After initially copying a file to the tape with tar cvf /dev/st0 /root/dummy, all subsequent files appended take an increasing amount of time with tar rvf /dev/st0 /root/dummyX. Is it normal for each... (2 Replies)
Discussion started by: jeriryan87
2 Replies

5. AIX

Tape Drive

I have tape drive in one Lpar. when i saw that time tape is in defined state. After that i deleted the tape drive using the rmdev -R command. Then fired the cfgmgr -v command. But I am not getting the tape drive. Now the drive is even not in defined state also. It is not shown the tape drive. How... (1 Reply)
Discussion started by: pernasivam
1 Replies

6. Solaris

Backup files to tape drive on solaris

Hi, I want to take backup of files older than 20 days from a directory onto a tape drive on remote machine on Solaris. The files are of format abc-20100301000000.gz on my local machine. I know the below commands for searching files older than x days and command for backup procedure. solar1 #... (7 Replies)
Discussion started by: jyothi_wipro
7 Replies

7. Solaris

Help with tape drive

Hey folks, Linux admin here, forced to use Opensolaris to try to use ufsdump/ufsrestore to get some data of some old tapes. I've got Opensolaris 2009.06 on x86 and a Sony SDX-700V. As a "control" experiment, I booted the system with a Linux live CD and the tape drive worked perfectly. ... (2 Replies)
Discussion started by: eddy_sysad
2 Replies

8. HP-UX

TAPE drive

I have used ioscan -fnC tape and the system identified the tape drive. what is the command to show a listing of what is on the tape? I have used ls /dev/rmt/rmt0 to no avail. can anyone help? Thanks in advance (10 Replies)
Discussion started by: Randydog
10 Replies
MT(1)                                                                GNU CPIO                                                                MT(1)

NAME
mt - control magnetic tape drive operation SYNOPSIS
mt [-V] [-f device] [--file=device] [--rsh-command=command] [--version] operation [count] DESCRIPTION
This manual page documents the GNU version of mt. mt performs the given operation, which must be one of the tape operations listed below, on a tape drive. The default tape device to operate on is taken from the file /usr/include/sys/mtio.h when mt is compiled. It can be overridden by giving a device file name in the environment variable TAPE or by a command line option (see below), which also overrides the environment variable. The device must be either a character special file or a remote tape drive. To use a tape drive on another machine as the archive, use a filename that starts with `HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user, if you have permission to do so (typically an entry in that user's `~/.rhosts' file). The available operations are listed below. Unique abbreviations are accepted. Not all operations are available on all systems, or work on all types of tape drives. Some operations optionally take a repeat count, which can be given after the operation name and defaults to 1. eof, weof Write count EOF marks at current position. fsf Forward space count files. The tape is positioned on the first block of the next file. bsf Backward space count files. The tape is positioned on the first block of the next file. fsr Forward space count records. bsr Backward space count records. bsfm Backward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark. fsfm Forward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark. asf Absolute space to file number count. Equivalent to rewind followed by fsf count. seek Seek to block number count. eom Space to the end of the recorded media on the tape (for appending files onto tapes). rewind Rewind the tape. offline, rewoffl Rewind the tape and, if applicable, unload the tape. status Print status information about the tape unit. retension Rewind the tape, then wind it to the end of the reel, then rewind it again. erase Perform long erase of tape. If count is 0, perform short erase of tape (some devices do not support this). mt exits with a status of 0 if the operation succeeded, 1 if the operation or device name given was invalid, or 2 if the operation failed. OPTIONS -f, --file=device Use device as the file name of the tape drive to operate on. To use a tape drive on another machine, use a filename that starts with `HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user, if you have permission to do so (typically an entry in that user's `~/.rhosts' file). --rsh-command=command Notifies mt that it should use command to communicate with remote devices instead of /usr/bin/ssh or /usr/bin/rsh. -V, --version Print the version number of mt. BUG REPORTS
Report bugs to <bug-cpio@gnu.org>. COPYRIGHT
Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. MT January 28, 2014 MT(1)
All times are GMT -4. The time now is 12:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy