Load Tape


 
Thread Tools Search this Thread
Operating Systems HP-UX Load Tape
# 1  
Old 01-28-2009
Load Tape

Hi all,

Is there a way that I can load an Ultrium tape located in the library magazine into a tape device via the command line.

Thanks
Ryan
# 2  
Old 01-29-2009
Check with the changer device manufacturer, OEM, or VAR (value-added-resaler) to see if they have some device drivers and/or tools. If not, you can try the plain ordinary mt command to see if that gives you what you need. This Bacula code has a script to simplify the operation, and it's all based on mt.
# 3  
Old 04-06-2009
I believe that Bacula script is a manual loader script that relies on an operator to load the tape and just notifies the operator to do so and then confirms it was done.

What you want is the actual mtx code. mtx is to libraries as mt is to the tape drive. You can find it here SourceForge.net: MTX: Media Changer Tools. Then you can open a terminal session, and do things like

# mt status
# mtx -f /dev/scsi/changer/c2t0d0 status
# mtx -f /dev/scsi/changer/c2t0d0 unload 10 0
# mtx -f /dev/scsi/changer/c2t0d0 load 16 0
# mt status

The above would see that a tape is in the drive, show the contents of all drives and slots with their barcodes, unload the tape in drive 0 to slot 10, then load the tape in slot 16 to drive 0, and finally double check the status of the drive.

Both Amanda and Bacula use mt and mtx and then have their own scripts for tying into those.
# 4  
Old 04-11-2009
If you are using Veritas Netbackup (now owned by Symantec?) then it comes with commands to this, robtest, e.g.:

Run robtest and then type in:
Code:
s s (Scan Slots)
s d (Scan Drives)

m d2 s12 (move a volume from drive 2 to slot 12)...

You need to quit from robtest once you are done otherwise Netbackup will not work while waiting for robtest to release the tape library.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

VPS has load 200, httpd load no activity, netstat nothing

Hello, on my hostserver i see one VPS of mine got load of 200.00 and netstat nothing (not a single blank line on netstat command) after some time, netstat started showing connections, but i see no excessive IP connections. tail -f /var/log/httpd/access_log shows no activity /var/log/messages ;... (1 Reply)
Discussion started by: postcd
1 Replies

2. 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

3. UNIX for Dummies Questions & Answers

Copying tape-to-tape on UNIX

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

4. 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

5. 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

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. 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

8. Shell Programming and Scripting

Need help in wrting Load Script for a Load-Resume type of load.

hi all need your help. I am wrting a script that will load data into the table. then on another load will append the data into the existing table. Regards Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies
Login or Register to Ask a Question