Sponsored Content
Operating Systems AIX help with tape drive on aix 5.1 Post 46025 by RTM on Wednesday 7th of January 2004 03:41:54 PM
Old 01-07-2004
First - let me mention I don't have an AIX system to test with

But, you should be able to use the following commands to see if the system can use the tape drive. Check your documentation (man pages) for proper use of commands given.

List tape drives:
$ ls -l /dev/rmt

Get status of tape drive (put a tape in the tape drive)

$ mt -f /dev/rmt/0 status

To see if you can backup files to it - cvf means create, verbose, file to backup to (normally not needed when using /dev/rmt/0 but I usually put it in anyway)
$ cd /var/adm
$ tar cvf /dev/rmt/0 .
 

8 More Discussions You Might Find Interesting

1. AIX

AIX Tape Drive Backup

Currently I have a Dell Ultrium LTO 2 Tape Drive. I am going to have a IBM AIX server. Just wonder if it is possibe to connect this tape drive to the aix server? I have Brightstor Arcserver installed on another win 2003 server. Is it possible to install the arcserve agent on the aix and use the... (1 Reply)
Discussion started by: ming413
1 Replies

2. AIX

Replacing tape drive in RS/6000 7025 F40 running AIX 4.2.1?

I've just landed in a situation where an old IBM RS/6000 7025 F40 running AIX 4.2.1 has had it's tape drive fail. The tape drive in question is an HP C1533A 4mm 4GB/8GB DAT drive. It repeatedly gets write failures, and my trusty techique of whacking the cleaning tape in hasn't worked. Unfortunately... (2 Replies)
Discussion started by: phaedrus
2 Replies

3. AIX

How to mount internal tape drive of sun machine in AIX 5.3

Hi, Help required! How to mount internal tape drive of sun machine in AIX 5.3 (0 Replies)
Discussion started by: ashwin.krishna
0 Replies

4. AIX

SUN StorageTek tape drive with AIX 5.1

Hi, I have recently purchase a SUN Storage Tek desktop LTO 4 HH tape drive and connected to a IBM AIX 5.1 server. The server can detect the tape device. Can someone please advice urgently. Thanks (4 Replies)
Discussion started by: Caully
4 Replies

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

6. AIX

AIX 4.2.1 Tape Drive Problem

Hi, The problem I have is I want to restore my AIX machine. I have created a mksysb tape from my tape drive rmt0 and I changed the bootlist using this command "bootlist -m normal rmt0 hdisk0". However, when I display the bootlist "bootlist -om normal", it shows '-' hdisk0. I googled and... (2 Replies)
Discussion started by: AixNoob87
2 Replies

7. AIX

Testing the dds tape drive on AIX

Hi I need to make some restore tapes for our old AIX systems I have purchased some DDS2 tapes and cleaning tapes The tape drive is rmt0 what commands can I enter to run the cleaning tape through the drive and are the any commands I can enter to test these drives prior to using... (2 Replies)
Discussion started by: madmacher
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
AMMT(8) 						      System Manager's Manual							   AMMT(8)

NAME
ammt - Amanda version of mt SYNOPSIS
ammt [ -d ] [ -f|-t device ] command [ count ] DESCRIPTION
Ammt provides just enough of the standard mt command for the needs of Amanda. This is handy when doing a full restore and the standard mt program has not yet been found. Ammt also provides access to the Amanda output drivers that support various tape simulations. See the amanda(8) man page for more details about Amanda. See the OUTPUT DRIVERS section of amanda(8) for more information on the Amanda output drivers. OPTIONS
-d Turn on debugging output. -f device Access tape device device. If not specified, the TAPE environment variable is used. -t device Same as -f. command count Which command to issue, and an optional count of operations. COMMANDS
Each command may be abbreviated to whatever length makes it unique. eof|weof count Write count (default: 1) end of file marks (tapemarks). fsf count Skip forward count (default: 1) files. bsf count Skip backward count (default: 1) files. asf count Position to file number count (default: 0) where zero is beginning of tape. This is the same as a rewind followed by a fsf count. rewind Rewind to beginning of tape. offline|rewoffl Rewind to beginning of tape and unload the tape from the drive. status Report status information about the drive. Which data reported, and what it means, depends on the underlying operating system, and may include: ONLINE Indicates the drive is online and ready. OFFLINE Indicates the drive is offline or not ready. BOT Indicates the drive is at beginning of tape. EOT Indicates the drive is at end of tape. PROTECTED Indicates the tape is write protected. ds Device status. er Error register. fileno Current tape file number. blkno Current tape block number file. NOTE: many systems only report good data when a tape is in the drive and ready. AUTHOR
Marc Mengel <mengel@fnal.gov> John R. Jackson <jrj@purdue.edu> SEE ALSO
amanda(8) AMMT(8)
All times are GMT -4. The time now is 02:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy