Requesting Backup Level of 10
Hello, Using amanda-2.4.2p2 I got an error from the planner telling me planner: FATAL error [planner askfor: lev out of range -1..10: 10] - the maximum dump level is 9, so the message should be ... lev out of range -1..9: 10] ^ - how can this happen? Bug? My error in amanda.conf? 2.4.2p2 worked for months if not years w/o any problem now. Maybe it's the bumpsize 20 Mb bumpdays 1 bumpmult 2 statements in my amanda.conf? Roman -- Roman Fietze (Mail Code 6) Heidelberg Digital Finishing GmbH, Germany [EMAIL PROTECTED] [EMAIL PROTECTED] GnuPG/PGP Key Server for my Keys http://www.pgp.net/wwwkeys.html msg15224/pgp0.pgp Description: PGP signature
netusage parameter in amanda.conf
Hello, Does the netusage parameter in amanda.conf really work ? I am asking this because I have changed it to 50 kByte/s and still see the backups taking the same amount of bandwidth on the MRTG graphs of the backup server... Regards Marc
Re: Exabyte EZ17 Autoloader
hi jerry, i've been using an ex17 autoloader under various version of solaris (2.6 and 8) for the past 3 years. you WILL need to modify /kernel/drv/sgen.conf so that the device will be recognized, you basically need to add the following lines: device-type-config-list=changer; name=sgen class=scsi target=1 lun=0; # which target is the scsi id. comment out all other lines. you can then run devfsadm -i sgen to load up the driver. you should then have a /dev/sgen@1,0:changer device, which is a softlink to /devices/pci@1f,0/pci@1/pci@3/SUNW,isptwo@4/sgen@1,0:changer, or something similare. you will need to compile and install mtx, http://mtx.sourceforge.net. i've been using version 1.2.10 with great success. you also need to use the chg-zd-mtx scripts for amanda to control the device. i've made segnifagent modifications to the script for it to handle the device, if you want my hacked version email me and i'll mail it to you. the cfgadm(1M) command is used on sun enterprise server to dynamically reconfigure hardware on the system. you use it to take system boards, processors, memory in/out of service. you don't need to use to for amanda, unless you're adding an I/O tray and scsi controller to a machine on-the-fly. Jerry wrote: I'm an amanda newbie was evaluating it for use in a lab I maintain. I was wondering if anyone has an Exabyte EZ17 Autoloader working with it on Solaris. I am able to amdump and amrestore from it, but I haven't delved into the changer stuff yet. I had 2 veritas guys in trying to configure their very expensive software and they never called me back after they ran into some tape errors. (oh well for them). Anyway, I am confused on st.conf sgen.conf or if I even need to touch those to make the changer appear. At one time, I noticed when I had veritas installed cfgadm -al showed quite a few devices (I assume for changer) but after un-installing it appears back to normal (just showing rmt). Any ideas on whether the autoloader works, or even if it can be put into sequential mode, maybe amanda can cycle through the tapes until it finds the right one? At one time I started on the mtx avenue to try to get the changer to work (since I assumed at that point I would be better off the get amanda working with it) but I am stumped on not having an sg0 device or whatever solaris calls it. Ap_Id Type Receptacle Occupant Condition c0 scsi-bus connected configured unknown c0::dsk/c0t0d0 disk connected configured unknown c0::dsk/c0t6d0 CD-ROM connected configured unknown c1 scsi-bus connected configured unknown c1::rmt/0 tape connected configured unknown __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com -- Darin Perusich Unix Systems Administrator Cognigen Corp. [EMAIL PROTECTED]
Re: Requesting Backup Level of 10
On Mon, Oct 07, 2002 at 09:01:09AM +0200, Roman Fietze wrote: Hello, Using amanda-2.4.2p2 I got an error from the planner telling me planner: FATAL error [planner askfor: lev out of range -1..10: 10] - the maximum dump level is 9, so the message should be ... lev out of range -1..9: 10] ^ - how can this happen? Bug? My error in amanda.conf? 2.4.2p2 worked for months if not years w/o any problem now. Maybe it's the bumpsize 20 Mb bumpdays 1 bumpmult 2 statements in my amanda.conf? I have some dusty neurons in my head that recognize this from previous postings. There is so much dust that I can't be sure I'm remembering ancient history correctly. Don't shoot me if I'm off-base. Something is happening to prevent your getting back to a level 0. Maybe the size is now greater than a single tape or some such. That is its own issue. For most of amanda's life, it never gets anywhere near level 9. So the code related to it is almost never exercised/tested. The conclusion was that yes there is a bug that doesn't check if the level is out of range high. I doubt that anyone ever went back to 2.4.2 to fix the problem as it happened so seldom, and only under situations caused by other problems. Fix the reason why it is not able to do a lower level dump, and while the bug will not be fixed in the code, you won't hit it anymore. Cough, Hack, Gasp. I gotta vacuum in the dust outta this brain. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: adding tapes, renaming configuration and columspec
Frank Smith wrote: --On Friday, October 04, 2002 18:05:59 +0200 Marcus Huedepohl [EMAIL PROTECTED] wrote: 2. how do i rename an amanda configuration? let's say from TestSet to DailySet1? You could also just create the DailySet1 directory, make a copy of your disklist and amanda.conf, update the paths and labelstr in the new config, label tapes for it, and just start running the new config instead of the old one. Then you would have the old backups to restore from if you need them. Later on you could relabel the old tapes and add them to your new config. i will try this. 3. why does amdump refuse to mail the backup reports to me, when i put this line in amanda.conf (remove CR/LF to get one line): columnspec HostName=1:-1,Disk=1:-1,Level=1:-1,OrigKB=1:-1,OutKB=1:-1,Compress=1:-1, DumpTime=1:-1,DumpRate=1:-1,TapeTime=1:-1,TapeRate=1:-1 i think, this should give me 10 columns, each with one space on the left and the width dynamically resized to fit the largest entry. I've never used the negative entries, but assuming that they normally work I would take a wild guess that it might be the 'Level' column, since that is always 1 character wide. Since you only need to specify the columns you want to change from defaults, try just modifying one column first, see how that runs, then add one more, etc., till you get it like you want or find what breaks it. amreport is segfaulting with this columnspec. i changed it to read columnspec Disk=1:-1 now it runs fine. thanks
Re: Latest glibc-2.2.5-40 security fixes break amanda?
On Sunday 06 October 2002 12:27, Gene Heskett wrote: On Sunday 06 October 2002 11:02, Gene Heskett wrote: On Sunday 06 October 2002 10:23, Gene Heskett wrote: This may now be a case of the little boy who cryed wolf. 8-( I just discoverd that this early 10/05 date also corresonds to my adding a -nice 5 to the end of the crontab entry. 2.2.5-40 has now been re-installed, amanda rebuilt and re-installed, and a fresh amdump is now running. I took that extra -nice 5 out of the crontab because it really didn't seem to free up the machine when amanda is running. If it runs ok in the morning, I'll add that to the crontab entry again for the next test. It ran fine, so it appears I cryed wolf needlessly, and that my modification of the crontab entry line was the cuplrit. My apologies to the list. -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.17% setiathome rank, not too shabby for a WV hillbilly
Re: Exabyte EZ17 Autoloader
ok. My sgen.conf has this basically: device-type-config-list= changer (type 0x08) name=sgen class=scsi target=0 lun=0; name=sgen class=scsi target=1 lun=0; name=sgen class=scsi target=2 lun=0; name=sgen class=scsi target=3 lun=0; name=sgen class=scsi target=4 lun=0; name=sgen class=scsi target=5 lun=0; name=sgen class=scsi target=6 lun=0; name=sgen class=scsi target=7 lun=0; name=sgen class=scsi target=8 lun=0; name=sgen class=scsi target=9 lun=0; name=sgen class=scsi target=10 lun=0; name=sgen class=scsi target=11 lun=0; name=sgen class=scsi target=12 lun=0; name=sgen class=scsi target=13 lun=0; name=sgen class=scsi target=14 lun=0; name=sgen class=scsi target=15 lun=0; Also, if i do a probe-scsi-all I see the changer as EXB-210 on scsi@1,1 target 0, unit 0 and I see the M2 Drive inside it as target 1, unit 0 I modunload and modload sgen, then I devfsadm -i sgen and get no errors, but I don't see the changer dev file. The output of prtconf |grep -v not attached is: System Configuration: Sun Microsystems sun4u Memory size: 256 Megabytes System Peripherals (Software Nodes): SUNW,UltraSPARC-IIi-Engine options, instance #0 pci, instance #0 pci, instance #0 ebus, instance #0 se, instance #0 su_pnp, instance #0 su_pnp, instance #1 ecpp, instance #0 fdthree, instance #0 SUNW,rasctrl, instance #0 network, instance #0 pci, instance #1 scsi, instance #0 sd, instance #0 sd, instance #6 scsi, instance #1 st, instance #8 TSI,gfxp, instance #0 pseudo, instance #0 Thanks for the help so far. FYI, I also have mtx compiled from sourceforge, I just need the device file to appear. Jerry --- Darin Perusich [EMAIL PROTECTED] wrote: hi jerry, i've been using an ex17 autoloader under various version of solaris (2.6 and 8) for the past 3 years. you WILL need to modify /kernel/drv/sgen.conf so that the device will be recognized, you basically need to add the following lines: device-type-config-list=changer; name=sgen class=scsi target=1 lun=0; # which target is the scsi id. comment out all other lines. you can then run devfsadm -i sgen to load up the driver. you should then have a /dev/sgen@1,0:changer device, which is a softlink to /devices/pci@1f,0/pci@1/pci@3/SUNW,isptwo@4/sgen@1,0:changer, or something similare. you will need to compile and install mtx, http://mtx.sourceforge.net. i've been using version 1.2.10 with great success. you also need to use the chg-zd-mtx scripts for amanda to control the device. i've made segnifagent modifications to the script for it to handle the device, if you want my hacked version email me and i'll mail it to you. the cfgadm(1M) command is used on sun enterprise server to dynamically reconfigure hardware on the system. you use it to take system boards, processors, memory in/out of service. you don't need to use to for amanda, unless you're adding an I/O tray and scsi controller to a machine on-the-fly. Jerry wrote: I'm an amanda newbie was evaluating it for use in a lab I maintain. I was wondering if anyone has an Exabyte EZ17 Autoloader working with it on Solaris. I am able to amdump and amrestore from it, but I haven't delved into the changer stuff yet. I had 2 veritas guys in trying to configure their very expensive software and they never called me back after they ran into some tape errors. (oh well for them). Anyway, I am confused on st.conf sgen.conf or if I even need to touch those to make the changer appear. At one time, I noticed when I had veritas installed cfgadm -al showed quite a few devices (I assume for changer) but after un-installing it appears back to normal (just showing rmt). Any ideas on whether the autoloader works, or even if it can be put into sequential mode, maybe amanda can cycle through the tapes until it finds the right one? At one time I started on the mtx avenue to try to get the changer to work (since I assumed at that point I would be better off the get amanda working with it) but I am stumped on not having an sg0 device or whatever solaris calls it. Ap_Id Type Receptacle Occupant Condition c0 scsi-bus connected configured unknown c0::dsk/c0t0d0 disk connected configured unknown c0::dsk/c0t6d0 CD-ROM connected configured unknown c1 scsi-bus connected configured unknown c1::rmt/0 tape connected configured unknown __ Do you Yahoo!? Faith Hill - Exclusive Performances,
Re: Exabyte EZ17 Autoloader
ok. I got it... I changed the sgen.conf so instead of: changer (type 0x08) which was already in there, I have: changer Thanks a bunch... now I can play with mtx and see how well it works and continue to read the docs on making it work with amanda. Just had to overcome the solaris-ism. Jerry --- Darin Perusich [EMAIL PROTECTED] wrote: hi jerry, i've been using an ex17 autoloader under various version of solaris (2.6 and 8) for the past 3 years. you WILL need to modify /kernel/drv/sgen.conf so that the device will be recognized, you basically need to add the following lines: device-type-config-list=changer; name=sgen class=scsi target=1 lun=0; # which target is the scsi id. comment out all other lines. you can then run devfsadm -i sgen to load up the driver. you should then have a /dev/sgen@1,0:changer device, which is a softlink to /devices/pci@1f,0/pci@1/pci@3/SUNW,isptwo@4/sgen@1,0:changer, or something similare. you will need to compile and install mtx, http://mtx.sourceforge.net. i've been using version 1.2.10 with great success. you also need to use the chg-zd-mtx scripts for amanda to control the device. i've made segnifagent modifications to the script for it to handle the device, if you want my hacked version email me and i'll mail it to you. the cfgadm(1M) command is used on sun enterprise server to dynamically reconfigure hardware on the system. you use it to take system boards, processors, memory in/out of service. you don't need to use to for amanda, unless you're adding an I/O tray and scsi controller to a machine on-the-fly. Jerry wrote: I'm an amanda newbie was evaluating it for use in a lab I maintain. I was wondering if anyone has an Exabyte EZ17 Autoloader working with it on Solaris. I am able to amdump and amrestore from it, but I haven't delved into the changer stuff yet. I had 2 veritas guys in trying to configure their very expensive software and they never called me back after they ran into some tape errors. (oh well for them). Anyway, I am confused on st.conf sgen.conf or if I even need to touch those to make the changer appear. At one time, I noticed when I had veritas installed cfgadm -al showed quite a few devices (I assume for changer) but after un-installing it appears back to normal (just showing rmt). Any ideas on whether the autoloader works, or even if it can be put into sequential mode, maybe amanda can cycle through the tapes until it finds the right one? At one time I started on the mtx avenue to try to get the changer to work (since I assumed at that point I would be better off the get amanda working with it) but I am stumped on not having an sg0 device or whatever solaris calls it. Ap_Id Type Receptacle Occupant Condition c0 scsi-bus connected configured unknown c0::dsk/c0t0d0 disk connected configured unknown c0::dsk/c0t6d0 CD-ROM connected configured unknown c1 scsi-bus connected configured unknown c1::rmt/0 tape connected configured unknown __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com -- Darin Perusich Unix Systems Administrator Cognigen Corp. [EMAIL PROTECTED] __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com
Re: Exabyte EZ17 Autoloader
comment all lines in sgen.conf with the exception of device-type-config-list=changer; name=sgen class=scsi target=0 lun=0; then unload the module and run devsfadm again. if devfsadm didn't error with failed to attach then is should create the device files. i'm guessing it's not there due to the other lines not being commented in sgen.conf. Jerry wrote: ok. My sgen.conf has this basically: device-type-config-list= changer (type 0x08) name=sgen class=scsi target=0 lun=0; name=sgen class=scsi target=1 lun=0; name=sgen class=scsi target=2 lun=0; name=sgen class=scsi target=3 lun=0; name=sgen class=scsi target=4 lun=0; name=sgen class=scsi target=5 lun=0; name=sgen class=scsi target=6 lun=0; name=sgen class=scsi target=7 lun=0; name=sgen class=scsi target=8 lun=0; name=sgen class=scsi target=9 lun=0; name=sgen class=scsi target=10 lun=0; name=sgen class=scsi target=11 lun=0; name=sgen class=scsi target=12 lun=0; name=sgen class=scsi target=13 lun=0; name=sgen class=scsi target=14 lun=0; name=sgen class=scsi target=15 lun=0; Also, if i do a probe-scsi-all I see the changer as EXB-210 on scsi@1,1 target 0, unit 0 and I see the M2 Drive inside it as target 1, unit 0 I modunload and modload sgen, then I devfsadm -i sgen and get no errors, but I don't see the changer dev file. The output of prtconf |grep -v not attached is: System Configuration: Sun Microsystems sun4u Memory size: 256 Megabytes System Peripherals (Software Nodes): SUNW,UltraSPARC-IIi-Engine options, instance #0 pci, instance #0 pci, instance #0 ebus, instance #0 se, instance #0 su_pnp, instance #0 su_pnp, instance #1 ecpp, instance #0 fdthree, instance #0 SUNW,rasctrl, instance #0 network, instance #0 pci, instance #1 scsi, instance #0 sd, instance #0 sd, instance #6 scsi, instance #1 st, instance #8 TSI,gfxp, instance #0 pseudo, instance #0 Thanks for the help so far. FYI, I also have mtx compiled from sourceforge, I just need the device file to appear. Jerry --- Darin Perusich [EMAIL PROTECTED] wrote: hi jerry, i've been using an ex17 autoloader under various version of solaris (2.6 and 8) for the past 3 years. you WILL need to modify /kernel/drv/sgen.conf so that the device will be recognized, you basically need to add the following lines: device-type-config-list=changer; name=sgen class=scsi target=1 lun=0; # which target is the scsi id. comment out all other lines. you can then run devfsadm -i sgen to load up the driver. you should then have a /dev/sgen@1,0:changer device, which is a softlink to /devices/pci@1f,0/pci@1/pci@3/SUNW,isptwo@4/sgen@1,0:changer, or something similare. you will need to compile and install mtx, http://mtx.sourceforge.net. i've been using version 1.2.10 with great success. you also need to use the chg-zd-mtx scripts for amanda to control the device. i've made segnifagent modifications to the script for it to handle the device, if you want my hacked version email me and i'll mail it to you. the cfgadm(1M) command is used on sun enterprise server to dynamically reconfigure hardware on the system. you use it to take system boards, processors, memory in/out of service. you don't need to use to for amanda, unless you're adding an I/O tray and scsi controller to a machine on-the-fly. Jerry wrote: I'm an amanda newbie was evaluating it for use in a lab I maintain. I was wondering if anyone has an Exabyte EZ17 Autoloader working with it on Solaris. I am able to amdump and amrestore from it, but I haven't delved into the changer stuff yet. I had 2 veritas guys in trying to configure their very expensive software and they never called me back after they ran into some tape errors. (oh well for them). Anyway, I am confused on st.conf sgen.conf or if I even need to touch those to make the changer appear. At one time, I noticed when I had veritas installed cfgadm -al showed quite a few devices (I assume for changer) but after un-installing it appears back to normal (just showing rmt). Any ideas on whether the autoloader works, or even if it can be put into sequential mode, maybe amanda can cycle through the tapes until it finds the right one? At one time I started on the mtx avenue to try to get the changer to work (since I assumed at that point I would be better off the get amanda working with it) but I am stumped on not having an sg0 device or whatever solaris calls it. Ap_Id Type Receptacle Occupant Condition c0 scsi-bus connected configured unknown c0::dsk/c0t0d0 disk connected configured unknown c0::dsk/c0t6d0
backup configuration with tapes and runs
Greetings. I'm still confused with the configuration of the tapes, runs, and days. Basically I want a full backup every night at 8pm. I have 5 tapes, and I only want the backups on the weeknights. ie. mon-fri. I've configured the cron to do that much, but I don't understand how to get amanda to d oa full backup every night. Do I just set the number of tapes to 1? Or do I set the number of runs per cycle to 1? Thanks. -- -=/Thom Red Hat Linux release 8.0 (Psyche) running Linux Kernel 2.4.18-14 Uptime: 2:13pm up 1 day, 23:44, 1 user, load average: 1.04, 1.12, 1.42 Registered Linux User #214499 http://counter.li.org
Re: backup configuration with tapes and runs
On 7 Oct 2002 at 2:16pm, Thom Paine wrote Basically I want a full backup every night at 8pm. I have 5 tapes, and I only want the backups on the weeknights. ie. mon-fri. I've configured the cron to do that much, but I don't understand how to get amanda to d oa full backup every night. Do I just set the number of tapes to 1? Or do I set the number of runs per cycle to 1? Set dumpcycle to 0, and tapecycle to 5. runspercycle doesn't matter, but you can just set it to 1. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
YES It's all true!!!!
charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII; charset=US-ASCII Reply-To: [EMAIL PROTECTED] Date: Mon, 7 Oct 2002 14:21:00 -0400 X-Priority: 3 X-Library: Indy 9.00.10 X-Mailer: Foxmail Please use a few minutes to read this important letter. I promise you will not lose anything because I have tried it. It can change your life, or at least you can earn extra income. This letter invites you to join a real and simple business. The following is the original letter that I received: :):):):):):):):):):):):):):):):):):):):):):):):):):):):):):):):):):):) Hello You may have seen this business before and ignored it. I know I did - many times! However, please take a few moments to read this letter. I was amazed when the profit potential of this business finally sunk in... and it works! With easy-to-use e-mail tools and opt-in e-mail, success in this business is now fast, easy and well within the capabilities of ordinary people who know little about internet marketing. And the earnings potential is truly staggering! I'll make you a promise. READ THIS E-MAIL TO THE END! - follow what it says to the letter - and you will not worry whether a RECESSION is coming or not, who is President, or whether you keep your current job or not. Yes, I know what you are thinking. I never responded to one of these before either. One day though, something just said: You throw away $25.00 going to a movie for 2 hours with your wife. What the heck. Believe me, no matter where you believe those feelings come from, I thank every day that I had that feeling. I cannot imagine where I would be or what I would be doing had I not. Read on. It's true. Every word of it. It is legal. I checked. Simply because you are buying and selling something of value. AS SEEN ON NATIONAL TV: Making over half a million dollars every 4 to 5 months from your home.
Re: backup configuration with tapes and runs
On Mon, 2002-10-07 at 14:32, Joshua Baker-LePain wrote: Set dumpcycle to 0, and tapecycle to 5. runspercycle doesn't matter, but you can just set it to 1. Thanks Joshua. That worked great. -- -=/Thom Red Hat Linux release 8.0 (Psyche) running Linux Kernel 2.4.18-14 Uptime: 2:35pm up 2 days, 6 min, 1 user, load average: 1.17, 1.26, 1.26 Registered Linux User #214499 http://counter.li.org
Skipping valid directories with amflush
Our amanda has started skipping directories that is has left on the holding disk when it has run out of tape. The error I get with amflush daily is Scanning /var/local/amanda/temp/hold-disk4... : skipping cruft directory, perhaps you should delete it. : skipping cruft directory, perhaps you should delete it. : skipping cruft directory, perhaps you should delete it. : skipping cruft directory, perhaps you should delete it. Scanning /var/local/amanda/temp/hold-disk3... : skipping cruft directory, perhaps you should delete it. : skipping cruft directory, perhaps you should delete it. : skipping cruft directory, perhaps you should delete it. : skipping cruft directory, perhaps you should delete it. : skipping cruft directory, perhaps you should delete it. : skipping cruft directory, perhaps you should delete it. Scanning /var/local/amanda/temp/hold-disk... : skipping cruft directory, perhaps you should delete it. : skipping cruft directory, perhaps you should delete it. : skipping cruft directory, perhaps you should delete it. : skipping cruft directory, perhaps you should delete it. Each of those directories has valid dump directories in them and it displays two skipping... lines for each directory in that hold disk directory. This is on a RH linux 7.3 box using amanda 2.4.2p2. Any ideas? Thanks Jeff -- Jeff Engelhardt Unix Network Administrator Department of Information Technology Gustavus Adolphus College [EMAIL PROTECTED] http://www.gac.edu/~jengelha (507) 933 7042 FAX: 933 6316
Re: Excluding /tmp
On 7 Oct 2002 at 2:56pm, Thom Paine wrote How can I exclude /tmp and /var/tmp from being backed up? I would guess that I wouldn't need the contents of those directories backed up every night. That depends. What are your disklist entries? Are you using dump or tar? What is the output of df? Do I put an ! before the /tmp in disklist? If you don't want it backed up, just delete it from the disklist. Or, if you're backing up / and want to exclude /tmp (which is in the same partition), use an exclude statement (in the dumptype) or exclude list. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: Excluding /tmp
On Mon, 2002-10-07 at 15:15, Joshua Baker-LePain wrote: That depends. What are your disklist entries? Are you using dump or tar? What is the output of df? localhost / comp-root-tar localhost /boot comp-root-tar [root@mail DailySet1]# df -h FilesystemSize Used Avail Use% Mounted on /dev/sda3 133G 6.3G 119G 5% / /dev/sda1 99M 14M 80M 15% /boot none 504M 0 503M 0% /dev/shm If you don't want it backed up, just delete it from the disklist. Or, if you're backing up / and want to exclude /tmp (which is in the same partition), use an exclude statement (in the dumptype) or exclude list. How do I format the exclude statement? Thanks, -- -=/Thom Red Hat Linux release 8.0 (Psyche) running Linux Kernel 2.4.18-14 Uptime: 3:20pm up 2 days, 51 min, 1 user, load average: 1.15, 1.20, 1.16 Registered Linux User #214499 http://counter.li.org
Release of amanda 2.4.3
Hello, The Amanda core team is pleased to announce the release of Amanda 2.4.3. It can be dowloaded from http://www.amanda.org/ Here's a list of the changes for release 2.4.3 (from the NEWS file): Look at the ChangeLog file for more details. * New runtapes argument to amverify. * New amverifyrun program. * new noop packet type. It allow the server to know the client features. * --with-maxtapeblocksize configure options * blocksize tapetype option * file-pad tapetype option * Multiple exclude in dumptype * Option include in dumptype * New disklist syntax: * hostname diskname [ diskdevice ] dumptype [ spindle [ interface ] ] * chg-zd-mtx: Major cleanup and general overhaul. * amrecover: new listdisk command. * amrestore try to find the next chunk in the current directory. * amrecover: You can change the tape device between each tape. * amstatus work with amflush. * tapeio. * New [host [disk]*]* arguments to amdump, amcheck, amadmin and amflush. * New [-D datastamp]* arguments to amflush. * amrecover: cd accept shell wildcard, new command cdx accept regex. * new autoflush option. * new dumperstr option to specify the priority order of each dumper. Jean-Louis -- Jean-Louis Martineau email: [EMAIL PROTECTED] Departement IRO, Universite de Montreal C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529 Montreal, Canada, H3C 3J7Fax: (514) 343-5834
Re: Excluding /tmp
On Monday 07 October 2002 15:22, Thom Paine wrote: On Mon, 2002-10-07 at 15:15, Joshua Baker-LePain wrote: That depends. What are your disklist entries? Are you using dump or tar? What is the output of df? localhost / comp-root-tar localhost /boot comp-root-tar Give it the FQDN please, useage of 'localhost' will eventually bite you. [root@mail DailySet1]# df -h FilesystemSize Used Avail Use% Mounted on /dev/sda3 133G 6.3G 119G 5% / /dev/sda1 99M 14M 80M 15% /boot none 504M 0 503M 0% /dev/shm If you don't want it backed up, just delete it from the disklist. Or, if you're backing up / and want to exclude /tmp (which is in the same partition), use an exclude statement (in the dumptype) or exclude list. How do I format the exclude statement? The exclude can be a single definition within the dumptype section of your amanda.conf, or you can point it to a file with many names in it. The one universal specification is that the name so given must be a 'relative' name, eg /tmp will not work, but ./tmp will. Thanks, -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.17% setiathome rank, not too shabby for a WV hillbilly
Recommendations on Execution
I have a 140G RAID5 array that I would like to back up to my 20/40 DDS4 Seagate drive. Without a lot of experience with a drive this large, I've made a 100M /boot partition, a 2G swap partition (I have 1G of ram), and finally the rest of the drive ~137G set to /. I've allocated 20G to /tmp for a holding disk. I have set it to back up / every day. I have 5 tapes. I guess I should exclude /tmp and /var/tmp from the backup list so that it isn't backing up the tar file as well. Any other recommendations on this setup. Thanks, -- -=/Thom Red Hat Linux release 8.0 (Psyche) running Linux Kernel 2.4.18-14 Uptime: 9:54pm up 2 days, 7:25, 1 user, load average: 1.05, 1.55, 2.20 Registered Linux User #214499 http://counter.li.org
Re: Recommendations on Execution
Just a recommendation (outside of backup really) but you should make your 137G LVM controlled so you have to power to control where it goes. I would make / like 5 GB or whatever you like, but use the rest of the space for various filesystems like /home /database /usr/local and make them LVM controlled--- I love being able to make my 50GB space useful by extending the filesystem only as I need it, and you don't end up with all your eggs in one basket... man that would suck if you had filesystem issues on / Jerry --- Thom Paine [EMAIL PROTECTED] wrote: I have a 140G RAID5 array that I would like to back up to my 20/40 DDS4 Seagate drive. Without a lot of experience with a drive this large, I've made a 100M /boot partition, a 2G swap partition (I have 1G of ram), and finally the rest of the drive ~137G set to /. I've allocated 20G to /tmp for a holding disk. I have set it to back up / every day. I have 5 tapes. I guess I should exclude /tmp and /var/tmp from the backup list so that it isn't backing up the tar file as well. Any other recommendations on this setup. Thanks, -- -=/Thom Red Hat Linux release 8.0 (Psyche) running Linux Kernel 2.4.18-14 Uptime: 9:54pm up 2 days, 7:25, 1 user, load average: 1.05, 1.55, 2.20 Registered Linux User #214499 http://counter.li.org __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com
kswapd goes nuts!
My backups have recently slowed down... It is very peculiar and just started recently what seems to be out of the blue. The network clients are backing up at full speed but the file systems on the dump-host itself have slowed to about one quarter of their normal speed. I am using dump (as opposed to tar) and what I have observed is that a top shows kswapd and kreclaimd using 80% to 100% of the CPU when dump is running on the dump-host. I am running a dual 1Ghz PIII with 1G ram on the dump-host and top shows little (or no) swap space being used (though all of memory is used, but Linux does that no matter what). I am running redhat linux 7.2 with kernel: 2.4.7-10enterprise #1 SMP Thu Sep 6 16:48:20 EDT 2001 i686 unknown I am running: amanda-2.4.2p2-4.i386.rpm dump 0.4b31 (which is the latest dump according to: http://dump.sourceforge.net) I can't figure out what is causing kswapd and kreclaimd to go crazy when the dump program runs, and it only happens on the dump-host. The other 5 remote systems are all running Linux 7.2 or 7.3 and dump doesn't cause them any problems. I.e. kswapd doesn't even show up in a top on the remote machines when dump is running. Has anyone else ever experienced anything like this? Any suggestions what I can try to fix it? (Please don't suggest I use tar.) :) Let me know if I can provide any other details of interest. Thanks, Dick P.S. A sample of the output from top exhibits the problem: 8:24pm up 1:19, 2 users, load average: 3.19, 2.88, 2.46 110 processes: 108 sleeping, 2 running, 0 zombie, 0 stopped CPU0 states: 0.0% user, 83.0% system, 0.0% nice, 16.0% idle CPU1 states: 1.0% user, 92.0% system, 0.0% nice, 5.0% idle Mem: 1028364K av, 1020680K used,7684K free, 74916K shrd, 674280K buff Swap: 2104464K av,1144K used, 2103320K free 140432K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 5 root 19 0 00 0 SW 99.9 0.0 16:20 kswapd 6 root 18 0 00 0 SW 88.4 0.0 7:45 kreclaimd 2910 amanda 9 0 1320 1284 600 D14.8 0.1 4:07 dump 2970 rwk 13 0 1084 1080 832 R 4.1 0.1 0:00 top 1 root 9 0 520 520 452 S 0.0 0.0 0:08 init 2 root 9 0 00 0 SW0.0 0.0 0:00 keventd
Unsubscribe
How do I unsubscribe from this mailing list?
Re: kswapd goes nuts!
I have observed the same thing on several Linux boxes. It seems to be a result of the changes made to the virtual memory manager code in the mid 2.4 kernel series when using multiple processors. 2.4.7 sounds like about the time it started, but I don't remember exactly. We actually killed kerneld on a few machines and ran without swap for quite awhile (they did have 2 - 4 gigs of ram in them, so they didn't really need to swap). The bugs were ironed out of the kernel code sometime later (I think early or mid teens) but are definitely fixed in the last few versions (2.4.18 and 2.4.19), so I would recommend installing one of those. Look in the changelogs on www.kernel.org if you need to know the exact versions to use or avoid. It wasn't a distribution- specific problem, we had both Red Hat and Debian boxes with the same problem, and a new kernel was the cure for both. Amanda seems to bring out the problem since there are multiple processes simultaneously trying to allocate rather large buffers. Good luck, Frank --On Tuesday, October 08, 2002 02:37:49 + [EMAIL PROTECTED] wrote: My backups have recently slowed down... It is very peculiar and just started recently what seems to be out of the blue. The network clients are backing up at full speed but the file systems on the dump-host itself have slowed to about one quarter of their normal speed. I am using dump (as opposed to tar) and what I have observed is that a top shows kswapd and kreclaimd using 80% to 100% of the CPU when dump is running on the dump-host. I am running a dual 1Ghz PIII with 1G ram on the dump-host and top shows little (or no) swap space being used (though all of memory is used, but Linux does that no matter what). I am running redhat linux 7.2 with kernel: 2.4.7-10enterprise #1 SMP Thu Sep 6 16:48:20 EDT 2001 i686 unknown I am running: amanda-2.4.2p2-4.i386.rpm dump 0.4b31 (which is the latest dump according to: http://dump.sourceforge.net) I can't figure out what is causing kswapd and kreclaimd to go crazy when the dump program runs, and it only happens on the dump-host. The other 5 remote systems are all running Linux 7.2 or 7.3 and dump doesn't cause them any problems. I.e. kswapd doesn't even show up in a top on the remote machines when dump is running. Has anyone else ever experienced anything like this? Any suggestions what I can try to fix it? (Please don't suggest I use tar.) :) Let me know if I can provide any other details of interest. Thanks, Dick P.S. A sample of the output from top exhibits the problem: 8:24pm up 1:19, 2 users, load average: 3.19, 2.88, 2.46 110 processes: 108 sleeping, 2 running, 0 zombie, 0 stopped CPU0 states: 0.0% user, 83.0% system, 0.0% nice, 16.0% idle CPU1 states: 1.0% user, 92.0% system, 0.0% nice, 5.0% idle Mem: 1028364K av, 1020680K used,7684K free, 74916K shrd, 674280K buff Swap: 2104464K av,1144K used, 2103320K free 140432K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 5 root 19 0 00 0 SW 99.9 0.0 16:20 kswapd 6 root 18 0 00 0 SW 88.4 0.0 7:45 kreclaimd 2910 amanda 9 0 1320 1284 600 D14.8 0.1 4:07 dump 2970 rwk 13 0 1084 1080 832 R 4.1 0.1 0:00 top 1 root 9 0 520 520 452 S 0.0 0.0 0:08 init 2 root 9 0 00 0 SW0.0 0.0 0:00 keventd -- Frank Smith[EMAIL PROTECTED] Systems Administrator Voice: 512-374-4673 Hoover's Online Fax: 512-374-4501