10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I'm new to this forum and like to first of all say hello to everyone.
I've got a really annoying problem at the moment.
I'm trying to rsync some files (about 200MB with one file of 120MB) from a Raspberry PI with raspbian to a debian server via rsync.
This procedure is stored in a... (3 Replies)
Discussion started by: wex_storm
3 Replies
2. UNIX for Dummies Questions & Answers
I am using a 4mm tape to backup my Unix system. However, I wanted to make a copy all of the files and archive headers (or just the archive headers if that's possible) created on one of my tapes to another 4mm tape. I only have one tape drive. Is there a command that will complete such task? ... (1 Reply)
Discussion started by: acoco
1 Replies
3. Shell Programming and Scripting
Hi All,
I have a big file which looks like this:
abc 34.32
cdf 343.45
computer 1.34
ladder 2.3422
I have some 100000 .TXT files which look like this:
computer
cdf
align
I have to open each of the text files and read the words from the text files. Then I have to look into that... (2 Replies)
Discussion started by: shoaibjameel123
2 Replies
4. UNIX for Dummies Questions & Answers
I have a large file that I append entries to the end of every few seconds. Its grown to >150MB. Its basically a log file but a perl script is writing to it. I need to make a copy of it to a new directory. I realize the latest entries occuring while the copy is taking place will not be recorded... (1 Reply)
Discussion started by: lforum
1 Replies
5. Shell Programming and Scripting
Hi,
I have a process which duplicates files for different environments. As the files arrive, my script (korn shell) makes copies of them (giving a unique name) and then renames the original file so that my process won't get triggered again.
I don't like it either, but it's what we were told to... (4 Replies)
Discussion started by: GoldenEye4ever
4 Replies
6. UNIX for Dummies Questions & Answers
We have 3 Unix servers all running SVR4 Unix 1.4. I have no problems copying files to and from 2 of the servers using either the rcp command or ftp but when i come to transfer large files to the third server the copy gives up part way through and crashes this server. Copying smaller files using RCP... (7 Replies)
Discussion started by: coatesd
7 Replies
7. AIX
Hi All
I am trying to copy files present in a partition (server 2) which is mounted to a different server (server 1) as tape drive is connected to it. I ran the below command to copy files within a partition:
svr01:root:/sunfileserver> tar -cvf *
a <foldername>/<filename>/<filename>
a... (4 Replies)
Discussion started by: vathsan
4 Replies
8. UNIX for Dummies Questions & Answers
I have a zipped file that is ~ 10GB. I tried tarring it off to a tape, but I receive:
tar: <filename> too large to archive. Use E function modifier.
The file is stored on a UFS mount, so I was unable to use ufsdump.
What other options do I have? (I don't have a local file system large... (3 Replies)
Discussion started by: FredSmith
3 Replies
9. Filesystems, Disks and Memory
Hi, Im trying to take a database backup. one of the files is 26 GB. I am using cp -pr to create a backup copy of the database. after the copying is complete, if i do du -hrs on the folders i saw a difference of 2GB.
The weird fact is that the BACKUP folder was 2 GB more than the original one!
... (1 Reply)
Discussion started by: 0ktalmagik
1 Replies
10. UNIX for Dummies Questions & Answers
Hi there
In my organisation we have a solaris network with /home being automounted from /export/home on a central file server (usual stuff) however, the guy who originally set this up only allocated 3gb to /export/home and now we are really struggling for space. I have a new 18gb disk installed... (3 Replies)
Discussion started by: hcclnoodles
3 Replies
AMTAPE(8) System Manager's Manual AMTAPE(8)
NAME
amtape - user interface to Amanda tape changer controls
SYNOPSIS
amtape config command [ command options ]
DESCRIPTION
Amtape performs tape changer control operations. It uses the underlying tape changer script defined by the tpchanger option for a particu-
lar Amanda configuration as specified by the config argument.
Tape changers maintain a notion of the current and next slot for each configuration. These may or may not correspond to an actual physical
state of the device, but do tend to minimize searching through the tape storage slots. If the desired tape is in the current slot, it is
likely the next tape needed is in the next slot rather than at some random position in the storage slots.
See the amanda(8) man page for more details about Amanda.
COMMANDS
reset Reset the tape changer to a known state. The current slot is set to the first slot. Other device-specific side effects may occur.
Some gravity stackers need to be reset to the top position by hand. This command notifies Amanda the stacker is back in that posi-
tion.
eject If a tape is loaded in the drive, it is ejected and returned to the slot from which it was loaded.
clean If a cleaning tape is defined for the changer, it is used to clean the drive.
show Show the contents of all slots. This can be slow.
label label
Search for and load the Amanda tape with label label.
taper Perform the taper scan algorithm. Load the next tape in the configuration's tape sequence, or a fresh tape with a suitable label.
device Display the name of the current tape device on stdout.
current
Display the current slot.
update Update the changer label database, if it has one, to match the tapes now available.
slot slot
Eject any tape in the drive and put it away, then load the tape from slot slot and reset current.
slot current
Eject any tape in the drive and put it away, then load the tape from the current slot.
slot prev
Eject any tape in the drive and put it away, then load the tape from the previous slot and reset current.
slot next
Eject any tape in the drive and put it away, then load the tape from the next slot and reset current.
slot first
Eject any tape in the drive and put it away, then load the tape from the first slot and reset current.
slot last
Eject any tape in the drive and put it away, then load the tape from the last slot and reset current.
slot advance
Eject any tape in the drive and put it away. Advance current to the next tape, but do not load it.
This is useful with non-gravity stackers to unload the last tape used and set up Amanda for the next run. If you just use eject,
the current tape will be mounted again in the next run, where it will be rejected as being still in use, ejected and the next tape
requested. Using slot next followed by eject does an unnecessary mount.
Note: most changers optimize the slot commands to not eject the loaded tape if it is the one being requested.
AUTHOR
James da Silva <jds@cs.umd.edu>
University of Maryland, College Park
SEE ALSO
amanda(8)
AMTAPE(8)