Operating System - HP-UX
1834978 Members
2111 Online
110073 Solutions
New Discussion

HP-Unix B:11 - WRITE FAILED: I/O Error -> Can't open /dev/tty

 
Bokoko
Advisor

HP-Unix B:11 - WRITE FAILED: I/O Error -> Can't open /dev/tty

Hi all!

Would you please find what is wrong with the DDS Tape Driver and the Device : The Backup can't run proprely. It is stopped after +/-4 minutes. The Cleaner Light is still blinking.. Every time, I'm cleaning it, I have the same Error Message.....

The scenario as following :

***** S P E C I F I C B A C K U P *****
Time Started : Fri Jul 19 23:00:01 SADT 2002
Step 1 : Rewind the magnetic tape
(mt ???t /dev/rmt/0m rew)
Step 2 : Backup all under /support environment
( find ./support/1 | cpio -ocvdmu
>/dev/rmt/0m
2>> $list/tape.$$ )
Time Completed : Fri Jul 19 23:04:18 SADT 2002
Status : Error Please Check Contents
Directory : [ /support/]
Contents of Log File:
--------------------
support
support/lost+found
support/1
support/1/.sh_history
support/1/data

write failed: I/O error
Can't open /dev/tty.
===============================================
Contain of Mail Message (command : dmesg)
Event 20
?? Severity: Major Warning
?? Event Summary: Clean Now
?? EventClass: I/O
?? Problem Description: The drive thinks it has a head clog or needs cleaning.
?? Probable Cause / Recommended Action:
The tape drive needs cleaning:
1. If the operation has stopped, eject the tape and clean the drive.
2. If the operation has not stopped, wait for it to finish and then clean the drive.
Check the tape drive users manual for device specific cleaning instructions.
?? Automated Recovery: None
?? Event Generation Threshold: 1 occurrence
?? Fault Notifier Generation Threshold: 1 occurrence
Event Details: None
Event 100776
?? Code:0x24 Qualifier:0x00 Key:0x05 Status:0xXX
?? Device: ALL
?? Severity: SERIOUS
?? Event Summary: Software configuration error
?? Problem Description: The device was unsuccessful in processing the current request message because the message contained an invalid field in the command data block. The request was not processed.
?? Probable Cause / Recommended Action: The error most likely indicates that the device is not fully supported by the current driver. This may or may not cause problem in operation of the device.


Please Assist me,

Best regards,

Engo.


1 REPLY 1
Stefan Farrelly
Honored Contributor

Re: HP-Unix B:11 - WRITE FAILED: I/O Error -> Can't open /dev/tty


If you keep cleaning the drive and still get the same problem then its either the tape or the drive itself. Try using a different (preferably new) tape. If you still have the same problem the drive is probably broken and you will need to call HP to get it replaced.
Im from Palmerston North, New Zealand, but somehow ended up in London...