Amanda-Users

Re: Rewinding tapeless "tapes": why? error?

2003-07-11 17:27:53
Subject: Re: Rewinding tapeless "tapes": why? error?
From: "Bao Ho" <bao AT gibbons DOT com>
To: <mengel AT fnal DOT gov>
Date: Fri, 11 Jul 2003 14:11:43 -0700
>>
>> That is what I used Paul
>> ammt -f <tape-file> rewind.

> Okay, but if you specified /dev/null as your tapedev in amanda.conf,
> you are *not* using disk-pseudo-tapes; you are simply leaving files
> in your staging area.
>
> If you were using disk-pseudo-tapes, you would have a tapedev of
> "file:/some/directory/name" and "ammt -f file:/some/directory/name rewind"
> would work fine.


Marc,
I don't explicitly specify /dev/null as my tapedev. It defaults to that
value. I followed some instructions
I found from the archive that for tapeless backup, you do not need to
specify tapedev.

I do have these followings:
tpchanger "chg-multi"
changerfile "/.../changer.conf"

the changer.conf has:
multieject 0
gravity 0
<...snip...>
firstslot 1
lastslot 6

slot 1 file:/path/to/tape/file1
slot 2 file:/path/to/tape/file2
<...snip...>


I only did "ammt -f /path/to/tape/file1/00001.server._home.1 rewind"

I tried using "ammt -f file:/path/to/tape/file1/00001.server._home.1 rewind"
as you suggested, and this is the error I got:

file:/path/to/tape/file1/00001.server._home.1 rewind failed: Not a directory


Any other ways I may use??