Re: OT: Hitting block size limitation on LTO4 drive

2009-12-21 Thread Dustin J. Mitchell
The kernel often prints the block limits when it first initializes the st driver: st2: Block limits 2 - 16777214 bytes. st0: Block limits 1 - 65024 bytes. what does yours say? Dustin -- Open Source Storage Engineer http://www.zmanda.com

Re: Fwd: The Coyote Den AMANDA MAIL REPORT FOR December 20, 2009

2009-12-20 Thread Dustin J. Mitchell
On Sun, Dec 20, 2009 at 12:19 PM, Gene Heskett gene.hesk...@verizon.net wrote: Side question: In doing some cleanup of much older stuff in the various libdirs, I see some old stuff that hasn't been touched since mid-summer or even last year, so I assume its older code and is no longer used.  It

Re: Fwd: The Coyote Den AMANDA MAIL REPORT FOR December 20, 2009

2009-12-20 Thread Dustin J. Mitchell
On Sun, Dec 20, 2009 at 2:15 PM, Gene Heskett gene.hesk...@verizon.net wrote: lrwxrwxrwx 1 root root      18 2009-03-12 21:59 libamxfer.so.0 - libamxfer.so.0.0.0 -rwxr-xr-x 1 root root  115522 2009-03-12 21:59 libamxfer.so.0.0.0 Kill 'em. lrwxrwxrwx 1 root root      18 2009-10-22 00:18

Re: The Coyote Den AMANDA MAIL REPORT FOR December 19, 2009

2009-12-19 Thread Dustin J. Mitchell
On Sat, Dec 19, 2009 at 4:00 PM, Gene Heskett gene.hesk...@verizon.net wrote: I'm used to seeing reports that 'shop' failed, the ups on that box is dropping it in the middle of the night in this cold weather.  But this apparently used every timeout it had, in series. Maybe your switch failed?

Re: new amanda build problem on Min t8, 64 bit

2009-12-15 Thread Dustin J. Mitchell
On Tue, Dec 15, 2009 at 1:14 PM, Gene Heskett gene.hesk...@verizon.net wrote: Unforch, when I try to run, as amanda, my gh.cf script, it errors out at the end before doing the make, with a message indicating glib is either miss- installed, or is too old.  It is 2.22.2 IIRC.  I took some pix, 2

Re: new amanda build problem on Min t8, 64 bit

2009-12-15 Thread Dustin J. Mitchell
On Tue, Dec 15, 2009 at 2:02 PM, Gene Heskett gene.hesk...@verizon.net wrote: You could paste them into an email.. or did I miss something that makes that impossible? They are about 1.5 megs each, new Nikon L100 camera, 10 mega-pixel sensor, big pix. Ordinarily, you would just copy the text

plea for help: chio + chg-robot

2009-12-14 Thread Dustin J. Mitchell
A user on IRC asked me about support for chio, the FreeBSD equivalent to mtx. I know Amanda has chg-chio, but for some reason this wasn't working well. This particular user didn't hang around long enough to get things working, but it did remind me that chg-robot doesn't support chio, since I

Re: plea for help: chio + chg-robot

2009-12-14 Thread Dustin J. Mitchell
On Mon, Dec 14, 2009 at 3:13 PM, Aaron J. Grier agr...@poofygoof.com wrote: I've worked on chg-chio a bit under NetBSD to drive my adic scalar 448 DLT changer.  it has a barcode scanner, but I've never bothered to configure it since amanda's normal access pattern is sequential.  it sounds like

Re: Reset amanda

2009-12-10 Thread Dustin J. Mitchell
On Thu, Dec 10, 2009 at 7:00 AM, Thomas Wegner thomasweg...@gmx.net wrote: How can I reset amanda to clear all vtapes and start at zero? Easiest is just to delete everything - vtapes, curinfo, logfiles, indexes, etc. - and go Dustin -- Open Source Storage Engineer http://www.zmanda.com

Re: Windows client and Amanda user on server

2009-12-10 Thread Dustin J. Mitchell
On Thu, Dec 10, 2009 at 10:01 AM, stan st...@panix.com wrote: BTW I copied the logfile.txt to one of my *NIX machines, and I was ging to send t, but it seems to not be a text file. What;s the storry here? Windows text = UTF-16 with some kind of non-unicode encoding. It's an ASCII superset, to

Re: Windows client and Amanda user on server

2009-12-10 Thread Dustin J. Mitchell
On Thu, Dec 10, 2009 at 12:13 PM, stan st...@panix.com wrote: Interesting I learned (soemthing else I don't like about Windows). I have been doing some more googling. Can any assure me that someone  has made a windows client work, after chnaging the backup user from amandabackup? Yes, I've

Re: Amanda README Draft; Request for comments

2009-12-08 Thread Dustin J. Mitchell
On Tue, Dec 8, 2009 at 12:22 PM, Charles Curley charlescur...@charlescurley.com wrote: The copyright notice is U of M through 1998. How are subsequent contributions licensed? I conjecture under the same terms, but as this is a legal question I thought I should ask. For this file, a minimal UMD

Re: Amanda README Draft; Request for comments

2009-12-08 Thread Dustin J. Mitchell
As for the README itself (sorry to double-post) - Device API section should mention the new DVDRW device :) - the software to copy to removable media isn't external - amvault does that :) - you might also want to mention #amanda on Freenode Other than that, and others' comments on

Re: Tape drive not working.

2009-12-08 Thread Dustin J. Mitchell
On Tue, Dec 8, 2009 at 1:17 PM, David Gutierrez david.gutier...@maxim-ic.com wrote: # mtx -f /dev/sg13 inquiry Product Type: Unknown The system doesn't seem to think this is a tape robot. Do you have the right sg##? Dustin -- Open Source Storage Engineer http://www.zmanda.com

Re: post-host-backup script not executed on client

2009-12-07 Thread Dustin J. Mitchell
On Sun, Dec 6, 2009 at 2:21 PM, Jean-Louis Martineau martin...@zmanda.com wrote: After your hint I took a closer look at running (pre|post)-host-backup on the server. It seems that(pre|post)-host-backup gets executed for each DLE which is not exactly what I need. Set the script for only one

Re: post-host-backup script not executed on client

2009-12-07 Thread Dustin J. Mitchell
On Mon, Dec 7, 2009 at 1:19 PM, Brian Cuttler br...@wadsworth.org wrote: I may have missed the boat, but why not have a smarter script. You should be able to write code that when run remotely by ssh (or rsh or...) that can tell what the current host is and perhaps 'do nothing' if its not the

Re: Amanda's README

2009-12-07 Thread Dustin J. Mitchell
On Mon, Dec 7, 2009 at 2:17 PM, Charles Curley charlescur...@charlescurley.com wrote: I see you just checked in some changes; do you have anything else in mind? I'll read it over and make some notes. A bunch of changes just hit the tree (about 50% of the directtcp support -- allowing Amanda

Amanda's README

2009-12-06 Thread Dustin J. Mitchell
I just noticed that Amanda's README file is a bit out of date, since github displays the README on the project's main page (http://github.com/zmanda/amanda/). The file lists some less-than-modern features, such as being able to schedule during single-user mode on time-sharing systems, and in

Re: full dumps not getting timestamp

2009-12-03 Thread Dustin J. Mitchell
On Thu, Dec 3, 2009 at 12:07 PM, flow...@hagsc.org wrote: This is likely an issue for any machine whose libc does not support the j length. We use the formatting functionality provided by glib, which promises to support 'j'. It does this by testing the implementation in the C library, and

Re: post-host-backup script not executed on client

2009-12-03 Thread Dustin J. Mitchell
On Thu, Dec 3, 2009 at 12:22 PM, Jean-Louis Martineau martin...@zmanda.com wrote: pre-host-backup and post-host-backup can't be executed on client, they can be executed on the server only.  execute-where server Is that on the wiki? Shouldn't Ben's config produce an error, then? Dustin --

Re: full dumps not getting timestamp

2009-12-03 Thread Dustin J. Mitchell
On Thu, Dec 3, 2009 at 1:01 PM, flow...@hagsc.org wrote: /* #undef HAVE_GOOD_PRINTF */ which would seem to imply it's using the system printf, as you'd suggested.  I suppose I could toggle that and recompile glib to fix the problem as well. No, that means it's using the bundled printf.

Re: full dumps not getting timestamp

2009-12-03 Thread Dustin J. Mitchell
On Thu, Dec 3, 2009 at 2:29 PM, flow...@hagsc.org wrote: Ah, mistake on my part - this is indeed an old library, and was compiled on an earlier machine running Solaris 7, which I no longer have access to. It's quite possible the config.h created at that point was different from what I'm

Re: amfetchdump: Chunk out of order

2009-12-01 Thread Dustin J. Mitchell
On Tue, Dec 1, 2009 at 2:08 PM, Jean-Francois Malouin ma...@bic.mni.mcgill.ca wrote: I'm testing a DLE restore (it spans 2 tapes) with amfetchdump on a server running 2.6.1p1, a thing I do once in while and it's the first time I see this: amfetchdump is requesting the tapes in the wrong order

Re: amcheck vs amrestore

2009-11-30 Thread Dustin J. Mitchell
On Mon, Nov 30, 2009 at 1:59 PM, Brian Cuttler br...@wadsworth.org wrote: Periodically while I'm performing a restore with # amrestore the cronjob # amcheck grabs and swaps out the tape on me. Is there a way to interlock these two jobs so that doesn't happen ? For my money, I guess, amcheck

Re: Trouble with new Client

2009-11-29 Thread Dustin J. Mitchell
On Sun, Nov 29, 2009 at 7:15 AM, Thomas Wegner thomasweg...@gmx.net wrote: I wonder where I have to add those lines? I've added it in /var/lib/.amamdahosts, /var/backups/.amandahosts which is a symbolic link to /etc/amandahosts. The error messages are still the same. What can I do? I suspect

Re: Trouble with new Client

2009-11-29 Thread Dustin J. Mitchell
On Sun, Nov 29, 2009 at 9:57 AM, Dustin J. Mitchell dus...@zmanda.com wrote: I suspect you're adding it to the right file, but in the wrong format.  It needs to be $server_fqdn amdump where $server_fqdn is the hostname Amanda gets when it does a reverse DNS lookup of the server's IP address

Re: Can you remind Amanda of holding file(s)?

2009-11-24 Thread Dustin J. Mitchell
On Tue, Nov 24, 2009 at 1:59 PM, Mike Chesnut mi...@aggregateknowledge.com wrote: However, doing amadmin config holding list only lists the first one (20091121). What's in the directory it's not finding? Do the headers on those files look OK? Can you post the output of a find -ls on both

Re: Can you remind Amanda of holding file(s)?

2009-11-24 Thread Dustin J. Mitchell
On Tue, Nov 24, 2009 at 4:25 PM, Mike Chesnut mi...@aggregateknowledge.com wrote: It looked like running amcleanup after making this change resulted in the holding directories getting renamed accordingly, though (e.g., from 20091121 to 20091121180002). Would that change have caused this

Re: backup very hit or miss

2009-11-18 Thread Dustin J. Mitchell
On Wed, Nov 18, 2009 at 2:50 PM, Brian Cuttler br...@wadsworth.org wrote: The backup of this particular DLE is pretty much hit or miss, it'll run great for a week and then fail for a week, I haven't been able to disern a pattern nor reason. It looks like a timeout of some sort. Have you

Re: backup very hit or miss

2009-11-18 Thread Dustin J. Mitchell
On Wed, Nov 18, 2009 at 3:06 PM, Brian Cuttler br...@wadsworth.org wrote: Other than etimeout, what knobs do I have it 2.4.4 ? I would think dtimeout would be the knob to tweak. I have no idea if that was present in 2.4.4 though. How did your talk go ? Well attendance ? Interesting questions

Re: IPv6 support (was Re: chg-disk question)

2009-11-17 Thread Dustin J. Mitchell
On Sun, Nov 15, 2009 at 10:39 PM, Gene Heskett gene.hesk...@verizon.net wrote: Someday, all this ipv6 stuff will need to work.  But this is probably not the list to ask how to do it on. Yeah -- there's nothing to worry about regarding Amanda. Dustin -- Open Source Storage Engineer

Re: chg-disk question

2009-11-13 Thread Dustin J. Mitchell
On Fri, Nov 13, 2009 at 11:42 AM, Gene Heskett gene.hesk...@verizon.net wrote: tpchanger       chg-disk      # deprecated, use amanda_changer now. #amanda_changer chg-disk It seems to be working, but I wonder when it was that I added that comment? Which is it supposed to be for future

Re: chg-disk question

2009-11-13 Thread Dustin J. Mitchell
On Fri, Nov 13, 2009 at 2:39 PM, Gene Heskett gene.hesk...@verizon.net wrote: Maybe, but there is nowhere near enough info in that to allow the un-assisted configuration of all that define amanda_changer {}.  I saw someplace where I should create a set of slot# directories in the

Re: chg-disk question

2009-11-13 Thread Dustin J. Mitchell
On Fri, Nov 13, 2009 at 9:52 PM, Gene Heskett gene.hesk...@verizon.net wrote: Explain why my amanda.config says the option I'm using is deprecated? That's not in the example configurations, so I assume that you wrote it. A google for the phrase use amanda_changer now only turns up references to

Re: LISA'09 Events

2009-11-04 Thread Dustin J. Mitchell
On Fri, Oct 30, 2009 at 8:22 PM, Dustin J. Mitchell dus...@zmanda.com wrote: I'd also like to host an Amanda BoF, which can work any of three ways: 1. A general what the heck is Amanda and how can it be useful? session (this is what LISA'08's BoF was). 2. An Amanda troubleshooting session. 3

Re: glob include behavior change ?

2009-11-02 Thread Dustin J. Mitchell
On Mon, Nov 2, 2009 at 4:48 PM, Jean-Louis Martineau martin...@zmanda.com wrote: The attached should fix the Too many open files problem. Can you try it and tell me the result. Looks good to me, once Brian confirms it fixes the problem. Dustin -- Open Source Storage Engineer

Re: [Amanda-users] Nagios Check for running services

2009-11-01 Thread Dustin J. Mitchell
On Sat, Oct 31, 2009 at 10:33 PM, valerium amanda-fo...@backupcentral.com wrote: You could try something like this: /usr/lib64/nagios/plugins/check_udp -H localhost -p 10080 -w 5 -c 60 -s Amanda 2.5 REQ HANDLE 000- SEQ 0 -e Amanda 2.5 NAK HANDLE 000- SEQ 0 This might not

Re: [Amanda-users] Nagios Check for running services

2009-11-01 Thread Dustin J. Mitchell
On Sun, Nov 1, 2009 at 6:14 PM, Chris Hoogendyk hoogen...@bio.umass.edu wrote: Pardon me if this is a naive question, but -- What, exactly, would something like nagios have to offer? Amanda doesn't run as a daemon. So there's no need to check and see that it is still running. Typically, amcheck

Re: LISA'09 Events

2009-10-31 Thread Dustin J. Mitchell
On Sat, Oct 31, 2009 at 12:47 AM, Jon LaBadie j...@jgcomp.com wrote: Good chance I will be man'ing the Linux User Group's booth (tux.org) on Wednesday until about 2 or 3PM. Cool -- I'll check it out! Dustin -- Open Source Storage Engineer http://www.zmanda.com

LISA'09 Events

2009-10-30 Thread Dustin J. Mitchell
Will you be at LISA'09? I will! It's in Baltimore, and falls just a week before I move from Annapolis back to Chicago, so I couldn't say no! Nick Brockner and I will be presenting a Guru is In session on Amanda at 2pm on Thursday the 5th. It'd be great to hear from other Amanda users and

Re: FAILED No new tape.

2009-10-25 Thread Dustin J. Mitchell
On Sun, Oct 25, 2009 at 6:33 AM, Johan Booysen jo...@matrix-data.co.uk wrote: I would really appreciate some advice on how to troubleshoot this problem. 1256320978.957231: taper: putresult: 18 NEW-TAPE 1256321083.042522: taper: putresult: 10 FAILED It looks like the taper ran for about 105s

Re: amrecover not working with write-protected tapes

2009-10-23 Thread Dustin J. Mitchell
On Fri, Oct 23, 2009 at 9:37 AM, Ian Crorie i...@macs.hw.ac.uk wrote: I've not been able to find this in mailing list archives.   Thanks in advance for any help. This has been fixed in trunk. Here's the patch: http://github.com/djmitche/amanda/commit/c3548dc511152bfacf1b53abb7e452fc7161e2f8

Re: read only error on amrestore

2009-10-23 Thread Dustin J. Mitchell
On Fri, Oct 23, 2009 at 11:01 AM, Christopher chris...@pricegrabber.com wrote: I'm running amanda 2.6.1p1 on a rhel 5.4 server.  I am trying to restore some files from a ~2 year old archive backup.  Since it is an archive backup I have the write protect tab closed on the physical tape.  When I

Re: amrecover not working with write-protected tapes

2009-10-23 Thread Dustin J. Mitchell
On Fri, Oct 23, 2009 at 11:45 AM, Christopher chris...@pricegrabber.com wrote: I pulled out a amanda 2.5.0p2 amrestore binary and it does not have the same bug. That was from before the Device API. This is a bug in the tape device, which didn't expect EROFS (instead of the

Re: packet too large

2009-10-21 Thread Dustin J. Mitchell
On Wed, Oct 21, 2009 at 3:29 PM, Brian Cuttler br...@wadsworth.org wrote: We hit the problem of the TCP packet being too large with amanda 2.6.1p1, though this threat indicates a fix at 2.5.2. http://forums.zmanda.com/showthread.php?t=1005 Is the problem corrected or does 2.6.1 require a

Re: Fwd: Amreport xml examples

2009-10-21 Thread Dustin J. Mitchell
On Wed, Oct 21, 2009 at 5:07 PM, Stefan G. Weichinger s...@amanda.org wrote: Maybe I am offtopic with my thoughts? Nope, those are precisely the right thoughts. What Paul's looking for is to make sure that you could build a tool to get the status you're looking for from the XML his tool

Re: TCP Tuning

2009-10-20 Thread Dustin J. Mitchell
On Tue, Oct 20, 2009 at 1:42 PM, Alan Griffiths ap_griffi...@hotmail.com wrote: Unfortunately it does not result in the backup running any faster. I will have a look at hacking amandad.c as you suggest. My fallback option is to NFS mount the directories on the backup server. Would prefer to not

Re: TCP Tuning

2009-10-20 Thread Dustin J. Mitchell
On Tue, Oct 20, 2009 at 11:58 AM, Alan Griffiths ap_griffi...@hotmail.com wrote: dumper: try_socksize: send buffer size is 524288 But backups are running no faster and I cannot see any indication on the client of the buffer size being used. Note: client also has the new binaries. In older

Re: Fwd: Amreport xml examples

2009-10-20 Thread Dustin J. Mitchell
I'm curious whether anyone is post-processing either trace logs or amreport output to generate statistics, and if so, if this XML report gives you the information you need. Dustin -- Open Source Storage Engineer http://www.zmanda.com

Re: TCP Tuning

2009-10-19 Thread Dustin J. Mitchell
On Mon, Oct 19, 2009 at 5:33 AM, Alan Griffiths ap_griffi...@hotmail.com wrote: Is there a way to modify the size of the TCP buffers used by AMANDA? I am trying to improve performance over a relatively high latency link and this seems to be the only way. It's a source constant, unfortunately,

Re: Another oddity from Gene

2009-10-19 Thread Dustin J. Mitchell
On Mon, Oct 19, 2009 at 10:34 AM, Gene Heskett gene.hesk...@verizon.net wrote: I'll try that, but IIRC if the dir is empty, ls still returns a linefeed. brb. Nope, tried with !='' and !='\n', with almost the same result, the diff being that now the error message on the console is minus the

Re: Another oddity from Gene

2009-10-19 Thread Dustin J. Mitchell
On Mon, Oct 19, 2009 at 8:05 AM, Gene Heskett gene.hesk...@verizon.net wrote:        if [`/bin/ls /dumps`]; then   line 173 This can be a bit tricky in portable shell, but maybe this is closer to what you want: if [ `/bin/ls /dumps` != '' ] Dustin -- Open Source Storage Engineer

Re: amcheck hangs

2009-10-16 Thread Dustin J. Mitchell
On Fri, Oct 16, 2009 at 2:44 AM, Stefan G. Weichinger s...@amanda.org wrote: posted there as well: The admin there noticed that the time/date was off for one hour ... set it via ntpdate and from then everything worked without a problem. I can't explain ... anyone? Were the hangs more

Re: amcheck hangs

2009-10-13 Thread Dustin J. Mitchell
On Tue, Oct 13, 2009 at 11:06 AM, Stefan G. Weichinger s...@amanda.org wrote: kernel, hardware, application? Could someone help us to read those messages above? Smells like hardware, hmm? Or kernel, yes. I'm not sure what hung for more than 120 seconds means -- no syscalls for 120s? Check

Re: Problems with 2.6.1 p1

2009-10-07 Thread Dustin J. Mitchell
On Sat, Oct 3, 2009 at 3:29 PM, Sebastian Henrich s...@gmx.de wrote: I was able to fix the file not founds by adding -p1 during patching. Now I get the following output: I'm sorry, I should have looked more closely -- the only hunk that failed here was ChangeLog, which isn't a problem. The

Re: Backup leve tonight

2009-10-06 Thread Dustin J. Mitchell
On Tue, Oct 6, 2009 at 10:08 AM, McGraw, Robert P rmcg...@purdue.edu wrote: Is there a command that will tell me what backup level will run tonight on the different DLE? No - that would require running the planner and soliciting estimates for all DLEs, which would be a lengthy process. Dustin

Re: I don't think amreporter is fixed yet

2009-10-05 Thread Dustin J. Mitchell
On Mon, Oct 5, 2009 at 11:01 PM, Gene Heskett gene.hesk...@verizon.net wrote: Now, I realize that when amdump calls it, it has knowledge of the logfiles full name, but ISTR it used to be hand runnable with nothing more than an su amanda -c amreport Daily and it would do the most recent

Re: The Coyote Den AMANDA MAIL REPORT FOR BogusMonth 0, 0

2009-10-04 Thread Dustin J. Mitchell
On Sat, Oct 3, 2009 at 10:26 AM, Gene Heskett gene.hesk...@verizon.net wrote: Good, hopefully another snapshot today?  I just dbl-checked: [r...@coyote GenesAmandaHelper-0.6]# su amanda -c amreport Daily no output spectified, nothing to do No, no fix yet -- it's reviewed and should get

Re: The Coyote Den AMANDA MAIL REPORT FOR BogusMonth 0, 0

2009-10-03 Thread Dustin J. Mitchell
On Fri, Oct 2, 2009 at 11:49 PM, Gene Heskett gene.hesk...@verizon.net wrote: I just grabbed the 2.6.2alpha-20091002 snapshot, and its about halfway thru a test backup, and isn't bailing out, so the suid or whatever problem it was having on linux appears to be fixed. Great - thanks! Paul's

Re: Problems with 2.6.1 p1

2009-10-02 Thread Dustin J. Mitchell
Interesting! Your hypothesis is close, but: open(/dev/nst0l, O_RDWR|O_LARGEFILE) = -1 ENOMEDIUM (No medium found) write(1, MESSAGE Can\'t open tape device /..., 64) = 64 write(1, DEVICE_ERROR\n, 13) = 13 the open call itself is returning ENOMEDIUM, rather than the subsequent ioctl.

Re: Problems with 2.6.1 p1

2009-10-02 Thread Dustin J. Mitchell
On Fri, Oct 2, 2009 at 12:55 PM, Sebastian Henrich s...@gmx.de wrote: I'm unable to find this build rule. My config/amanda/tape.m4 ends at line 187. I greped through the whole amanda 2.6.1p1 source and the string DEFAULT_TAPE_NON_BLOCKING_OPEN is never found. I downloaded amanda-2.6.1p1.tar.gz

Re: user amanda on server, user backup on client, access denied to ama...@coyote.coyote.den

2009-10-01 Thread Dustin J. Mitchell
On Thu, Oct 1, 2009 at 12:49 AM, Gene Heskett gene.hesk...@verizon.net wrote: This is how it came out of the deb packages.  I assume it worked, for *buntu's. So the problem now is how to specify that while the amanda user is named amanda on this box, the amanda user is named backup on that box.

Re: user amanda on server, user backup on client, access denied to ama...@coyote.coyote.den

2009-10-01 Thread Dustin J. Mitchell
So what failed when you ran the backup with your regular configuration? Amanda shouldn't have any problem with this -- usernames on the client are, more or less, isolated from usernames on the server. The only interaction is in .amandahosts, which must list the server-side username. Dustin --

Re: Problems with 2.6.1 p1

2009-10-01 Thread Dustin J. Mitchell
On Thu, Oct 1, 2009 at 11:44 AM, Sebastian Henrich s...@gmx.de wrote: 1. If I call amcleanup or amstatus the following error is returned: Can't exec -eo: Datei oder Verzeichnis nicht gefunden at /usr/lib/perl5/vendor_perl/5.8.8/Amanda/Process.pm line 177.  -eo pid,ppid,command: Datei oder

Re: user amanda on server, user backup on client, access denied to ama...@coyote.coyote.den

2009-10-01 Thread Dustin J. Mitchell
On Thu, Oct 1, 2009 at 12:20 PM, Gene Heskett gene.hesk...@verizon.net wrote: Many many thanks for the hint, but it was confusing that it was the Shop:/home/amanda/.amandahosts file I fixed, and not the Shop:/home/backup/.amandahosts. Presumably backup's home directory (in /etc/passwd) is

Re: Problems with 2.6.1 p1

2009-10-01 Thread Dustin J. Mitchell
On Thu, Oct 1, 2009 at 4:40 PM, Sebastian Henrich s...@gmx.de wrote: The path /var/lib/amanda/gnutar-lists exists and amanda is the owner. Inside the directory there is only a file called servlnx01.sebhen.lan_home_1.new Hmm -- did it run out of space during the first run? You're probably

Re: Problems with 2.6.1 p1

2009-10-01 Thread Dustin J. Mitchell
On Thu, Oct 1, 2009 at 4:24 PM, Sebastian Henrich s...@gmx.de wrote: As I can see /usr/lib/perl5/vendor_perl/5.8.8/Amanda/Process.pm imports the Constants from /usr/lib/perl5/vendor_perl/5.8.8/Amanda/Constants.pm. Line 83 of Constants.pm looks like $PS = . After replacing it with $PS = ps

Re: Problems with 2.6.1 p1

2009-10-01 Thread Dustin J. Mitchell
On Thu, Oct 1, 2009 at 5:10 PM, Sebastian Henrich s...@gmx.de wrote: At the moment I'm taking a deeper look at chg-manual. When I call amdevcheck test (test is my amanda config) with a tape inserted I get SUCCESS back. If I run amdevcheck without a tape nothing happens. I expected to get

Re: The Coyote Den AMANDA MAIL REPORT FOR BogusMonth 0, 0

2009-09-30 Thread Dustin J. Mitchell
On Wed, Sep 30, 2009 at 12:06 AM, Gene Heskett gene.hesk...@verizon.net wrote: How am I supposed to be able to run it from a cron launched script if somebody has to be there to Press enter when ready? This issue of interactivity has been a sore spot for a while now, with no good solution. As

Re: user amanda on server, user backup on client, access denied to ama...@coyote.coyote.den

2009-09-30 Thread Dustin J. Mitchell
On Wed, Sep 30, 2009 at 10:46 PM, Gene Heskett gene.hesk...@verizon.net wrote: I just nuked the amanda install, then re-installed on that box, so now everything is as user:group=root:root except the runtar related stuffs. I'm so confused -- is this related to the permissions work we've been

Re: The Coyote Den AMANDA MAIL REPORT FOR BogusMonth 0, 0

2009-09-29 Thread Dustin J. Mitchell
On Fri, Sep 25, 2009 at 4:41 PM, Gene Heskett gene.hesk...@verizon.net wrote: Ok, I'll be watching the (e)mailbox. :) OK, revision 2148 should have fixed this, and should be in last night's snapshot. I'm sorry it took so long -- it was a simple fix :) Dustin -- Open Source Storage Engineer

Re: Backup issues with OpenBSD 4.5 machines

2009-09-29 Thread Dustin J. Mitchell
On Mon, Sep 28, 2009 at 9:42 PM, Nathan Stratton Treadway natha...@ontko.com wrote: As you say, having this extra call shouldn't really hurt anything, but I wondering if it would make sense to tweak the #ifdef so that is possible to compile Amanda on OpenBSD without having to include the

Re: Backup issues with OpenBSD 4.5 machines

2009-09-29 Thread Dustin J. Mitchell
On Tue, Sep 29, 2009 at 12:55 PM, Michael Burk bur...@gmail.com wrote: I added the following lines to util.c as a temporary fix: #define DATA_FD_COUNT   3               /* number of general-use pipes */ #define DATA_FD_OFFSET  50 I ran three test backups, and each succeeded: - forced full,

Re: Backup issues with OpenBSD 4.5 machines

2009-09-29 Thread Dustin J. Mitchell
On Tue, Sep 29, 2009 at 3:10 PM, Dustin J. Mitchell dus...@zmanda.com wrote: Thanks!  I'll fix up the compile problem -- not sure how it worked for me :) Duh, it worked for me because I'm not running OpenBSD.. Anyway, fixed in r2149. Thanks to everyone on this 100+-message thread! Dustin

Re: Amanda Source IP ?

2009-09-28 Thread Dustin J. Mitchell
On Sun, Sep 27, 2009 at 10:36 PM, Jason Frisvold f...@godshell.com wrote:        Is there a way to set the IP to use within Amanda?  If so, can someone point me in the right direction?  I'm currently running Amanda 2.5.1, though I'm looking to move to 2.6.1 soon. No, at the moment there is no

Re: OpenBSD build without server

2009-09-28 Thread Dustin J. Mitchell
On Fri, Sep 25, 2009 at 4:38 PM, Michael Burk bur...@gmail.com wrote: I hope you have recovered from your shock regarding threads on OpenBSD  ;-) Actually, I've been away on vacation, but thanks :) Here's an idea for a partial fix; I have no idea how easy or difficult it would be. Until

Re: hard coded limit REP_TIMEOUT of 6hrs in amandad-src/amandad.c

2009-09-28 Thread Dustin J. Mitchell
On Sat, Sep 26, 2009 at 1:06 PM, Jean-Francois Malouin ma...@bic.mni.mcgill.ca wrote: exactly 6 hours after amanda started its run. Is there a timeout on the client side as well? Client is at 2.5.2p1. I think that the timeout is bidirectional. Dustin -- Open Source Storage Engineer

Re: Backup issues with OpenBSD 4.5 machines

2009-09-28 Thread Dustin J. Mitchell
On Mon, Sep 28, 2009 at 1:48 PM, Dustin J. Mitchell dus...@zmanda.com wrote: Option 1 would be temporary -- eventually, I would like to be able to use threads on clients, to support compression and encryption, for example.  Option 1 is also harder than it sounds -- futzing with the build

Re: Backup issues with OpenBSD 4.5 machines

2009-09-28 Thread Dustin J. Mitchell
OK, I have a more in-depth summary of exactly what's going on here, and why the fcntl() calls fix it. The good news: we've stumbled on a pretty stable fix for this problem. As background, the Amanda client operates something like this: amandad is invoked by (x)inetd or some other mechanism

Re: The Coyote Den AMANDA MAIL REPORT FOR BogusMonth 0, 0

2009-09-25 Thread Dustin J. Mitchell
On Fri, Sep 25, 2009 at 10:23 AM, Gene Heskett gene.hesk...@verizon.net wrote: This was yesterdays 20090924 snapshot, so this is not fixed yet.  Amcheck however is happy as a clam. We've all been on vacation for the last week, so again, I'm not surprised it's still broken :) I'll let you know

Re: tar dump of zfs file system

2009-09-24 Thread Dustin J. Mitchell
On Wed, Sep 23, 2009 at 2:48 PM, Brian Cuttler br...@wadsworth.org wrote: I'm wondering, since we are using tar, if the --one-file-system switch is respected or if its trying to backups /export/home when I specify a DLE of /export. We've seen problems with --one-file-system in certain versions

Re: timeouts

2009-09-24 Thread Dustin J. Mitchell
On Mon, Sep 21, 2009 at 12:50 PM, Brian Cuttler br...@wadsworth.org wrote: We have, er, 60+ DLE on the client, finsen, I don't know why we get dumper retries or estimate timeouts, and the badly formatted response is new behavior. Are you using BSD or BSDUDP? Those can both run into limits on

Re: very slow amcheck

2009-09-24 Thread Dustin J. Mitchell
On Wed, Sep 23, 2009 at 9:19 AM, stan st...@panix.com wrote: We are in the process of making a number of significant changes to our internal network. At the moment, an amcheck on 52 machines, which ultimately reports no problems, is taking over 6 minutes. Historically, when no machines were

Re: amcheck gets permission denied error

2009-09-24 Thread Dustin J. Mitchell
On Mon, Sep 21, 2009 at 2:03 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: Amdump also succeeded. But we can't to be expected to add the backup user to _all_ groups, right? Tar should be running via the setuid script, runtar, so it should have root privs to back up anything. The

Re: format error in request packet

2009-09-24 Thread Dustin J. Mitchell
On Mon, Sep 21, 2009 at 3:59 PM, Brian Cuttler br...@wadsworth.org wrote: ERROR: finsen: [FORMAT ERROR IN REQUEST PACKET Error on line 1 char 62794: Document ended unexpectedly inside an element name] Yep, that's a lot of bytes to fit in a UDP datagram! Dustin -- Open Source Storage

Re: [Amanda-users] Using amanda with Superloader 3 changer (SAS/LTO4)

2009-09-24 Thread Dustin J. Mitchell
On Wed, Sep 23, 2009 at 11:55 AM, Matt Webster amanda-fo...@backupcentral.com wrote: It appears the problem is the Superloader/SCSI interface is sending a SG_ERR_CAT_RESET. I have just put a work around into mtx scsi command to wait for 5 mins if receives this status, and then ignore it. We

Re: Allocation issues

2009-09-24 Thread Dustin J. Mitchell
On Wed, Sep 23, 2009 at 10:16 AM, Charles Curley charlescur...@charlescurley.com wrote:  dzur.localdomain     /home  lev 0  FAILED [dump to tape failed]  taper: FATAL tape...@616: memory allocation failed (1073741824 bytes  requested) taper: FATAL writer: Syncpipe failure before start You're

Re: Amanda didn't start over again on the next tape if the end of one tape is reached

2009-09-24 Thread Dustin J. Mitchell
On Thu, Sep 17, 2009 at 4:08 AM, Dominik Schips domi...@s235.de wrote: The error message in the amanda status report is: dump to tape failed: driver: [writing file: No space left on device] Can you attach the trace log so we can see what happened after that? And also the taper's debug log.

Re: Allocation issues

2009-09-24 Thread Dustin J. Mitchell
On Thu, Sep 24, 2009 at 11:22 AM, Charles Curley charlescur...@charlescurley.com wrote: Thanks. Since this is running on a fit-PC 1.0 (http://www.fit-pc.com/fit-pc1/fit-pc-1-0-specifications.html), with 229 MB of physical memory and 760 MB of swap, I reduced the two splitsize values, from 3 Gb

Re: very slow amcheck

2009-09-24 Thread Dustin J. Mitchell
On Thu, Sep 24, 2009 at 10:44 AM, stan st...@panix.com wrote: That's sort of the point. I need to be able to docment the brain damage that is being done to the network :-) If it's still TCP then the best thoughts I have are to look at ARP and DNS resolution times. Has a resolver been removed

Re: Backup issues with OpenBSD 4.5 machines

2009-09-09 Thread Dustin J. Mitchell
On Tue, Sep 8, 2009 at 10:20 PM, Nathan Stratton Treadwaynatha...@ontko.com wrote: At that time the discussion was focused on common-src/stream.c, which hadn't changed significantly between those versions, but it would be interesting to know if there were any changes in the sendbackup code

Re: Backup issues with OpenBSD 4.5 machines

2009-09-09 Thread Dustin J. Mitchell
On Wed, Sep 9, 2009 at 11:57 AM, Michael Burkbur...@gmail.com wrote: Hi Dustin - one question before I post on the OpenBSD list. In reviewing a post Stan made a couple weeks ago to the OpenBSD list, someone asked if Amanda uses pthreads. I noticed that ldd reports that the binaries link to

Re: hard coded limit REP_TIMEOUT of 6hrs in amandad-src/amandad.c

2009-09-08 Thread Dustin J. Mitchell
On Tue, Sep 8, 2009 at 12:03 PM, Jean-Francois Malouinma...@bic.mni.mcgill.ca wrote: Hmmm, more than a week now and no replies. So I'll attempt to fix it myself: just to be on the safe side, any adverse effect to just bump up REP_TIMEOUT to, say 10hrs? Sorry, I thought I replied, but what I

Re: Backup issues with OpenBSD 4.5 machines

2009-09-08 Thread Dustin J. Mitchell
On Tue, Sep 8, 2009 at 11:45 AM, Michael Burkbur...@gmail.com wrote: Thanks Dustin. Attached are the gory details. What about the amandad logfile? Dustin -- Open Source Storage Engineer http://www.zmanda.com

Re: Backup issues with OpenBSD 4.5 machines

2009-09-08 Thread Dustin J. Mitchell
On Tue, Sep 8, 2009 at 12:42 PM, Michael Burkbur...@gmail.com wrote: Sorry - here they are. OK, I don't see anything funny there. I think it's finally time to take this to the OpenBSD list and see if they can find anything in this wilderness. It might help to provide a pointer to the archive

Re: Trouble in paradise! amanda-2.6.2alpha-20090904 is broken for the user amanda

2009-09-07 Thread Dustin J. Mitchell
On Sun, Sep 6, 2009 at 10:49 PM, Gene Heskettgene.hesk...@verizon.net wrote: FWIW, 2.6.2alpha-20090905 is similarly broken.  Back to 0831, which worked fine last night. Yes, well, it will remain broken until I fix it ;) This had slipped my mind over the weekend, but I'll work on it now.

Re: Trouble in paradise! amanda-2.6.2alpha-20090904 is broken for the user amanda

2009-09-05 Thread Dustin J. Mitchell
On Fri, Sep 4, 2009 at 10:34 PM, Gene Heskettgene.hesk...@verizon.net wrote: /usr/local/etc/amanda/Daily/amanda.conf wasn't touched by the install.  So I will re-install the 0831 version, this one seems to have a buglet. And of course it is the labor day weekend here in the states.  Murphy is

Re: Backup issues with OpenBSD 4.5 machines

2009-09-05 Thread Dustin J. Mitchell
OK, sorry for the delay. Attached is a patch, also at http://github.com/djmitche/amanda/commit/435ed5a820819188578df4a8a730a6b084a9f29f.patch which adds a whole bunch of debugging. I'd like to hear how this works, and to see the sendbackup and amandad debug log files. This should elucidate

Re: Backup issues with OpenBSD 4.5 machines

2009-09-04 Thread Dustin J. Mitchell
Attached is a test program I just put together which does about what Jean-Louis specified above (with the addition of some closed fd's). This works fine on my mac, which is the closest approximation to OpenBSD I have access to at the moment. How does it work on 4.5? The file-descriptor

Re: Backup issues with OpenBSD 4.5 machines

2009-09-04 Thread Dustin J. Mitchell
On Fri, Sep 4, 2009 at 4:57 PM, Michael Burkbur...@gmail.com wrote: Thanks again for your help. Here's the output of the test prog: Looks just like it does locally. If the test had managed to reproduce this failure, then I would have expected to see write: Resource temporarily unavailable

<    1   2   3   4   5   6   7   8   9   10   >