Sponsored Content
Operating Systems AIX Tape drive problem - no process to read data written to a pipe Post 302400176 by need2bageek on Tuesday 2nd of March 2010 05:40:55 PM
Old 03-02-2010
Tape drive problem - no process to read data written to a pipe

Hi Everyone,

The machine I'm working on is an AIX 5.3 LPAR running on a P650. oslevel -r shows 5300-08. I'm trying to take a backup to a SCSI tape drive, which has been working up until this point. I know of nothing that has changed recently to cause this problem. But when I try to take a backup to the tape drive now I receive this error:

Code:
The file access permissions do not allow the specified action.
/usr/bin/ksh: /tmp/323630devlistfile: 0403-005 Cannot create the specified file.

chkdev: There is no process to read data written to a pipe.

FAILURE: System backup failed to complete.


When I run lsdev | grep rmt0 I receive this output and it says the tape drive is in an available state:
Code:
rmt0       Available 1Z-08-00-0,0  SCSI 4mm Tape Drive

It is incorrect for the SCSI ID to be 0,0? Could that be the problem? I also noticed it says there is a permissions issue writing to /tmp, so I did a chmod 777 /tmp to give it full permissions but that didn't help either.

Please let me know if you have any ideas. I am new to UNIX and I'm not able to find much info on this error message. Also, I cannot call IBM because our support contract has expired.

Thanks

---------- Post updated at 04:40 PM ---------- Previous update was at 10:34 AM ----------

Hi Everyone,

It turns out this is a sysback configuration. When using Sysback (Tivoli TSM for System Backup and Recovery) I receive the error writing to tape. But using dd, tar, and mksysb I am able to write to the tape drive just fine.

If anyone has advice on how to configure a tape drive in Sysback, that would be much appreciated because I can't seem to figure it out. If not, I am going to go the mksysb route.

Thanks

Last edited by Scott; 03-02-2010 at 02:12 PM.. Reason: Please use code tags
 

10 More Discussions You Might Find Interesting

1. AIX

Problem reading a 4mm tape drive

I'm attempting to read a tape in a 4mm drive (AIX 4.3) using the following command... tar tvf /dev/rmt0 ...and I keep getting the following error message: tar: 0511-193 An error occurred while reading from the media. There is not enough memory available now. I've googled this error... (2 Replies)
Discussion started by: tdpearson
2 Replies

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

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

4. UNIX for Advanced & Expert Users

AIX 5.3 - There is no process to read data written to a pipe

I have the following code which works on AIX 4.3 but fails at times on AIX 5.3 with: cat: 0652-054 cannot write to output. There is no process to read data written to a pipe. validator="${validator_exe} ${validator_parms}" cmd_line="${CAT} ${data_file} | ${validator}... (6 Replies)
Discussion started by: vigsgb
6 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

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

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

8. UNIX for Dummies Questions & Answers

No process to read data written to a pipe on AIX

We use SAP application cluster on AIX. Communication between 2 of its instances is failing randomly with the following error: java.net.SocketException: There is no process to read data written to a pipe. The above error causes a cluster restart if an important communication fails. Can... (0 Replies)
Discussion started by: RoshniMehta
0 Replies

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

10. Shell Programming and Scripting

Read pipe data

Hello, I need to read the pipe data as:- cat abc.txt | uuencode abc.txt | mailx -s hi xyz@xyz.com I will override the mailx function so that when mailx is called, it calls my version of maix and in that function I want to read the file which is attached in progional mailx function- abc.txt... (7 Replies)
Discussion started by: shubh05
7 Replies
BACKUP_ADDHOST(8)					       AFS Command Reference						 BACKUP_ADDHOST(8)

NAME
       backup_addhost - Adds a Tape Coordinator entry to the Backup Database

SYNOPSIS
       backup addhost -tapehost <tape machine name>
	   [-portoffset <TC port offset>]
	   [-localauth] [-cell <cell name>] [-help]

       backup addh -t <tape machine name>
	   [-p <TC port offset>]
	   [-l] [-c <cell name>] [-h]

DESCRIPTION
       The backup addhost command creates a Tape Coordinator entry in the Backup Database. The entry records

       o   The host name of the Tape Coordinator machine where the Tape Coordinator (butc) process runs, as specified with the -tapehost argument.

       o   The Tape Coordinator's port offset number, as specified with the -portoffset argument. An entry for the port offset must also appear in
	   the /var/lib/openafs/backup/tapeconfig file on the Tape Coordinator machine, where it is mapped to a UNIX device name (for a tape
	   device) or pathname (for a backup data file).

       Each Tape Coordinator must have its own port offset number, and the command fails if a Backup Database entry already exists for the
       requested port offset number. To display existing Tape Coordinator entries, use the backup listhosts command.

OPTIONS
       -tapehost <tape machine name>
	   Specifies the fully-qualified hostname of the machine for which to create a Tape Coordinator entry in the Backup Database. The machine
	   must have an entry in either the cell's naming service (such as the Domain Name Service) or the host file (/etc/hosts or equivalent) on
	   the machine where the command is issued.

       -portoffset <TC port offset>
	   Specifies the Tape Coordinator's port offset number. Provide an integer from the range 0 through 58510, or omit this argument to use
	   the default value of 0 (zero). The value must match the port offset number recorded for the same combination of Tape Coordinator and
	   tape device or file in the /var/lib/openafs/backup/tapeconfig file on the Tape Coordinator machine named by the -tapehost argument.

       -localauth
	   Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to
	   the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more
	   details, see backup(8).

       -cell <cell name>
	   Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see backup(8).

       -help
	   Prints the online help for this command. All other valid options are ignored.

EXAMPLES
       The following command creates an entry in the Backup Database that assigns port offset number 4 to a Tape Coordinator running on the
       machine "backup1.abc.com":

	  % backup addhost -tapehost backup1.abc.com -portoffset 4

       The following command creates a Backup Database entry that assigns port offset number 0 to a Tape Coordinator on the machine
       "backup3.abc.com":

	  % backup addhost backup3.abc.com

PRIVILEGE REQUIRED
       The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running, or must be logged
       onto a server machine as the local superuser "root" if the -localauth flag is included.

SEE ALSO
       backup(8), backup_delhost(8), backup_listhosts(8)

COPYRIGHT
       IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.

       This documentation is covered by the IBM Public License Version 1.0.  It was converted from HTML to POD by software written by Chas
       Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.

OpenAFS 							    2012-03-26							 BACKUP_ADDHOST(8)
All times are GMT -4. The time now is 02:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy