Re: newb: getting started
2004-10-14 18:10:58
--On Thursday, October 14, 2004 16:25:01 -0500 Erik Anderson <erikerik AT gmail
DOT com> wrote:
> On Tue, 12 Oct 2004 18:20:37 -0500, Frank Smith <fsmith AT hoovers DOT com>
> wrote:
>> Next step would be getting your changer working without Amanda. If you
>> are going to use mtx make sure you can load, unload and move tapes with
>> that before starting on Amanda.
>
> Hello Frank, and thanks for the advice. I'm working through the
> Amanda chapter, and it's starting to make more and more sense. In the
> meantime, I'm trying to get my head around mtx. I've been able to
> successfully load a tape and check the status of the media changer,
> but I'm not able to unload tapes. I read in the mtx man page that I
> may need to do a "mt offline" before unloading tapes, but whenever I
> do that, I get the following error:
>
> lpdlnx00 etc # mt -f /dev/sg2 offline
> /dev/sg2: Operation not permitted
I think you're using the wrong device. The SCSI generic (sg) device
driver has no knowledge of tape commands like rewind and offline. You
need to use something like /dev/mt0, and need to have scsi tape support
in your kernel (either builtin or a module) or the /dev/mt devices
won't be created.
Frank
>
> Here's what the changer currently looks like:
>
> lpdlnx00 etc # mtx -f /dev/sg1 status
> Storage Changer /dev/sg1:1 Drives, 6 Slots ( 0 Import/Export )
> Data Transfer Element 0:Full (Storage Element 1 Loaded)
> Storage Element 1:Empty
> Storage Element 2:Full
> Storage Element 3:Full
> Storage Element 4:Full
> Storage Element 5:Full
> Storage Element 6:Full
>
> Any ideas? Thanks in advance!
--
Frank Smith fsmith AT hoovers DOT com
Sr. Systems Administrator Voice: 512-374-4673
Hoover's Online Fax: 512-374-4501
|
|
|