Amanda-Users

Re: Backing up via NFS.

2003-12-16 18:10:02
Subject: Re: Backing up via NFS.
From: "Ken D'Ambrosio" <kend AT xanoptix DOT com>
To: "Dan L. Ostrom" <dostrom AT umich DOT edu>
Date: Tue, 16 Dec 2003 18:07:25 -0500
Dan L. Ostrom wrote:

I was then able to do an amcheck, and it succeeded. Doing an amdump still fails however. Looking into the log file (sendsize.-----.debug) it indicated that amdump is not receiving the size information (presumably from sendsize module)
that it needs to complete the tar.

Well, it looks like you'll have better luck than me. In my poking around to find out what the answer to my issue was, I may have bumped into the answer to yours: "On SunOS 4.1.3, HP/UX and possibly other systems, GNU tar 1.12 will report incorrect output sizes, because printf does not understand '%llu'."

The above is from http://www.amanda.org/patches, and has the patches to fix same. Note that there are also some issues with GNU tar 1.13, which are also addressed.

-Ken

It is bewildering that amcheck works, but amdump would fail, but then amanda was written to have clients out there, so this is a little beyond it's scope. I am not a C programmer, but I am going to continue to *hack* at this
to try and get it to work.

If anyone else out there has already solved this problem, please by
all means send the fix. I really don't need to re-invent the wheel

        Thanks.

At 09:15 AM 12/16/2003, Ken D'Ambrosio wrote:

pll+amanda AT permabit DOT com wrote:

> Try using GnuTar for your dump program instead. Running 'dump' over an NFS
> mount if it ever works, is likely to be frought with problems.

Hey, Paul: yah; I'm already using tar instead of dump.

> To compile amanda, you may well need to install a bunch of things like gcc,
> automake/autoconf, etc.

Yeah. It's actually the libraries, etc., that're giving me the most grief. Guess it's time to hunker down and just get 'em all.

> The other option might be attempting to cross-compile for HPUX from Linux,
> since Linux has all the necessary tools to begin with.

True 'nuff, but I wouldn't know where to begin. Think I'll take the "compile, darn you" approach. Assuming I get it to work, is there anywhere that I should put the binaries and/or patches/HOWTO for public consumption?

-Ken

P.S. I should explicitly thank Eric Schnoebelen as the guy who was kind enough to send me the patches for Amanda under HP/UX. Thus far, I've seen nothing wrong with them, but rather with my "development" suite (ha!) under HP/UX. See
http://www.google.com/search?q=Amanda+HP%2FUX for the dialog.




############################################################
# Dan L. Ostrom | IT Contract Services # # Systems Administrator III | (734) 647-5664 (voice) # # University of Michigan | (734) 670-4001 pager) #
# Ann Arbor Michigan           |  (734) 763-4050 (fax)     #
#  48109                       |                           #
############################################################



<Prev in Thread] Current Thread [Next in Thread>