Tape problem !!!!!!!!


 
Thread Tools Search this Thread
Operating Systems AIX Tape problem !!!!!!!!
# 1  
Old 02-02-2006
Tape problem !!!!!!!!

HI !!
I have problem with my tape LTO 3 on Aix o/S
Into tape i have tar files the first one is /casa/immobili , the second one is /casa/giardini by shell i put command :
1) tar -xvf /dev/rmt0
2) mt -f /dev/rmt0 rewind
3) mt -f /dev/rmt0 fsf 1
4) tar -xvf /dev/rmt0
the problem is that i restore always the first file and not second one !!!!
why all this ??????????

Thank in advance !!!!!!!!!!!!!!!

Last edited by tt155; 02-02-2006 at 06:00 PM..
# 2  
Old 02-02-2006
Step 3) mt -f /dev/rmt0n fsf 1
You need the n for no-rewind - if you give it a command, it automatically rewinds (which is why you keep getting the first file)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

2. Shell Programming and Scripting

Restoring problem on tape!

hi all , a messages appeared to me when i was checking my /var/adm/messages and the below code was in it Oct 6 13:15:21 medprod scsi: /pci@3,700000/SUNW,emlxs@0/fp@0,0/st@w21000024ff305234,7 (st1): Oct 6 13:15:21 medprod Restoring tape position at fileno=320,... (5 Replies)
Discussion started by: semaan
5 Replies

3. Hardware

Help with scsi tape drive problem

I've had a scsi hard drive, scsi tape drive, and cd rom working off an adaptec 29160 controller. Everything worked great until a few days ago. I begin getting tar format errors (running sco 5.0.6) on the tape drive and occasionally the entire system would hang up while trying to access data on... (0 Replies)
Discussion started by: powwm
0 Replies

4. AIX

Tape Drive problem

Hi, I'm at AIX 5.3. My EOD program is giving following error while writing to tape: Can't write output cpio: Media Surface error Failed on Shell-script cd /; cpio -ocB 2 >> /autoline/misc/logs/bk.CopyToTape < /autoline/work/BACKUP.01022 1>/dev/rm0 I have tried with several new tapes,... (2 Replies)
Discussion started by: tayyabq8
2 Replies

5. Solaris

external tape drive DAT 72 problem

Hi all, I have solaris 10 sparc running and working very well but i have problem with external SCSI tape drive DAT 72 problem it seems to me the tape drive is manufactured by SUN microsystems when i ran ls -l /dev/rmt/0 it reveals the following output bash-3.00# mt -f /dev/rmt/0... (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies

6. AIX

Tape Drive Problem.

Dear all, I have ultriam3 tape. It is connected my LPAR. I have that the Sl.Nos. and slot number. but run the cfmgr i am not getting the tape drive. I have fired the command lsdev -Cc tape but no reply. how will i configure the tape in LPAR? Please suggest. It is very urgent. (3 Replies)
Discussion started by: pernasivam
3 Replies

7. SCO

Tape drive problem

I replaced a HP Superstore Dat 40 with another HP Superstore Dat 40, but my backupedge software keeps putting up error code 1 (device not found) I have tried reinstaling the drive as DAT Alad stp 0 6 0 0. I'm not a computer expert but willing to have a go. I went into Backupedge to try and format a... (2 Replies)
Discussion started by: James Zwecker
2 Replies

8. UNIX for Dummies Questions & Answers

mkdev tape problem

SCO 5.0.5 Our system hiccuped last week during mkdev tape command. Actually was at the point where it generated a kernel to reflect the new scsi tape I was trying to add and the system appeared to hang and we aborted the process. starting fresh no tape devices defined. run mkdev tape define... (0 Replies)
Discussion started by: sighbrrguy
0 Replies

9. UNIX for Advanced & Expert Users

Problem With Tape Backup in Solaris

Hi, OS: Solaris9, SPARC. Commands (and their outputs) that I use to backup two files of size 4GB and 10GB (respectively) are shown below: # cd /backup/daily/ # mt -f /dev/rmt/0m rew # tar -cvf /dev/rmt/0m * a Mails.bkf 4680454 tape blocks a backup.bkf too large to archive # The... (3 Replies)
Discussion started by: mahatma
3 Replies

10. UNIX for Dummies Questions & Answers

Tape Backup Problem?

Hi. Can someone please tell what the following tape error message means: Read end of medium on output If you want to go on, type device/file name when ready This message comes after the terminal displays a few files from the directory I'm trying to backup. The command I'm running is: ... (1 Reply)
Discussion started by: cstovall
1 Replies
Login or Register to Ask a Question