This thread seesm to have died out.
But I still don't quite see how to solve my restore issues.
Can someone point out the error of my ways here?
Thanks.
----- Forwarded message from stan <stanb AT panix DOT com> -----
From: stan <stanb AT panix DOT com>
To: Paul Bijnens <paul.bijnens AT xplanation DOT com>
Cc: amanda users list <amanda-users AT amanda DOT org>
Subject: Re: Mutliple configs sharing the same indexes
Date: Mon, 24 Apr 2006 15:45:31 -0400
User-Agent: Mutt/1.5.4i
X-Operating-System: Debian GNU/Linux
X-Kernel-Version: 2.4.23
X-Uptime: 15:25:15 up 7 days, 17:04, 1 user, load average: 0.12, 0.20, 0.12
X-Editor: gVim
On Mon, Apr 24, 2006 at 04:09:52PM +0200, Paul Bijnens wrote:
> On 2006-04-24 15:41, stan wrote:
> >
> >amanda@amanda:~$ amgetconf DailyDump indexdir
> >/opt/amanda/var/DailyDump/index
> >amanda@amanda:~$ amgetconf disk_only indexdir
> >/opt/amanda/var/DailyDump/index
> >
> >Yes, that looks OK.
>
> Yup.
>
>
> >>Also have a look in the /tmp/amanda/ directory on the index-server,
> >>and examine the files "amindexd.datetime.debug" for any other
> >>indications. (stupid question: remembering that you had trouble
> >>with DNS: are you 100% sure that "amanda.meadwestvaco.com" is always
> >>the same computer, i.e. DNS has only one IP-number for that host?
> >>Do you find the amindexd.datetime.debug file for each session?)
> >
> >Good memory :-) Or I've made avery public idiot of myself one :-)
> >
> >
> >Well, this is interesting: I do see this:
> >
> >amindexd: < 501 Host amanda.meadwestvaco.com is not in your disklist.
> >When running amrecover using the disk_only config, but disklist is linked
> >to all 3 configs.
>
> But the next line it should try the host "amanda" (without the domain
> part), or isn't it?
>
> Compare the amindex.*.debug files of both sessions: the one with
> "DailyDump" as config and the one with "disk_only" as config.
>
> Where does it start to be different?
>
Here's the diff:
1c1
< amindexd: debug 1 pid 11286 ruid 1001 euid 1001: start at Mon Apr 24 15:29:18
2006
---
> amindexd: debug 1 pid 11288 ruid 1001 euid 1001: start at Mon Apr 24 15:30:56
> 2006
11,12c11,12
< amindexd: > SCNF disk_only
< amindexd: < 200 Config set to disk_only.
---
> amindexd: > SCNF DailyDump
> amindexd: < 200 Config set to DailyDump.
19a20,36
> amindexd: - 2006-04-23 1 DailyDump17 6 -1
> amindexd: - 2006-04-22 1 DailyDump16 39 -1
> amindexd: - 2006-04-21 0 DailyDump15 16 -1
> amindexd: - 2006-04-21 1 DailyDump15 81 -1
> amindexd: - 2006-04-20 1 DailyDump12 60 -1
> amindexd: - 2006-04-19 1 DailyDump11 83 -1
> amindexd: - 2006-04-18 1 DailyDump10 170 -1
> amindexd: - 2006-04-17 1 DailyDump08 472 -1
> amindexd: - 2006-04-15 1 DailyDump08 293 -1
> amindexd: - 2006-04-14 0 DailyDump08 2 -1
> amindexd: - 2006-04-12 1 DailyDump06 233 -1
> amindexd: - 2006-04-11 1 DailyDump06 10 -1
> amindexd: - 2006-04-09 1 DailyDump05 3 -1
> amindexd: - 2006-04-08 1 DailyDump04 111 -1
> amindexd: - 2006-04-07 0 DailyDump03 152 -1
> amindexd: - 2006-04-06 1 DailyDump02 1 -1
> amindexd: - 2006-04-05 1 DailyDump01 18 -1
21a39,55
> amindexd: - 2006-04-23 1 DailyDump17 6 -1
> amindexd: - 2006-04-22 1 DailyDump16 39 -1
> amindexd: - 2006-04-21 0 DailyDump15 16 -1
> amindexd: - 2006-04-21 1 DailyDump15 81 -1
> amindexd: - 2006-04-20 1 DailyDump12 60 -1
> amindexd: - 2006-04-19 1 DailyDump11 83 -1
> amindexd: - 2006-04-18 1 DailyDump10 170 -1
> amindexd: - 2006-04-17 1 DailyDump08 472 -1
> amindexd: - 2006-04-15 1 DailyDump08 293 -1
> amindexd: - 2006-04-14 0 DailyDump08 2 -1
> amindexd: - 2006-04-12 1 DailyDump06 233 -1
> amindexd: - 2006-04-11 1 DailyDump06 10 -1
> amindexd: - 2006-04-09 1 DailyDump05 3 -1
> amindexd: - 2006-04-08 1 DailyDump04 111 -1
> amindexd: - 2006-04-07 0 DailyDump03 152 -1
> amindexd: - 2006-04-06 1 DailyDump02 1 -1
> amindexd: - 2006-04-05 1 DailyDump01 18 -1
24c58,91
< amindexd: < 500 No dumps available on or before date "2006-04-24"
---
> amindexd: uncompress command: /bin/gzip -dc
> '/opt/amanda/var/DailyDump/index/amanda/_/20060423_1.gz' 2>/dev/null | sort >
> '/opt/amanda/var/DailyDump/index/amanda/_/20060423_1'
> amindexd: f /opt/amanda/var/DailyDump/index/amanda/_/20060423_1
> amindexd: < 200 "/" is a valid directory
> amindexd: > OLSD /
> amindexd: uncompress command: /bin/gzip -dc
> '/opt/amanda/var/DailyDump/index/amanda/_/20060421_0.gz' 2>/dev/null | sort >
> '/opt/amanda/var/DailyDump/index/amanda/_/20060421_0'
> amindexd: < 200- Opaque list of /
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /bin/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /boot/
> amindexd: < 201- 2006-04-21 0 DailyDump15:16 16 /cdrom
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /data_backups/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /debootstrap/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /dev/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /dumpdisk/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /etc/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /home/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /initrd/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /lib/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /lib32/
> amindexd: < 201- 2006-04-21 0 DailyDump15:16 16 /lib64
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /media/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /mnt/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /opt/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /proc/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /restore/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /root/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /sbin/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /srv/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /sys/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /usr/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /var/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /vtapes/
> amindexd: < 200 Opaque list of /
26c93,109
< amindexd: < 500 No dumps available on or before date "2006-04-24"
---
> amindexd: f /opt/amanda/var/DailyDump/index/amanda/_/20060423_1
> amindexd: < 200 "/tmp" is a valid directory
> amindexd: > OLSD /tmp
> amindexd: < 200- Opaque list of /tmp
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/.ICE-unix/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/.X0-lock
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/.X11-unix/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/.esd-1000/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/amanda/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/gconfd-root/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/gconfd-stan/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/keyring-ABj16P/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/orbit-root/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/orbit-stan/
> amindexd: < 201- 2006-04-23 1 DailyDump17:6 6 /tmp/ssh-tuCDI12001/
> amindexd: < 200 Opaque list of /tmp
27a111,112
> amindexd: removing index file:
> /opt/amanda/var/DailyDump/index/amanda/_/20060421_0
> amindexd: removing index file:
> /opt/amanda/var/DailyDump/index/amanda/_/20060423_1
29c114
< amindexd: pid 11286 finish time Mon Apr 24 15:29:28 2006
---
> amindexd: pid 11288 finish time Mon Apr 24 15:31:03 2006
I'm thninking changere issues?
Here's whats in teh dailyDmp amanda.conf for that:
Amd for disk_only:
changerfile "/opt/amanda/etc/disk_only/chg-multi.conf"
But these have to be differnt don't they?
DailyDump ahs lines in it like:
slot 1 rait:{file:/vtapes/DailyDump/vtape1,tape:/dev/nst0}
slot 2 rait:{file:/vtapes/DailyDump/vtape2,tape:/dev/nst0}
and disk_only has lines like:
slot 1 file:/vtapes/DailyDump/vtape1
slot 2 file:/vtapes/DailyDump/vtape2
Other than that, they are identical.
--
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong
Terror
- New York Times 9/3/1967
----- End forwarded message -----
--
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong
Terror
- New York Times 9/3/1967
|