04-14-2004
Try dd again but specify the blocksize of the tape with bs=n where n is the blocksize of the tape.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT CENTOS
amtapetype
AMTAPETYPE(8) System Administration Commands AMTAPETYPE(8)
NAME
amtapetype - generate a tapetype definition by testing the device directly
SYNOPSIS
amtapetype [-h] [-c] [-f] [-p] [-b blocksize] [-t typename] [-l label] [-o configoption...] [config] [device]
DESCRIPTION
amtapetype generates a tapetype entry for Amanda by testing the device directly.
OPTIONS
Note
The options for amtapetype have changed in version 2.6.1
-h
Display the help message.
-c
Run only the hardware compression detection heuristic test and stop. This takes a few minutes only.
-f
Run amtapetype even if the loaded volume is already labeled.
-p
Run only the device property discovery.
-b blocksize
block size to use with the device (default: 32k)
-t typename
Name to give to the new tapetype definition.
-l label
Label to write on the tape (default is randomly generated).
-o configoption
See the "CONFIGURATION OVERRIDE" section in amanda(8).
If a configuration is specified, it is loaded and used to configure the device. Note that global configuration parameters are not applied
to the device, so if you need to apply properties to a device to run amtapetype, you should supply those properties in a named device
section.
EXAMPLE
Generate a tapetype definition for your tape device:
% amtapetype -f /dev/nst0
NOTES
If the device cannot reliably report its comprssion status (and as of this writing, no devices can do so), hardware compression is detected
by measuring the writing speed difference of the tape drive when writing an amount of compressable and uncompresseable data. If your tape
drive has very large buffers or is very fast, the program could fail to detect hardware compression status reliably.
Volume capacity is determined by writing one large file until an error, interpereted as end-of-tape, is encountered. In the next phase,
about 100 files are written to fill the tape. This second phase will write less data, because each filemark consumes some tape. With a
little arithmetic, amtapetype calculates the size of these filemarks.
All sorts of things might happen to cause the amount of data written to vary enough to generate a strange file mark size guess. A little
more "shoe shining" because of the additional file marks (and flushes), dirt left on the heads from the first pass of a brand new tape, the
temperature/humidity changed during the multi-hour run, a different amount of data was written after the last file mark before EOT was
reported, etc.
Note that the file mark size might really be zero for whatever device this is, and it was just the measured capacity variation that caused
amtapetype to think those extra file marks in pass 2 actually took up space.
SEE ALSO
amanda(8), amanda.conf(5)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORS
Dustin J. Mitchell <dustin@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.3 01/10/2013 AMTAPETYPE(8)