Amanda-Users

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

2003-07-14 23:13:02
Subject: Re: Rewinding tapeless "tapes": why? error?
From: bao <bao AT gibbons DOT com>
To: Jon LaBadie <jon AT jgcomp DOT com>
Date: Mon, 14 Jul 2003 20:10:27 -0700


"00001.server._home.1" is equivalent to one file on a tape.
You don't rewind one "tape file", you rewind the entire tape.
Your "tapes" are "file1", "file2", ...

However, each should have a directory named "data".
And the incremental dump file you show above should
have been created in that "data" directory.
Hi Jon,

I thought using those "file*" would help simplify the long and complex pathnames. It turned out otherwise. I'm sorry for the misunderstanding. Here are the complete and correct file names.

__changer.conf:
multieject 0
gravity 0
<...snip...>
firstslot 1
lastslot 6

slot 1 file:/Backup/DailySet1
slot 2 file:/Backup/DailySet2
<...snip...>
slot 6 file:/Backup/DailySet6


___disklist:
snook    /Share    incremental    local
snook    /home    incremental    local
<...snip...>


I had tried both ways:

1. "ammt -f /Backup/DailySet1/data/00001.snook._home.1 rewind" gives this error

/Backup/DailySet1/data/00001.snook._home.1 rewind failed: Inappropriate ioctl for device

2. "ammt -f file:/Backup/DailySet1/data/00001.snook._home.1 rewind" gives

file:/Backup/DailySet1/data/00001.snook._home.1 rewind failed: Not a directory


Any ideas??