Re: Index files not being created
2005-09-13 11:05:49
On Tue, Sep 13, 2005 at 05:40:50PM +1200, Cameron Beattie wrote:
> I am having trouble getting amanda to create index files. I have set index
> to yes in the dumptype. I don't believe there is a permissions problem:
> ls -laF /var/lib/amanda/normal/index/hostname
> drwxr-sr-x 2 amanda disk 4096 Sep 13 16:56 _/
> drwxr-sr-x 4 amanda disk 4096 Sep 13 16:47 ./
> drwxr-xr-x 4 amanda disk 4096 Sep 13 16:24 ../
>
> I have checked the logfiles and they seem fine:
> START driver date 20050913
> DISK planner hostname /
> START planner date 20050913
> WARNING planner tapecycle (3) <= runspercycle (10)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May not have anything to do with your index problem,
but you will take care of this, right? Otherwise
you will be overwriting your only level 0 before
making another one (using the same tape 3 1/3 times
in one dumpcycle is not a good thing.
Come to think of it, are you set up to do
"full backups only". In that case, might the level 0
have been overwritten and thus the index removed.
Doesn't look like it from what you show below, but ...
Only other permissions thing I'd check is the several
directories in the path to the indexdir. Amanda might
need at least x, possibly rx on each component of the
full path.
> FINISH planner date 20050913
> STATS driver startup time 0.387
> START taper datestamp 20050913 label Normal-01 tape 0
> SUCCESS dumper hostname / 20050913 1 [sec 0.149 kb 230 kps 1540.5 orig-kb
> 230]
> SUCCESS taper hostname / 20050913 1 [sec 0.087 kb 230 kps 2639.7 {wr:
> writers 9 rdwait 0.000 wrwait 0.082 filemark 0.002}]
> INFO taper tape Normal-01 kb 288 fm 1 [OK]
> FINISH driver date 20050913 time 35.101
>
> I have the following setup:
>
> /etc/normal/amanda.conf (some entries excluded)
> dumpuser "amanda"
> infofile "/var/lib/amanda/normal/curinfo" # database filename
> logdir "/var/lib/amanda/normal" # log directory
> indexdir "/var/lib/amanda/normal/index" # index directory
> tapelist "/var/lib/amanda/normal/tapelist"
> define dumptype global {
> comment "Global definitions"
> }
> define dumptype root-tar {
> global
> program "GNUTAR"
> comment "root partitions dumped with tar"
> compress none
> index yes
> priority low
> }
>
> /etc/normal/disklist.conf
Is disklist.conf the normal name for disklist on your system/version?
> hostname / {
> root-tar
> include "./etc"
> }
>
> I suspect there's something simple I'm doing wrong. Any advice or help
> would be greatly appreciated.
>
> Regards
>
> Cameron
>
>
>>> End of included message <<<
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|
|
|