Amanda-Users

Re: Amanda not backing up Veritas file systems correctly

2004-05-28 03:08:26
Subject: Re: Amanda not backing up Veritas file systems correctly
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Jason.Brooks AT windriver DOT com
Date: Fri, 28 May 2004 09:02:07 +0200
Jason.Brooks AT windriver DOT com wrote:

Actually, I don't have those entries in /etc/vfstab.  I will give that a
try.

For future reference, in order to handle transient filesystems such as this,
it might be better off evaluating the output of "mount" rather than the
filesystem table. Except I can't remember if it gives FS info.

If you have amanda sources around, take a look in the dir "client-src".
There is file name "getfsent.c" which contains the code.
The beginning comment is:
/*
 * You are in a twisty maze of passages, all alike.
 * Geesh.
 */
And that becomes clear when trying to understand the next few lines :-)

To help debugging this, you can compile getfsent into a standalone
program.  Just type "make getfsent" in that directory.
When you run it as "./getfsent" it shows which blocks were defined
in the maze of passages and shows what amanda thinks about each filesystem on the host.


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************