From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653755322551.tru64-unix-managers.marc@archive.invalid> From: Danny Petterson Date: Tue, 23 Apr 2002 12:38:21 +0000 To: tru64-unix-managers Subject: SUMMARY: Tru64 5.1/AIT-tape problem X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653755322551 First of all, as usual thanx a LOT to everybody who responded...you know who you are (I hope ;-) Anyway, it turned out to be a hardware-problem, but a lot of interessting stuff was suggested: 1. Run this program when the tape is rewinded - it'll tell you if the drive is accessable: # include # include # include # include main() { int fd; char data[256]= ""; fd = open ("/dev/tape/tape0_d1", O_RDWR); if (fd == -1) { printf ("%s", strerror (errno)); // Here you may come to know why open fails exit(0); } if (write (fd, data,strlen (data)) == -1) { printf ("%s", strerror (errno)); // Here you may come to know why write fails exit(0); } } 2. Remember to use mt status, vdump with the -D option, trying with other tools like tar, cpio etc., reseting the SCSI-bus with drivepower off/on, or try to use the drive with the SCU-utility. Danny Petterson Dimension Danmark A/S System Konsulent danny.petterson@dmsn.dk Mobil: +45 29486827 Hovednummer: +45 87933600 > -----Oprindelig meddelelse----- > Fra: Danny Petterson > Sendt: 10. april 2002 11:35 > Til: tru64-unix-managers@ornl.gov > Emne: Tru64 5.1/AIT-tape problem > > Hi Managers! > This is with out a doubt an easy one......my AIT-drive has stopped > working.....an example: > #mt offline > #mt online > #mt rewind > # vdump 0u /usr > vdump: can't open dev ; [13] Permission denied > Whats wrong here? > > > > > > > > Danny Petterson Dimension A/S > System Konsulent danny.petterson@dmsn.dk > Mobil: +45 29486827 Hovednummer: +45 87933600 > > > >