I need help getting amanda working
Ok, I don't quite understand things I guess. The week before last, I couldn't get amanda to work because it didn't want to overwrite the tape I had used to run amcheck with. So, I relabeled the tape, and set things up to run again. This time, I get back in to work today and go through the log files generated (for some reason I can't get them with amreport this time, but that's not part of this). This time is says, it can't overwrite an active tape. Why not? Aren't they supposed to be active? What is going wrong here? Andy
Re: I need help getting amanda working
On Mon, 13 May 2002, Andrew Falanga wrote: Ok, I don't quite understand things I guess. The week before last, I couldn't get amanda to work because it didn't want to overwrite the tape I had used to run amcheck with. So, I relabeled the tape, and set things up to run again. This time, I get back in to work today and go through the log files generated (for some reason I can't get them with amreport this time, but that's not part of this). This time is says, it can't overwrite an active tape. Why not? Aren't they supposed to be active? What is going wrong here? Andy It sounds like you're in a testing mode right now. It would also help us to figure out the exact problem if you included the error message and what your dumpcycle and tapecycle are in your amanda.conf file. If you want to remove the tape in a brute force manner, you could remove it out of the tapelist file. However, keep in mind that the strategy with Amanda is to tell it how many tapes you're going to use over a time period and once those tapes are properly labeled, Amanda will tell you which tape it wants next. e.g. I'm on a 15 tape, 3 week cycle, labeled 'VOL[1-3][1-5]' (1st Monday is VOL11). If I try to put in VOL 22 on a Monday, Amanda will not dump it to the tape but it will dump it to the holding disk. Time for some coffee ... -- ~~ Doug Silver Network Manager Urchin Corporation http://www.urchin.com ~~
Re: I need help getting amanda working
It sounds like you're in a testing mode right now. It would also help us to figure out the exact problem if you included the error message and what your dumpcycle and tapecycle are in your amanda.conf file. If you want to remove the tape in a brute force manner, you could remove it out of the tapelist file. However, keep in mind that the strategy with Amanda is to tell it how many tapes you're going to use over a time period and once those tapes are properly labeled, Amanda will tell you which tape it wants next. e.g. I'm on a 15 tape, 3 week cycle, labeled 'VOL[1-3][1-5]' (1st Monday is VOL11). If I try to put in VOL 22 on a Monday, Amanda will not dump it to the tape but it will dump it to the holding disk. Time for some coffee ... That's just it. I'm not getting any error's. Nothing. I'm not getting any mail sent to user amanda. I've thined out the comments from my conf file, and I'm pasting that in to this message. I don't get it. Andy org TestSet1 # your organization name for reports mailto afalanga # space separated list of operators at your site dumpuser amanda # the user to run dumps under inparallel 4# maximum dumpers that will run in parallel netusage 600 Kbps # maximum net bandwidth for Amanda, in KB per sec dumpcycle 5 days# the number of days in the normal dump cycle runspercycle 0 # the same as dumpcyle tapecycle 5 tapes # the number of tapes in rotation bumpsize 20 Mb # minimum savings (threshold) to bump level 1 - 2 bumpdays 1 # minimum days at each level bumpmult 4 # threshold = bumpsize * bumpmult^(level-1) etimeout 300# number of seconds per filesystem for est. runtapes 1 # number of tapes to be used in a single run of amdump # Tape dev info tapedev /dev/nst0 # non-rewinding tape device block name tapetype DEC-DLT2000# what kind of tape it is (see tapetypes below) labelstr ^TestSet1[0-9][0-9]*$# label constraint regex: all tapes must match holdingdisk hd2 { comment main holding disk directory /mnt/holding-tank # mount point of holding disk use 17 Gb } logdir /var/amanda/log # log directory infofile /var/amanda/log/TestSet1/curinfo # database filename indexdir /var/amanda/log/TestSet1/index # index directory # tapetypes define tapetype DEC-DLT2000 { comment DEC Differential Digital Linear Tape 2000 length 15000 mbytes filemark 8 kbytes speed 1250 kbytes } define dumptype global { index yes record no } define dumptype comp-test { comment test dump with compression, no /etc/dumpdates recording compress client fast } define dumptype local { comment dump of local file systems compress server best } # network interfaces define interface local { comment a local disk use 1000 kbps } define interface eth0 { comment 100 Mbps ethernet use 400 kbps }
Re: I need help getting amanda working
On Mon, 13 May 2002, Andrew Falanga wrote: That's just it. I'm not getting any error's. Nothing. I'm not getting any mail sent to user amanda. I've thined out the comments from my conf file, and I'm pasting that in to this message. I don't get it. Andy org TestSet1 # your organization name for reports mailto afalanga # space separated list of operators at your site dumpuser amanda # the user to run dumps under inparallel 4# maximum dumpers that will run in parallel netusage 600 Kbps # maximum net bandwidth for Amanda, in KB per sec dumpcycle 5 days# the number of days in the normal dump cycle runspercycle 0 # the same as dumpcyle tapecycle 5 tapes # the number of tapes in rotation bumpsize 20 Mb # minimum savings (threshold) to bump level 1 - 2 bumpdays 1 # minimum days at each level bumpmult 4 # threshold = bumpsize * bumpmult^(level-1) etimeout 300# number of seconds per filesystem for est. runtapes 1 # number of tapes to be used in a single run of amdump [snip] logdir /var/amanda/log # log directory infofile /var/amanda/log/TestSet1/curinfo # database filename indexdir /var/amanda/log/TestSet1/index # index directory [snip] Well your configuration looks okay. So when you run 'amcheck TestSet1' it checks out okay and 'amdump TestSet1' nothing happens?? I'd look in the various configuration areas, i.e. /tmp/Amanda and /var/amanda/log/TestSet1 for information as to what Amanda is doing -- or not doing. -- ~~ Doug Silver Network Manager Urchin Corporation http://www.urchin.com ~~
Re: I need help getting amanda working
Is '0' a valid number for runspercycle (that's a rhetorical question for the developers on the list)? You're telling planner that Amanda is run 0 times during the 5 days of your dumpcycle. It might not be the reason you get no output, but if you're trying to do what I think you are (i.e. run Amanda 5 days a week), you should have a dumpcycle of 7 and a runspercycle of 5. You probably also want a larger tapecycle, since with 5 tapes for 5 runs you will be overwriting the only level 0 of some of your filesystems each day, and if it should fail you will not be able to restore all of your disks. Frank --On Monday, May 13, 2002 15:35:32 -0700 Doug Silver [EMAIL PROTECTED] wrote: On Mon, 13 May 2002, Andrew Falanga wrote: That's just it. I'm not getting any error's. Nothing. I'm not getting any mail sent to user amanda. I've thined out the comments from my conf file, and I'm pasting that in to this message. I don't get it. Andy org TestSet1 # your organization name for reports mailto afalanga # space separated list of operators at your site dumpuser amanda # the user to run dumps under inparallel 4# maximum dumpers that will run in parallel netusage 600 Kbps # maximum net bandwidth for Amanda, in KB per sec dumpcycle 5 days# the number of days in the normal dump cycle runspercycle 0 # the same as dumpcyle tapecycle 5 tapes # the number of tapes in rotation bumpsize 20 Mb # minimum savings (threshold) to bump level 1 - 2 bumpdays 1 # minimum days at each level bumpmult 4 # threshold = bumpsize * bumpmult^(level-1) etimeout 300# number of seconds per filesystem for est. runtapes 1 # number of tapes to be used in a single run of amdump [snip] logdir /var/amanda/log # log directory infofile /var/amanda/log/TestSet1/curinfo # database filename indexdir /var/amanda/log/TestSet1/index # index directory [snip] Well your configuration looks okay. So when you run 'amcheck TestSet1' it checks out okay and 'amdump TestSet1' nothing happens?? I'd look in the various configuration areas, i.e. /tmp/Amanda and /var/amanda/log/TestSet1 for information as to what Amanda is doing -- or not doing. -- ~~ Doug Silver Network Manager Urchin Corporationhttp://www.urchin.com ~~ -- Frank Smith[EMAIL PROTECTED] Systems Administrator Voice: 512-374-4673 Hoover's Online Fax: 512-374-4501