Amanda-Users

Re: Can't open tape device /dev/nst0

2008-08-06 11:36:58
Subject: Re: Can't open tape device /dev/nst0
From: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
To: "Vectorz Sigma" <vectorz3 AT gmail DOT com>
Date: Wed, 6 Aug 2008 11:31:09 -0400
On Wed, Aug 6, 2008 at 11:00 AM, Vectorz Sigma <vectorz3 AT gmail DOT com> 
wrote:
> Doyle, thanks for the tip but I got errors when trying it without the
> "tape:" in the string.   I forgot to mention that I'm using 2.6.0p1

The tape: thing is not the issue here -- the code that writes the
deprecation warning adds the prefix, and things go merriliy on.  So
the error is, in particular:

> Can't open tape device /dev/nst0: Bad file descriptor
> amlabel: Could not open device /dev/nst0.

Which basically amounts to: "the kernel said there was an error."  So
the next step is to ask the kernel -- check in dmesg, access the
device using dd or mt, and so on.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com