Amanda-Users

Re: Can't determine disk and mount point from $CWD

2004-03-23 12:22:47
Subject: Re: Can't determine disk and mount point from $CWD
From: "Stefan G. Weichinger" <monitor AT oops.co DOT at>
To: "amanda-users AT amanda DOT org" <amanda-users AT amanda DOT org>
Date: Tue, 23 Mar 2004 18:18:40 +0100
Hi, edwin valencia,

on Dienstag, 23. März 2004 at 17:54 you wrote to amanda-users:

ev> HI..

>>> Hi, edwin

ev>> No index records for disk for specified date
ev>> If date correct, notify system administrator
ev>> any idea,suggestion?

>>> To use the indexes with amrecover, they have to be there.
>>> Check that your dumptypes use the option "index yes".
>>> Verify this by:
>>> amadmin <yourconfig> disklist


ev> [root@servidor-backup restore]# amadmin DailySet1 disklist
ev> line 71:
ev>     host servidor-backup:
ev>         interface default
ev>     disk /boot:
ev>         program "GNUTAR"
ev>         priority 2
ev>         dumpcycle 14
ev>         maxdumps 1
ev>         strategy STANDARD
ev>         compress CLIENT FAST
ev>         comprate 0.50 0.50
ev>         auth BSD
ev>         kencrypt NO
ev>         holdingdisk NO
ev>         record YES
ev>         index YES
ev>         skip-incr NO
ev>         skip-full NO

Was this BEFORE or AFTER editing?

If BEFORE:

There is a index-dir where the index-files should go to.

Check your amanda.conf for something like

indexdir "/usr/adm/amanda/daily/index"

See if there are files generated. Check permissions of dir.

Check sendbackup.*.debug in your amanda-log-dir (usually something
like /tmp/amanda). The generation of the indizes gets logged there.

Like in:

> sendbackup: time 0.197: started index creator: "/bin/tar -tf - 2>/dev/null | 
> sed -e 's/^\.//'"
> sendbackup: time 75.849: index created successfully
> sendbackup: time 75.973:  46:    size(|): Total bytes written: 66344960 
> (63MB, 855kB/s)

-- 
best regards,
Stefan

Stefan G. Weichinger
mailto:monitor AT oops.co DOT at