Amanda-Users

RE: mounting/identifying a new tape drive

2005-02-03 15:08:51
Subject: RE: mounting/identifying a new tape drive
From: "Gil Naveh" <gnaveh AT cleverex DOT com>
To: "Brian Cuttler" <brian AT wadsworth DOT org>, "Eric Siegerman" <erics AT telepres DOT com>
Date: Thu, 3 Feb 2005 15:02:36 -0500
Great,
Thanks much for the help :)

According to the manufacture I have to add in the file st.conf the tape
device configuration and then reboot -r.
But do I realy have to reboot -r? or does typing "devfsadm -c tape" would be
enough?

After modifying the file dt.conf according to manufacture spec
I tried:
> rm -f /dev/rmt/*
> devfsadm -c tape
but I don't think it identified the new tape drive...
>mt -f /dev/rmt/0n
I got:
>/dev/rmt/0n: no tape loaded or drive offline

Rebooting the server is a little painful - users has to logout etc.

Thx,
gil


-----Original Message-----
From: owner-amanda-users AT amanda DOT org
[mailto:owner-amanda-users AT amanda DOT org]On Behalf Of Brian Cuttler
Sent: Thursday, February 03, 2005 1:34 PM
To: Eric Siegerman
Cc: Amanda-Users
Subject: Re: mounting/identifying a new tape drive


On Thu, Feb 03, 2005 at 01:18:44PM -0500, Eric Siegerman wrote:
> On Thu, Feb 03, 2005 at 12:47:34PM -0500, Jon LaBadie wrote:
> >   rm -f /dev/rmt/*
> >   devfsadm -c tape
>
> Does that do (the tape-related subset of) the same thing as a
> reconfiguration boot, i.e. with "-r"?


Eric,

I believe that "-C -c" tape does the equiv of -r on reboot but only
for tape devices. -c for create, -C for cleanup.

> --
>
> |  | /\
> |-_|/  >   Eric Siegerman, Toronto, Ont.        erics AT telepres DOT com
> |  |  /
> The animal that coils in a circle is the serpent; that's why so
> many cults and myths of the serpent exist, because it's hard to
> represent the return of the sun by the coiling of a hippopotamus.
>       - Umberto Eco, "Foucault's Pendulum"
---
   Brian R Cuttler                 brian.cuttler AT wadsworth DOT org
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773