Problem reading a 4mm tape drive


 
Thread Tools Search this Thread
Operating Systems AIX Problem reading a 4mm tape drive
# 1  
Old 06-02-2006
Problem reading a 4mm tape drive

I'm attempting to read a tape in a 4mm drive (AIX 4.3) using the following command...

Code:
tar tvf /dev/rmt0

...and I keep getting the following error message:

Code:
tar: 0511-193 An error occurred while reading from the media.
There is not enough memory available now.

I've googled this error message and found many sources (including this thread on this site) that indicate it is a problem with the block size on the tape being different from the block size on the drive. However, I've tried changing the block size on the drive to 0 (variable), 512, and 1024, using this command...

Code:
chdev -l rmt0 -a block_size=#

, and nothing is working. When I set the block size to 512 or 1024, the2second line of the error message changes to this:

Code:
tar: 0511-193 An error occurred while reading from the media.
There is an input or output error.

I'm afraid the drive might be broken, but I'm hoping someone might have some other suggestions for me. If I haven't included enough info, let me know.

TIA
# 2  
Old 05-24-2007
I am not an expert but I read 4mm tapes alot. The command I use to read them is
tar -tvf /dev/rmt/0n

Hope this helps.
# 3  
Old 05-24-2007
You can easily find the block size with the following commands.

#Change the block size to variable
chdev -l rmt0 -a block_size=0

#Read one huge block
dd if=/dev/rmt0 of=/tmp/testblock bs=128k count=1

#Find the block size with wc
wc -c /tmp/testblock

And there you have the blocksize.
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. 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

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

4. HP-UX

HP-Unix 64 bit Tape Drive creating problem

Hello All, I have HP Openview storage data protector version 5.5. When I am going to write my backup I have an error message saying "Connot Open Device /dev/rmt/0mn" Follownig is my output: # ls -l /dev/rmt/0mn crw-rw-rw- 2 bin bin 205 0x080140 Jan 17 16:41 /dev/rmt/0mn # uname -a... (2 Replies)
Discussion started by: hellozishan
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. AIX

reading contents on a 4mm tape

I am experimenting with one of my TSM processes, and I am trying to write something to a 4mm tape. I tried to use the tctl command, but, I was unsuccessful. what AiX command can I run in order to see if my output is on the tape ? Thank You ! (0 Replies)
Discussion started by: DATDANGGADUDE
0 Replies

9. AIX

4MM Tape Drive

Hello all, I have just installed an HP dat72 external tape drive to an IBM 275 Intellistation (AIX 5L). It was installed as an Other SCSI Tape Drive (rmt1). I am using the Web Based System Manager at this point to do an initial backup of a journaled file system. I am getting an error and am... (1 Reply)
Discussion started by: joeweisser
1 Replies

10. UNIX for Dummies Questions & Answers

DLT TAPE DRIVE/ Script problem /Ignite.

Thanks for checking in. We have this script that does a backup called Ignite on HP-UX in this script it does everything it supposed to do accept one thing Script ######################################### echo clear cd / echo " Please ensure there is a DLT tape in Slot 6 of the Tape... (2 Replies)
Discussion started by: nemex
2 Replies
Login or Register to Ask a Question