Amanda-Users

Re: amrestore: could not stat /dev/rmt0.1

2003-01-03 17:30:53
Subject: Re: amrestore: could not stat /dev/rmt0.1
From: "John R. Jackson" <jrj AT purdue DOT edu>
To: David Hayes <david AT bdel DOT com>
Date: Fri, 03 Jan 2003 16:50:15 -0500
>amrestore: could not stat /dev/rmt0.1

That message comes from a pretty simple stat() system call on the tape
device.  Was the drive ready when you did this?  I assume /dev/rmt0.1
was the right device name?

In any case, could you apply the following patch and report what the
error code is (it will now be logged in the same message)?

A quick glance at the 2.4.2 code seems to indicate it's doing the exact
same thing as 2.4.3, so I'm not sure why there would be a problem (not
saying there isn't -- just don't get it yet).

>--david

John R. Jackson, Technical Software Specialist, jrj AT purdue DOT edu

Attachment: stat.diff
Description: stat.diff

<Prev in Thread] Current Thread [Next in Thread>