From: Danny Petterson <danny.petterson () dmsn ! dk>
To: tru64-unix-managers
Subject: SUMMARY: Tru64 5.1/AIT-tape problem
Date: Tue, 23 Apr 2002 12:38:21 +0000 [thread overview]
Message-ID: <102653755322551.tru64-unix-managers.marc@archive.invalid> (raw)
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 <stdio.h>
# include <unistd.h>
# include <fcntl.h>
# include <string.h>
main()
{
int fd;
char data[256]= "<fill data here>";
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.
<Med venlig hilsen>
Danny Petterson Dimension Danmark A/S
System Konsulent danny.petterson@dmsn.dk
Mobil: +45 29486827 Hovednummer: +45 87933600
</Med venlig hilsen>
> -----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 </dev/tape/tape0_d1>; [13] Permission denied
> Whats wrong here?
>
>
>
>
>
> <Med venlig hilsen>
>
> Danny Petterson Dimension A/S
> System Konsulent danny.petterson@dmsn.dk
> Mobil: +45 29486827 Hovednummer: +45 87933600
>
> </Med venlig hilsen>
>
>
reply other threads:[~2002-04-23 12:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox