Re: Good Documentation anywhere?
Hi, Gene Heskett, on Donnerstag, 03. Juni 2004 at 23:52 you wrote to amanda-users: GH> There was at one time a site called frankenlinux.something that had a GH> somewhat expanded set of manpages/docs. I used them to get started GH> with years ago. They might be somewhat dated in that any new stuff GH> might not be in there, but what they ahve should be 100% compatible. yes, I knew that site. Google says they're down. It's mirrored here: http://people.web.psi.ch/bearpark/mirror/frankenlinux.com/guides/amandaintro I have NOT read that now ;-) -- best regards, Stefan Stefan G. Weichinger mailto:[EMAIL PROTECTED]
Re: Good Documentation anywhere?
On Thursday 03 June 2004 17:33, Stefan G. Weichinger wrote: >Hi, Ivan, > >on Donnerstag, 03. Juni 2004 at 22:52 you wrote to amanda-users: > >IP> Stefan G. Weichinger a e'crit: >>> There is no such thing as "The Official AMANDA HOWTO And >>> Reference Guide". > >IP> Is anybody working on it? > >I don't know of any current project, no. >But I think about doing it myself. >Currently I am far too busy to work on that. > >A good and current Guide would not hurt, AFAIK. > >Suggestions welcome. There was at one time a site called frankenlinux.something that had a somewhat expanded set of manpages/docs. I used them to get started with years ago. They might be somewhat dated in that any new stuff might not be in there, but what they ahve should be 100% compatible. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.23% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attorneys please note, additions to this message by Gene Heskett are: Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
Re: Good Documentation anywhere?
Hi, Ivan, on Donnerstag, 03. Juni 2004 at 22:52 you wrote to amanda-users: IP> Stefan G. Weichinger a e'crit: >> There is no such thing as "The Official AMANDA HOWTO And Reference >> Guide". IP> Is anybody working on it? I don't know of any current project, no. But I think about doing it myself. Currently I am far too busy to work on that. A good and current Guide would not hurt, AFAIK. Suggestions welcome. -- best regards, Stefan
Re: Good Documentation anywhere?
Stefan G. Weichinger a e'crit: > There is no such thing as "The Official AMANDA HOWTO And Reference > Guide". Is anybody working on it?
Re: Good Documentation anywhere?
Hi, Kris, on Donnerstag, 03. Juni 2004 at 21:46 you wrote to amanda-users: KV> Does anyone know of a book or some online docs that explain KV> in detail how AMANDA works, how to use all of its tools, and how KV> to optimize / tweak it for a particular environment? The online KV> chapter of Unix Backup and Recovery doesn't quite do it for me. KV> Thx! Errrmmm ... What exactly do you want to know that can't be found in the AMANDA-docs, the amanda-users-ml-archive and the web in general? There is no such thing as "The Official AMANDA HOWTO And Reference Guide". Yet. -- best regards, Stefan Stefan G. Weichinger mailto:[EMAIL PROTECTED]
Good Documentation anywhere?
Does anyone know of a book or some online docs that explain in detail how AMANDA works, how to use all of its tools, and how to optimize / tweak it for a particular environment? The online chapter of Unix Backup and Recovery doesn't quite do it for me. Thx!
Re: streaming
Hi, Glenn, on Donnerstag, 03. Juni 2004 at 19:18 you wrote to amanda-users: GE> And I thought that a & b were controller #1, c & d were #2. I'm using GE> the controller(s) on the Intel motherboard. Don't mix up controllers with channels: Your controller supports two channels, which are called primary and secondary channels. Each channel supports one master and one slave device. So the first IDE-controller controls hda - hdd second controller: hde - hdh ... Just found this: cat /proc/ide/piix (piix only valid for piix-chipset here, look what you have got there ...) gives you infos ... this is kernel-info, straight from the heart of your system ;-) the /proc/ide tree gives you loads of valuable infos (all the /proc does, BTW ...) >> This is good so far, but you should also enable bus-mastering for you >> controller. GE> I googled for IDE bus-mastering. It looks like plain old DMA. Is that GE> all it is? If so, that's done (there's still the 80 core cable issue, GE> but I know about it). >> If you REALLY want to get the best IDE-performance, don't use any >> slave-drives. Put in a second IDE-controller (25 bucks maybe) and let >> the faster controller control the disk drives as master drives. GE> I'll pick up a board when I go out to get the cable. Thanks. Maybe detect first if your system works fine. Which 2.6.x-Kernel is it? (You can contact me off-list as this is getting VERY offtopic ...) -- best regards, Stefan Stefan G. Weichinger mailto:[EMAIL PROTECTED]
Re: streaming
On Thu, 2004-06-03 at 01:12, Stefan G. Weichinger wrote: > Getting away from AMANDA-topics: > > You should get your IDE-setup straight. That does seem to be the root of the problem. > A main point is the bus-mastering. It is also very important to > performance which device is the master and which is the slave on your > ide-bus. I read somewhere that it really doesn't matter -- it's just an addressing issue. But the hard disks are masters on both cables. > You have hda and hdc here, which are the primary and secondary > master-drives on your first (only?) IDE-controller. And I thought that a & b were controller #1, c & d were #2. I'm using the controller(s) on the Intel motherboard. > This is good so far, but you should also enable bus-mastering for you > controller. I googled for IDE bus-mastering. It looks like plain old DMA. Is that all it is? If so, that's done (there's still the 80 core cable issue, but I know about it). > Are there other drives at hdb and hdd ? Often these are used for > CD-ROM-drives. hdd is a CD ROM. there is no hdb. > If you REALLY want to get the best IDE-performance, don't use any > slave-drives. Put in a second IDE-controller (25 bucks maybe) and let > the faster controller control the disk drives as master drives. I'll pick up a board when I go out to get the cable. Thanks. > Look at bonnie and bonnie++ maybe, they will test overall disk > performance. (hdparm will do -Tt on SCSI drives, but not -i -- found that out late last night). -- Glenn English <[EMAIL PROTECTED]>
Re: Backup Server in DMZ
Hi, on Donnerstag, 03. Juni 2004 at 16:13 I wrote to amanda-users: SGW> The options I have pasted from that old mail and since then in my SGW> setup: SGW> ./configure --with-tcpportrange=5,50040 --with-udpportrange=890,899 SGW> Have a start at SGW> http://marc.theaimsgroup.com/?l=amanda-users&w=2&r=1&s=-with-tcpportrange+5+50040&q=b Nice circular reference, as Paul pointed out to me. More general: Search for the given options at marc.theaimsgroup.com/?l=amanda-users&r=1&w=2 ;-) -- best regards, Stefan Stefan G. Weichinger mailto:[EMAIL PROTECTED]
ipchains
On Thu, 2004-06-03 at 07:10, Tobias wrote: > The Backup Server is in the inner network. The firewalls are both running > debian 2.2 potato with ipchains (unfortunately kernel doesn't seem to have > port-forwarding capabilities and I don't like to roll my own if there is > another way ...). It's a target in the forwarding chain. ipchains calls it MASQ. At least that's the way it is on the 2.2 vintage kernel on the server here (RH). I thought I was the only person on earth still using ipchains. Works great, doesn't it :-) -- Glenn English <[EMAIL PROTECTED]>
Re: Managing "out of the office" twits
* Mitch Collinsworth <[EMAIL PROTECTED]> [2004-06-03 08:32]: > > At the risk of prolonging this thread even further, it does seem > incongruous for an auto-responder script aimed as mis-behaving > auto-responders to request that if it itself mis-behaves, the > recipient should please disregard. I thought someone would get a kick out of that.. I was cracking up as I wrote it. Now hopefully it doesn't misbehave too much. It already backfired once. When I posted the script to the list, it was echoed back to me (as all list messages are), and the script was triggered by itself because it contained all the key phrases it was looking for. So my autoresponder sent an etiquette lecture to myself :) Fortunately the infinite loop protection code worked (though it won't work in all cases).
Re: Compile errors on rh av. server 2.1
Javier Sanchez wrote: im having problems building amanda on a red hat advance server 2.1, heres the output, any hits ??? No idea. Never seen. But just verifying: you did do "make distclean" before you did "./configure " ? -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * 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 * ***
Compile errors on rh av. server 2.1
Hi all, im having problems building amanda on a red hat advance server 2.1, heres the output, any hits ??? source='alloc.c' object='alloc.lo' libtool=yes \ depfile='.deps/alloc.Plo' tmpdepfile='.deps/alloc.TPlo' \ depmode=gcc3 /bin/sh ../config/depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -g -O2 -c -o alloc.lo `test -f 'alloc.c' || echo './'`alloc.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -g -O2 -c alloc.c -MT alloc.lo -MD -MP -MF .deps/alloc.TPlo -fPIC -DPIC -o .libs/alloc.lo /tmp/cc0qtIEY.s: Assembler messages: /tmp/cc0qtIEY.s:795: Warning: Unrecognized .section attribute: want a,w,x /tmp/cc0qtIEY.s:795: Warning: Unrecognized .section attribute: want a,w,x /tmp/cc0qtIEY.s:795: Error: Rest of line ignored. First ignored character is `,'. /tmp/cc0qtIEY.s:1180: Warning: Unrecognized .section attribute: want a,w,x /tmp/cc0qtIEY.s:1180: Warning: Unrecognized .section attribute: want a,w,x /tmp/cc0qtIEY.s:1180: Error: Rest of line ignored. First ignored character is `,'. /tmp/cc0qtIEY.s:1183: Warning: Unrecognized .section attribute: want a,w,x /tmp/cc0qtIEY.s:1183: Warning: Unrecognized .section attribute: want a,w,x /tmp/cc0qtIEY.s:1183: Error: Rest of line ignored. First ignored character is `,'. /tmp/cc0qtIEY.s:1418: Warning: Unrecognized .section attribute: want a,w,x /tmp/cc0qtIEY.s:1418: Warning: Unrecognized .section attribute: want a,w,x /tmp/cc0qtIEY.s:1418: Error: Rest of line ignored. First ignored character is `,'. /tmp/cc0qtIEY.s:1421: Warning: Unrecognized .section attribute: want a,w,x /tmp/cc0qtIEY.s:1421: Warning: Unrecognized .section attribute: want a,w,x /tmp/cc0qtIEY.s:1421: Error: Rest of line ignored. First ignored character is `,'. /tmp/cc0qtIEY.s:1941: Warning: Unrecognized .section attribute: want a,w,x /tmp/cc0qtIEY.s:1941: Warning: Unrecognized .section attribute: want a,w,x /tmp/cc0qtIEY.s:1941: Error: Rest of line ignored. First ignored character is `,'. make: *** [alloc.lo] Error 1 [EMAIL PROTECTED] common-src]# vi file /tmp/cc0qtIEY.s Best regards
Re: Managing "out of the office" twits
On Thu, 3 Jun 2004, Justin Gombos wrote: > [anti_ooo.msg file] > > My scripts have detected that you posted an out of office reply to a > public forum. Please control your auto-responder. > > If you are receiving this in error, I apologize; please disregard it. At the risk of prolonging this thread even further, it does seem incongruous for an auto-responder script aimed as mis-behaving auto-responders to request that if it itself mis-behaves, the recipient should please disregard. -Mitch
Re: Backup Server in DMZ
Hi, Tobias, on Donnerstag, 03. Juni 2004 at 15:42 you wrote to amanda-users: T> Zitat von Paul Bijnens <[EMAIL PROTECTED]>: >> in common-src/security.c: >> Comment it out. >> The added benefit of this test is not as strong as it used to be, in >> these days where everybody can be root on his PC, and connect from a >> reserved (<1024) port. T> thanks for your help. I just tried what you suggested and now T> amcheck passes all tests but when it comes to amdump I receive T> the following error email from amanda: T> FAILURE AND STRANGE DUMP SUMMARY: T> [HOST-IN-DMZ] [DIR-OF-HOST-IN-DMZ] lev 0 FAILED [disk [DIR-OF-HOST-IN-DMZ], all T> estimate failed] T> It kinda looks to me like there is no data passed from the host in T> the dmz to the amanda backup server. T> I'm pretty sure I have to tweak something at our firewall but I T> have absolutely no idea what to do there :( >From a posting here (can be found in the archives) I remember that you have to open more ports than just 5 ... The options I have pasted from that old mail and since then in my setup: ./configure --with-tcpportrange=5,50040 --with-udpportrange=890,899 Have a start at http://marc.theaimsgroup.com/?l=amanda-users&w=2&r=1&s=-with-tcpportrange+5+50040&q=b -- best regards, Stefan Stefan G. Weichinger mailto:[EMAIL PROTECTED]
Re: Backup Server in DMZ
Zitat von Paul Bijnens <[EMAIL PROTECTED]>: > in common-src/security.c: > Comment it out. > The added benefit of this test is not as strong as it used to be, in > these days where everybody can be root on his PC, and connect from a > reserved (<1024) port. thanks for your help. I just tried what you suggested and now amcheck passes all tests but when it comes to amdump I receive the following error email from amanda: FAILURE AND STRANGE DUMP SUMMARY: [HOST-IN-DMZ] [DIR-OF-HOST-IN-DMZ] lev 0 FAILED [disk [DIR-OF-HOST-IN-DMZ], all estimate failed] It kinda looks to me like there is no data passed from the host in the dmz to the amanda backup server. I'm pretty sure I have to tweak something at our firewall but I have absolutely no idea what to do there :( Any ideas? Thanks! toby --- http://www.funkreich.de // may the funk be with you
Re:
Tobias wrote: amcheck complains with "port (insert-highport-here) is not secure". I've read the amanda FAQs but the answer given to this problem didn't help because I haven't installed the firewalls and am by far no firewall magician. Why does amanda receive the highport which should have been mapped back by the inner-firewall? And what rules do I have to add to make it work? Do I need port forwarding? Or is there another way to do what I want? A quick-and-dirty method is to adapt the sources used to compile your client: in common-src/security.c: 229 230 /* next, make sure the remote port is a "reserved" one */ 231 232 if(ntohs(addr->sin_port) >= IPPORT_RESERVED) { 233 ap_snprintf(number, sizeof(number), "%d", ntohs(addr->sin_port)); 234 *errstr = vstralloc("[", 235 "host ", remotehost, ": ", 236 "port ", number, " not secure", 237 "]", NULL); 238 amfree(remotehost); 239 return 0; 240 } Comment it out. The added benefit of this test is not as strong as it used to be, in these days where everybody can be root on his PC, and connect from a reserved (<1024) port. -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * 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 * ***
Amanda , the movie Part II
I create one test folder named /backup3/teste, inside this folder i put one file with 5 gb size, today i make one backup this folder .. my disklist is: nameofserver /backup3/teste root-tar The backup working fine, but when i go to this folder, move the file to see recover working and i run the amrecover, i have the following problem [EMAIL PROTECTED] teste]# rm -rf /tmp/amanda/[EMAIL PROTECTED] teste]# amrecover DailyAMRECOVER Version 2.4.4p2. Contacting server on tux2.employer.com.br ...220 tux2 AMANDA index server (2.4.4p2) ready.200 Access OKSetting restore date to today (2004-06-03)200 Working date set to 2004-06-03.Scanning /backup1/amanda...200 Config set to Daily.200 Dump host set to tux2.employer.com.br.Trying disk /backup3 ...Trying disk hdc1 ...Can't determine disk and mount point from $CWD '/backup3/teste'amrecover> listdisk200- List of disk for host tux2.employer.com.br201- /backup3/teste200 List of disk for host tux2.employer.com.bramrecover> cd /backup3/testeMust select disk before changing directoryamrecover> setdisk /backup3/teste200 Disk set to /backup3/teste.No index records for disk for specified dateIf date correct, notify system administratoramrecover> lsamrecover> lsamrecover> lpwd/backup3/testeamrecover> Another question, yesterday i make one backup, in another folder (/backup3), but if i setdate to 2004-06-02 and list, i dont see nothing. tks
[no subject]
Hi everyone, I've successfully setup Amanda to backup our internal servers. Our setup is the classic DMZ setup: inner network => inner-firewall => DMZ => outer-firewall => internet The Backup Server is in the inner network. The firewalls are both running debian 2.2 potato with ipchains (unfortunately kernel doesn't seem to have port-forwarding capabilities and I don't like to roll my own if there is another way ...). Now I have to backup one host which sits in the DMZ. Both amanda instances (on the backup server and the client in the DMZ) were compiled with the following configure options: '--with-portrange=850,854' '--with-udpportrange=850,854' Unfortunately amcheck is unable to connect to the client in the DMZ. I then monitored with tcpdump what is happening: Backupserver (inner network) binds to a port between 850-854 and tries to connect to the backup client in the DMZ on port 10080. The connection of course goes to the inner-firewall, which maps the port (850-854) to a highport and forwards the request to the backup client in the DMZ. The latter machine tries to connect back to the backup server in the inner network. Passing through the inner firewall the highport gets translated back to the original port 850-854. Looks good to me - but doesn't work :( amcheck complains with "port (insert-highport-here) is not secure". I've read the amanda FAQs but the answer given to this problem didn't help because I haven't installed the firewalls and am by far no firewall magician. Why does amanda receive the highport which should have been mapped back by the inner-firewall? And what rules do I have to add to make it work? Do I need port forwarding? Or is there another way to do what I want? Thanks a lot for your help! Toby --- http://www.funkreich.de // may the funk be with you
Re: streaming
On Thursday 03 June 2004 03:26, Stefan G. Weichinger wrote: >Hi, Stefan G. Weichinger, > >on Donnerstag, 03. Juni 2004 at 09:12 you wrote to amanda-users: > >SGW> Hi, Glenn, > >SGW> on Donnerstag, 03. Juni 2004 at 06:51 you wrote to > amanda-users: > >GE>> I looked at another system: an old Dell server downstairs with > a Maxtor GE>> PCI IDE card and a 2 or 3 year old Maxtor 60GB disk, > also claiming to be GE>> udma5 > >I forgot: To use udma5 you have to use an appropriate ATA (80 core) >cable for the drive. As an aside on that point, not all drives and controllers properly detect this yet, its been discussed a bit some time back on the lkml. It seems there was only a gentlemans agreement on howto do that, so no real std was adhered to at first. Hopefully that situation has improved in new mobo designs by now. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.23% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attorneys please note, additions to this message by Gene Heskett are: Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
Re: Hard disk backup doubts
Javier Sanchez wrote: I created 10 vtapes on a usb disk, as soon as the tapes gets full i must put the tape in no-reuse and add another tape to the tapelist ?? ...as soon as the tapes are WRITTEN TO... The number of "reusable" tapes needs to be >= tapecycle parameter. As long as this condition holds, you don't need to add tapes. More explicit: the tapecycle parameter instructs to amanda the minimum number of tapes to cycle through; you may have more tapes in the cycle than the tapecycle parameter indicates. How can i force amanda not to use another tape if theres free space on the actual tape ?? The initial design of Amanda was intended for real tapes. Appending to real tapes is a dangerous operation, and was _by design_ left out. And it's difficult to add in. But I don't see where that could be a problem for you? You can put as many vtapes on a usbdrive as you want? Just create the directory holding a new vtape, or did I miss something? I forgot the initial reason why you needed "no-reuse". (This smells like a complicated setup for an easy problem.) -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * 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 * ***
Re: Hard disk backup doubts
So let see if i understood all correctly .-) I created 10 vtapes on a usb disk, as soon as the tapes gets full i must put the tape in no-reuse and add another tape to the tapelist ?? How can i force amanda not to use another tape if theres free space on the actual tape ?? Cheers And again thanks for your help .-) El jue, 03-06-2004 a las 11:23, Paul Bijnens escribió: > Javier Sanchez wrote: > > > > I put the no-reuse option on all the tapes using amadmin, but now all > > the backups are refused because amanda expects a new tape, did i miss > > something to reset ?? > > 'no-reuse' is exaclty what amanda will do with the tapes: > she will refuse to write on them. > > Amanda needs (v)tapes to backup. They must all have a different > label. You need at least [tapecycle] number of tapes in the cycle > (note the word "cycle" implies reuse). If you marked some tapes > as no-reuse, then you must add new tapes (with new labels, not > the same as you already have labelled), until you have [tapecycle] > number of reuseable tapes again.
Re: Hard disk backup doubts
Javier Sanchez wrote: I put the no-reuse option on all the tapes using amadmin, but now all the backups are refused because amanda expects a new tape, did i miss something to reset ?? 'no-reuse' is exaclty what amanda will do with the tapes: she will refuse to write on them. Amanda needs (v)tapes to backup. They must all have a different label. You need at least [tapecycle] number of tapes in the cycle (note the word "cycle" implies reuse). If you marked some tapes as no-reuse, then you must add new tapes (with new labels, not the same as you already have labelled), until you have [tapecycle] number of reuseable tapes again. -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * 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 * ***
Re: Re: Hard disk backup doubts
Hello again, i have just reciompiled amanda using a patch to force the use of bzip2 instead of gzip, i have recreated the tapes, deleted all the logs and database files. I put the no-reuse option on all the tapes using amadmin, but now all the backups are refused because amanda expects a new tape, did i miss something to reset ?? amcheck-server: slot 4: date Xlabel usb0tape4 (active tape) amcheck-server: slot 5: date Xlabel usb0tape5 (active tape) amcheck-server: slot 6: date Xlabel usb0tape6 (active tape) amcheck-server: slot 7: date Xlabel usb0tape7 (active tape) amcheck-server: slot 8: date Xlabel usb0tape8 (active tape) amcheck-server: slot 9: date Xlabel usb0tape9 (active tape) amcheck-server: slot 10: date Xlabel usb0tape10 (active tape) amcheck-server: slot 1: date Xlabel usb0tape1 (active tape) amcheck-server: slot 2: date Xlabel usb0tape2 (active tape) amcheck-server: slot 3: date Xlabel usb0tape3 (active tape) ERROR: new tape not found in rack (expecting a new tape) Best regards El mié, 02-06-2004 a las 18:48, Jon LaBadie escribió: > On Wed, Jun 02, 2004 at 05:57:02PM +0200, Javier Sanchez wrote: > > > > Ok with the reconpilation, but how this will affect the planner calcs > > about the storage space needed ? Should i modify the planner ?? > > > > gzip or bzip2 or compress or whatever. > > everything is a guess/approximation by amanda until it has > a history of past compressions.
Re: streaming
Glen I'd check the logic in the kernel code that checks for 80 way cables etc etc. When I last looked at 2.4.19 it was doing some weird stuff - do the checks then reset the flag where the bit table for the capabilities of the drive is set. As opposed to reset, then do the checks! I know you said you run 2.6.x but it's worth checking.. -- Martin Hepworth Snr Systems Administrator Solid State Logic Tel: +44 (0)1865 842300 Glenn English wrote: On Wed, 2004-06-02 at 17:07, Frank Smith wrote: If it's linux, try using hdparm to verify the modes and speed of your disk. Like Jon says, a good drive can have terrible performance if it is running in the wrong mode. hdparm is a nifty addition to my system monitoring toolkit (top, gnome's cpu monitor icon, sticking my ear close to a drive to listen for seeks, eyeballing the disk activity LED, and dump's data transfer messages). hdparm uncovered some interesting information. The 2 drives on this machine are identical and identically configured, except for one thing: both are using dma, but one of them, hda, is udma2 and hdc is udma5. I did a 'hdparm -X 69 /dev/hda' to set hda to udma5. hdparm said it did, but hdparm -i still said udma2. Jon implied that hdparm may be just kidding about this. hdparm -Tt gives the following: /dev/hda: Timing buffer-cache reads: 2800 MB in 2.00 seconds = 1399.51 MB/sec Timing buffered disk reads: 82 MB in 3.00 seconds = 27.33 MB/sec /dev/hdc: Timing buffer-cache reads: 2772 MB in 2.00 seconds = 1386.21 MB/sec Timing buffered disk reads: 114 MB in 3.03 seconds = 37.62 MB/sec Since I have no feel for what pio would be like, I don't know. But the difference looks ballpark right for the different dma modes. I looked at another system: an old Dell server downstairs with a Maxtor PCI IDE card and a 2 or 3 year old Maxtor 60GB disk, also claiming to be udma5: /dev/hde: Timing buffer-cache reads: 128 MB in 0.59 seconds =216.95 MB/sec Timing buffered disk reads: 64 MB in 1.59 seconds = 40.25 MB/sec Something is wrong here. The disks up here are much newer, and a lot slower. I'm using the onboard controllers in an Intel D865GLC motherboard. Also, make sure your kernel is using the correct chipset driver for your IDE controller. On a machine at home I replaced the motherboard and my disk speeds dropped to under 2MB/sec. I finally figured out that since I had a different controller than the one I had compiled in support for, the kernel had dropeed back to generic IDE support. Rebuilding the kernel with the proper driver made an over 10X performance boost. That's where I'm going next. Kernel dox, motherboard dox, Gentoo dox, and hdparm's man page. And google, of course... Does anyone know of an equivalent to hdparm -Tt for SCSI disks? ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote confirms that this email message has been swept for the presence of computer viruses and is believed to be clean. **
Re: streaming
Glenn English <[EMAIL PROTECTED]> writes: > On Wed, 2004-06-02 at 10:59, Jon LaBadie wrote: > > > I doubt there is any tapedrive that is "too fast" for your > > disk drives. > > I thought so too. But when dump is running from one disk to the other, > it reports speeds about 20% higher (~10MB/s) than it does when running > from disk to tape (~8MB/s). I can get dump to stream by specifying a 1MB > blocksize and making sure there's no other disk activity. > > The problem seems to be with writing and reading at the same time. Using many holding disks helps here; I have about twenty disks, many of them old 18GB drives. Later this year I will upgrade the library from SDLT220 to SDLT600, and these drives will eat 36MBytes/second. This will be faster than above old disks, so I will have to upgrade them ... There definitely are tape drives that are too fast for disk drives. Even though you might consider these disks obsolete nowadays, they are doing their job fine. Sven
Re: streaming
Hi, Stefan G. Weichinger, on Donnerstag, 03. Juni 2004 at 09:12 you wrote to amanda-users: SGW> Hi, Glenn, SGW> on Donnerstag, 03. Juni 2004 at 06:51 you wrote to amanda-users: GE>> I looked at another system: an old Dell server downstairs with a Maxtor GE>> PCI IDE card and a 2 or 3 year old Maxtor 60GB disk, also claiming to be GE>> udma5 I forgot: To use udma5 you have to use an appropriate ATA (80 core) cable for the drive. -- best regards, Stefan Stefan G. Weichinger mailto:[EMAIL PROTECTED]
Re: streaming
Hi, Glenn, on Donnerstag, 03. Juni 2004 at 06:51 you wrote to amanda-users: GE> Jon implied that hdparm may be just kidding about this. hdparm -Tt gives GE> the following: GE> GE> /dev/hda: GE> Timing buffer-cache reads: 2800 MB in 2.00 seconds = 1399.51 MB/sec GE> Timing buffered disk reads: 82 MB in 3.00 seconds = 27.33 MB/sec GE> /dev/hdc: GE> Timing buffer-cache reads: 2772 MB in 2.00 seconds = 1386.21 MB/sec GE> Timing buffered disk reads: 114 MB in 3.03 seconds = 37.62 MB/sec GE> GE> Since I have no feel for what pio would be like, I don't know. But the GE> difference looks ballpark right for the different dma modes. pio looks different ;-) Would be much slower. GE> I looked at another system: an old Dell server downstairs with a Maxtor GE> PCI IDE card and a 2 or 3 year old Maxtor 60GB disk, also claiming to be GE> udma5: GE> GE> /dev/hde: GE> Timing buffer-cache reads: 128 MB in 0.59 seconds =216.95 MB/sec GE> Timing buffered disk reads: 64 MB in 1.59 seconds = 40.25 MB/sec GE> GE> Something is wrong here. The disks up here are much newer, and a lot GE> slower. I'm using the onboard controllers in an Intel D865GLC GE> motherboard. Getting away from AMANDA-topics: You should get your IDE-setup straight. A main point is the bus-mastering. It is also very important to performance which device is the master and which is the slave on your ide-bus. You have hda and hdc here, which are the primary and secondary master-drives on your first (only?) IDE-controller. This is good so far, but you should also enable bus-mastering for you controller. Are there other drives at hdb and hdd ? Often these are used for CD-ROM-drives. If you REALLY want to get the best IDE-performance, don't use any slave-drives. Put in a second IDE-controller (25 bucks maybe) and let the faster controller control the disk drives as master drives. One device per IDE-channel, so you would get maybe hdadisk drive hdcdisk drive hdecd-rom no more slaves. GE> Does anyone know of an equivalent to hdparm -Tt for SCSI disks? Look at bonnie and bonnie++ maybe, they will test overall disk performance. -- best regards, Stefan Stefan G. Weichinger mailto:[EMAIL PROTECTED]