Re: Question about hw compression and tapetype def.
Hi I didnt know about dtimeouts, I will try ... Thanks On Mon, 14 Oct 2002, Jon LaBadie wrote: > On Mon, Oct 14, 2002 at 10:20:18AM +0200, jordivi wrote: > > Hi > > > > My backups fails using soft compression on large disks, using > > tar or dump + gzip I get things like: > > --- > > FAILURE AND STRANGE DUMP SUMMARY: > > server1 /disk1 lev 0 FAILED [input: Can't read data: : Connection timed >out] > > server1 /disk1 lev 0 FAILED [dump to tape failed] > > > > > Have you tried increasing your timeout settings in amanda.conf. > I have one system that takes so long (damn M$!!) I had to triple > or quadruple mine. [...] > That's why fudge factors are called that, fudge. It is a sticky problem. Salutacions Jordi --- EOF
dumper produces a gpf
Hi - Sep 4 11:36:09 gurb kernel: general protection fault: Sep 4 11:36:09 gurb kernel: CPU:0 Sep 4 11:36:09 gurb kernel: EIP:0010:[del_timer+51/59] Sep 4 11:36:09 gurb kernel: EFLAGS: 00010086 Sep 4 11:36:09 gurb kernel: eax: 0001 ebx: 0246 ecx: cdf67f24 edx: c0217668 Sep 4 11:36:09 gurb kernel: esi: 00ec4500 edi: 000a ebp: cdf67f0c esp: cdf67f0c Sep 4 11:36:09 gurb kernel: ds: 0018 es: 0018 ss: 0018 Sep 4 11:36:09 gurb kernel: Process dumper (pid: 10950, process nr: 53, stackpage=cdf67000) Sep 4 11:36:09 gurb kernel: Stack: cdf67f38 c0111294 cdf67f24 cdf67f24 0200 Sep 4 11:36:09 gurb kernel:00ec4500 cdf66000 c0110f04 c012e480 0004 0029 000a Sep 4 11:36:09 gurb kernel:c46faea8 0104 000a cdf66000 0002bf20 c6c0e000 c012e927 Sep 4 11:36:09 gurb kernel: Call Trace: [schedule_timeout+108/134] [process_timeout+0/15] [do_select+154/529] [sys_select+816/1134] [sys_write+214/248] [system_call+52/56] [startup_32+43/285] Sep 4 11:36:09 gurb kernel: Code: 9d 8b 5d fc 89 ec 5d c3 55 89 e5 83 ec 14 56 53 89 c3 81 fb What should I do? amanda is 2.4.2p2 linux is 2.2.14-5.0 (RedHat 6.2) Jordi
driver: FATAL schedule line 8: syntax error
Hi What is this error and how can i fix it?. Some windows shares destroy completely the amanda run, nothing gets backed up. -- >From amanda Subject: AMANDA MAIL REPORT *** THE DUMPS DID NOT FINISH PROPERLY! FAILURE AND STRANGE DUMP SUMMARY: (First, real off-line boxes) smbhost //user-A/profiles lev 0 FAILED [disk //user-A/profiles offline on gurb?] smbhost //user-A/docs lev 0 FAILED [disk //user-A/docs offline on gurb?] smbhost //user-B/profiles lev 0 FAILED [disk //user-B/profiles offline on gurb?] [...] > driver: FATAL schedule line 8: syntax error smbhost //user-C/docs RESULTS MISSING smbhost //user-C/profiles RESULTS MISSING [...] DUMP SUMMARY: DUMPER STATSTAPER STATS HOST DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -- - smbhost -user-C/docs MISSING -- smbhost //user-C/profilesMISSING -- smbhost //user-B/profiles 0 FAILED --- smbhost -user-B/profiles MISSING -- [...] --- /path/to/logs/Config/amdump.1 shows: [.] GENERATING SCHEDULE: smbhost //user-10/profiles 11936 0 1970:1:1:0:0:0 1170215 39007 smbhost //user-11/profiles 11936 0 1970:1:1:0:0:0 123845 4128 smbhost //user-12/profiles 11936 0 1970:1:1:0:0:0 116645 3888 smbhost //user-10/docs 11935 0 1970:1:1:0:0:0 1501145 50038 smbhost //user-10/ftp 11935 0 1970:1:1:0:0:0 122396 4079 smbhost //user-11/docs 11935 0 1970:1:1:0:0:0 136 4 smbhost //user-13/docs 11935 0 1970:1:1:0:0:0 63 2 >smbhost //user-14/docs 11935 0 1970:1:1:0:0:0 0 0 1634944303 >smbhost //user-15/docs 11935 0 1970:1:1:0:0:0 0 0 1634944303 >smbhost //user-16/docs 11935 0 1970:1:1:0:0:0 0 0 1634944303 >smbhost //user-17/docs 11935 0 1970:1:1:0:0:0 0 0 1634944303 >smbhost //user-18/docs 11935 0 1970:1:1:0:0:0 0 0 1634944303 >smbhost //user-19/docs 11935 0 1970:1:1:0:0:0 0 0 1634944303 >smbhost //user-20/docs 11935 0 1970:1:1:0:0:0 0 0 1634944303 >smbhost //user-21/docs 11935 0 1970:1:1:0:0:0 0 0 1634944303 >smbhost //user-22/docs 11935 0 1970:1:1:0:0:0 0 0 1634944303 >smbhost //user-C/docs 11935 0 1970:1:1:0:0:0 0 0 1634944303 server3 /data 10 0 1970:1:1:0:0:0 3656758 3141 1 2002:8:28:12:42:26 132885 4429 linux2 /export 10 0 1970:1:1:0:0:0 135435 116 1 2002:8:28:9:30:1 14870 495 server3 /export/home/oracle/backup 10 0 1970:1:1:0:0:0 26649 21 1 2002:8:28:9:28:57 9025 300 smbhost //cgrau/profiles 9 0 1970:1:1:0:0:0 688582 1593 1 2002:8:28:12:16:41 182052 6068 smbhost //user-18/profiles 9 0 1970:1:1:0:0:0 530446 823 1 2002:8:28:12:3:19 135537 4517 driver: schedule line 8: syntax error [...] Lines 8-17 in schedule shows extrange data at the end (0 0 1634944303). Removing these disks in the disklist is the only way to backup the others disks. I run amanda-2.4.2p2, smbclient is 2.2.4, I use a wrapper for smbclient to display a winpopup in the clients, so users have the chance to close outlook (to backup their oulook.ps file). Ideas? Jordi
tapedev=otherhost:/dev/nst0 ?
Hi Can I build amanda server in a host without tape and use some other host tapes? The goal is to save the tapeserver (the machine that has the tape device) from CPU load when using "compression best" Just like "tar cf otherhost:/dev/nst0 /disk2dump" Regards
How to write a wrapper for GNUtar (or smbclient)
Hi I want to write a wrapper (if there is no better solution) to inform windows users that they will be backed up so they have a chance to close its databases, mainly (MS-Outlook .pst files) The idea is that with a disklist file like .. smb-server //workstation1/documents smb-server //workstation2/documents smb-server //workstation3/documents smb-server //workstation4/documents I want to be able to send a popup windows (via smbclient -M) to inform user of workstationN he has to close its applications (then sleep some seconds) and another popup when finished. - Warn workstation1 user ; sleep 10 - run this station backup - Inform user he can continue working - Repeat for every machine. Have somebody did this? Any ideas? Jordi
amrecover, cannot use "cd A windows dir with spaces"
Hello amrecover interface seems to be unable to cd to dirs with spaces in its names, I tried quotes, backslashes ... Any suggestion? add command with wildcards work fine. Other question, can I recover directly to clients (windows) or must I recover to a tmp dir then share it and copy from win client? Regards
Re: tapedev=otherhost:/dev/nst0 ?
Thank for your reply I know the "client best" option but it dont fit my needs. The clients are Windowses, and I have a spare Linux not in production to carry the load compression. On Fri, 8 Mar 2002, Joshua Baker-LePain wrote: > > Can I build amanda server in a host without tape and use some other > > host tapes? > > > > The goal is to save the tapeserver (the machine that has the tape device) > > from CPU load when using "compression best" > > > Why not just use "compress client best"? That makes the clients do the > compression, not the tape server.
tapedev=otherhost:/dev/nst0 ?
Hi Can I build amanda server in a host without tape and use some other host tapes? The goal is to save the tapeserver (the machine that has the tape device) from CPU load when using "compression best" Just like "tar cf otherhost:/dev/nst0 /disk2dump" Regards
SUMMARY: amrecover: did not get a reserved port: 50059
Thanks: John Dalbec, Jason Thomas It worked! I comented the lines in stream.c and amrecover goes fine. Regards, On Wed, 6 Mar 2002, John Dalbec wrote: > This is fixed in CVS. The following patch fixed the problem for me, > but YMMV. In particular, if your firewall is picky about source ports > for outgoing connections, it won't help you. Note that this is *not* > the patch in CVS; OTOH it only affects one file rather than two. It > also brings the behavior of --with-portrange in line with the comments > in the configure file. (With this patch, the --with-portrange option > only affects server ports (that listen for connections), rather than > also affecting client ports (that initiate connections).) > John > > --- amanda-2.4.2p2/common-src/stream.c.orig Tue Feb 27 19:53:16 2001 > +++ amanda-2.4.2p2/common-src/stream.c Tue Dec 18 15:41:55 2001 > @@ -214,10 +214,12 @@ > * to get the desired port, and to make sure we return a port that > * is within the range it requires. > */ > +/* > #ifdef PORTRANGE > if (bind_portrange(client_socket, &claddr, PORTRANGE) == 0) > goto out; > #endif > +*/ > > if (bind_portrange(client_socket, &claddr, 512, IPPORT_RESERVED - 1) == 0) > goto out; > > Jason Thomas wrote: > > > > amrecover is broken it does this to me as well, and someone else also > > reported this problem. > > > > just do your recover manually. use 'dd' > > > > On Wed, Mar 06, 2002 at 01:56:58PM +0100, Jordi Vidal wrote: > > > Hi > > > I cant use amrecover, it fails with a port problem: > > > > > > -- > > > [root@tapeserver /root]# /usr/local/amanda/sbin/amrecover Test-CFG > > > AMRECOVER Version 2.4.2p2. Contacting server on tapeserver ... > > > amrecover: did not get a reserved port: 50059 > > > -- > > > > > > It is the same machine client and server. I compiled amanda with: > > > > > > ./configure --prefix=/usr/local/amanda > > > --with-user=amanda > > > --with-group=disk > > > --with-portrange=5,50100 > > > --with-udpportrange=512,520 > > > > > > (BTW: Was udpportrange < 1024 a stupid setting?) >
driver: FATAL schedule line 4: syntax error
Hi "amcheck Test-SMB" works fine, but when I do de amdump I got an empy schedule. I'ved run amclenup and rm over log/tapelist/amdump files and reset to 0 the tapelist This is the report: == *** THE DUMPS DID NOT FINISH PROPERLY! These dumps were to tape Test-SMB-001. The next tape Amanda expects to use is: a new tape. FAILURE AND STRANGE DUMP SUMMARY: driver: FATAL schedule line 4: syntax error bck.wtrans //amartinez/documentos RESULTS MISSING bck.wtrans //amartinez/amartinez RESULTS MISSING bck.wtrans /rack1/SHARE/bck RESULTS MISSING servidor.w /dades RESULTS MISSING STATISTICS: Total Full Daily Estimate Time (hrs:min)0:00 Run Time (hrs:min) 0:00 Dump Time (hrs:min)0:00 0:00 0:00 [... 0% 0% .. ine snipped .. ] NOTES: planner: Adding new disk bck.wtransnet.net://amartinez/documentos. planner: Adding new disk bck.wtransnet.net://amartinez/amartinez. planner: Adding new disk bck.wtransnet.net:/rack1/SHARE/bck. planner: Adding new disk servidor.wtransnet.net:/dades. taper: tape Test-SMB-001 kb 0 fm 0 [OK] DUMP SUMMARY: DUMPER STATSTAPER STATS HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -- - bck.wtransne -/amartinez MISSING -- bck.wtransne -documentos MISSING -- bck.wtransne -/SHARE/bck MISSING -- servidor.wtr /dadesMISSING -- === DiskList:=== # Windows shareds bck.wtransnet.net //amartinez/documentos my-dump bck.wtransnet.net //amartinez/amartinez my-dump # Linux servers bck.wtransnet.net /rack1/SHARE/bck my-dump servidor.wtransnet.net /dades my-dump
access as amanda not allowed
Hi I've just build amanda, when I run amdump for testing ("record no" in cfg") I got the following error in the log: "ERROR [access as amanda not allowed from [EMAIL PROTECTED]] amandahostsauth failed" I've cheched as far as I can but no clues, what's going wrong? The file /home/amanda/.amandahosts is: + bck.mydomain.com amanda + bckamanda + localhost amanda Its owned by "amanda disk", 640 permissions My disklist: bck /rack1/bck Mydump My cfg is: - org "My Organization" mailto "[EMAIL PROTECTED]" dumpuser "amanda" inparallel 4 netusage 600 Kbps dumpcycle 4 weeks runspercycle 20 tapecycle 25 tapes bumpsize 20 Mb bumpdays 1 bumpmult 4 etimeout 300 dtimeout 1800 ctimeout 30 tapebufs 20 runtapes 1 tapedev "/dev/nst0" tapetype HP-T20e labelstr "^Diaria1-[0-9][0-9]*$" holdingdisk hd1 { directory "/var/cache/amanda" use 1000 Mb } infofile "/home/amanda/log/Diaria1/curinfo" logdir "/home/amanda/log/Diaria1" indexdir "/home/amanda/log/Diaria1/index" define dumptype global { comment "Global definitions" index yes record no } define dumptype MyDump { global program "GNUTAR" comment "GNUtar, alta compresió en bck-side, per a samba-shareds" compress server best priority high } define interface local { comment "a local disk" use 1000 kbps } define interface eth0 { comment "100 Mbps ethernet" use 400 kbps } Regards