On Friday 23 February 2007, Jean-Louis Martineau wrote:
> This problem is fixed.
> It will use single '_' it it exist, or double '__' if it exist.
> If none exist, it will create with a single '_'.
>
> Jean-louis
>
> Jean-Francois Malouin wrote:
> > Hi,
> >
> > I can't seem to find any info on that post I made a while ago
> > and if any provisions have been made to fix it in 2.5.1p3:
> > The ChangeLog is not specific if this issue has been fixed:
> >
> > It's about diskname containing underscores '_' that under 2.4.x
> > lead to the creation of index files with the '_' doubled, ie for
> > a DLE like (say):
> >
> > myhost home_user /home/user {
> > tar-me-please
> > }
> >
> > the index files would be stuffed in dir $INDEXDIR/myhost/home__user
> >
> > With 2.5.x would amcheck complains (really just a warning) that the
> > index dir $INDEXDIR/myhost/home_user doesn't not exist and would be
> > created on the next run. Same applies to info files. This is obviously
> > a minor issue but could potentially confuse amanda newbies in the
> > event that a recover session is required before a full dumpcycle is
> > completed after the upgrade. OK, I'm lazy, all if have to do is write
> > a little shell script :)
> >
> > regards,
> > jf
I just upgraded my server to amanda 2.5.1p3. I have two DLEs whose labels
include underscores, and both of them get the "index dir doesn't exist --will
create on next run" error.
For both of these DLEs amanda treated them as new disks, doing a level zero
that night, and new index directories were created with single underscores,
even though the old "double underscore" index directories existed. This
wouldn't be a problem, except that now amrecover doesn't seem to be able to
find the old index files, saying that there are no indices for the dates
prior to the 2.5.1 upgrade.
I tried simply copying the old index files to the new, "single underscore"
directories, but this apparently is not sufficient.
What do I need to do to be able to use amrecover on tapes made before the
2.5.1 upgrade?
--
--------------------------------------------------------------
Jeffrey Anderson | jdanderson AT lbl DOT gov
Lawrence Berkeley National Laboratory |
Office: 50A-5104E | Mailstop 50A-5101
Phone: 510 486-4208 | Fax: 510 486-6808
|