Re: Can't open tape device /dev/nst0
2008-08-06 19:53:49
On Wed, Aug 6, 2008 at 7:32 PM, Vectorz Sigma <vectorz3 AT gmail DOT com> wrote:
> I downgraded to Amanda 2.5.2p1 and it gave me a better clue when running
> amlabel. Basically it said /dev/nst0 = permission denied. I've been
> running the amlabel command as amandabackup but didn't realize you need to
> give permissions to the /dev/nst0 device (which was 750 perms and owned by
> root:root). I chmod'd to 777 to test and that fixed the problem.
>
> Is it a known deal that we're supposed to change permission on the tape dev
> name?
The device should have the group 'disk' (or equivalent), and
amandabackup should be in that group.
However, it's definitely a bug to not report that as "permission
denied", so I'll take a look. Thanks for chasing this down.
Dustin
--
Storage Software Engineer
http://www.zmanda.com
|
|
|