Re: Gnutar not recognized
On Monday 15 July 2002 12:09, Scott Sanders wrote: not that I don't believe you, but I tried the --with-gnutar option with no luck? Definitely a valid point though about replace OS version software! As Jon says below, it needs to be in --with-gnutar=/usr/local/whatever/tar style... And some os supplied software, tar in particular, needs to be replaced without asking any questions if its not 1.13-xx where xx is 19 or greater. Earlier stuff has a bad log format among other things and will effectively prevent any recovery attempts. I think RH was still shipping the broken one as late as 7.0, but don't make me lay a hand on the good book when I say that. Jon LaBadie wrote: On Mon, Jul 15, 2002 at 09:33:20AM -0600, Scott Sanders wrote: I'm sure it had something to do with a PATH statement somewhere but the fix I found to work was move the original tar in /usr/bin and /usr/sbin and put links to the GNUtar in their place. I got this suggestion from the yahoo group surrounding amanda. Isn't the yahoo group just a reflection of this list? Many UNIX administrators would replacing the OS installed versions of anything improper. If there are differences in the vendor's tar and the gnutar you replace it with, it may affect other things of which you are unaware. configure has a specific option to tell it where the gnutar you want amanda to use is located. --with-gnutar=. It doesn't have to be in your PATH at all because it will be hardcoded during compile. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax) -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.06% setiathome rank, not too shabby for a WV hillbilly
(Aucun objet)
unsubscribe [EMAIL PROTECTED]
Strange tape problem
Hi, I have just set up amanda on my linux box here (Mandrake 8.2 with a Sun DLT4700 autochanger/DLT attached using the chg-zd-mtx). Everything appears to be working except that amdump/amflush can't find the right tape! I have run amlabel to label all the tapes in the rack (1-6 anyway cos 7 is a cleaning tape) and that worked fine. Here is the relevent part of the amanda.conf: dumpcycle 2 days# the number of days in the normal dump cycle runspercycle 20 # the number of amdump runs in dumpcycle days tapecycle 6 tapes # the number of tapes in rotation Amdump produces this report: *** A TAPE ERROR OCCURRED: [label Tape1 or new tape not found in rack]. Some dumps may have been left in the holding disk. Run amflush to flush them to tape. The next 2 tapes Amanda expects to used are: Tape1, Tape2. Yet if you use the amtape show command you get this: [root: DailySet1]# amtape DailySet1 show amtape: scanning all 6 slots in tape-changer rack: slot 3: date Xlabel Tape3 slot 4: date Xlabel Tape4 slot 5: date Xlabel Tape5 slot 6: date Xlabel Tape6 slot 1: date Xlabel Tape1 slot 2: date Xlabel Tape2 What's going on? Amanda is expecting Tape1 and amdump fails yet amtape quite clearly shows the tape in the slot! Cheers, Phil -- === Phil Launchbury, Senior Systems Administrator Wind River Systems UK Ltd [EMAIL PROTECTED]
Amcheck: acess denied
Hello all. I've been through this problem before, I just can't remember hoe I fixed it. I've reinstalled RH 7.3 and copied the conf files onto the new installation. When I run amcheck, I get the error: ERROR: merlin: [access as amanda not allowed from root@merlin] amandahostsauth failed I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? Reguards, Trevor.
Re: Amcheck: acess denied
Trevor Fraser wrote: Hello all. I've been through this problem before, I just can't remember hoe I fixed it. I've reinstalled RH 7.3 and copied the conf files onto the new installation. When I run amcheck, I get the error: ERROR: merlin: [access as amanda not allowed from root@merlin] amandahostsauth failed I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? Reguards, Trevor. Trevor run amcheck as the amanda user. -- martin
Re: chg-chio and barcode's
Yes - the main issue I had with 'mtx' was that it copied and '\0' terminated a buffer one-byte-too-far. I've send a patch to the MTX folks which fixes that. Dw. -- Dirk-Willem van Gulik On Mon, 15 Jul 2002, Jason Brooks wrote: Hello, I have just had this problem myself with chg-scsi not seeing my barcodes. I am working on a fix for this. To determine if your changer and barcode reader are functioning correctly, grab and compile mtx. You also can use mtx with chg-zd-mtx. --jason On Fri, Jun 28, 2002 at 03:16:31PM +0200, [EMAIL PROTECTED] wrote: Has anyone written barcode label support into chg-chio ? The library I've got here (HP Surestore 2x28 DLT) does not want to play with chg-scsi (on FreeBSD 4.5). The latter throws a coredump on the sense error messages. chg-chio works perfectly fine - but rather than use the barcode/labels - it actually needs to look on the tape for the labels. Which seems a bit of a pity. Thanks ! Dw. -- Dirk-Willem van Gulik
Amcheck: access denied
-I am running as root who is the dump user. -I've abled (disable = no) the amanda services.(amanda, amandaidx amidxtape) - Original Message - From: Trevor Fraser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 16, 2002 12:58 PM Subject: Amcheck: acess denied Hello all. I've been through this problem before, I just can't remember hoe I fixed it. I've reinstalled RH 7.3 and copied the conf files onto the new installation. When I run amcheck, I get the error: ERROR: merlin: [access as amanda not allowed from root@merlin] amandahostsauth failed I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? Reguards, Trevor.
Re: Amcheck: acess denied
Trevor Fraser wrote: Hello all. I've been through this problem before, I just can't remember hoe I fixed it. I've reinstalled RH 7.3 and copied the conf files onto the new installation. When I run amcheck, I get the error: ERROR: merlin: [access as amanda not allowed from root@merlin] amandahostsauth failed I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? two things: 1.) run amcheck as user amanda, but that's not your real problem, it's the folowing: 2.) the hostname in .amandahosts has to be exactly the name amcheck complains about in the errormessage, in your case only merlin, Christoph Reguards, Trevor.
Re: Amcheck: acess denied
In message 027101c22cb7$c4a9e0e0$[EMAIL PROTECTED], Trevor Fraser wri tes: I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? Permissions on the directory it's in? Check the debug files in /tmp/amanda. -s
Re: Amcheck: access denied
Trevor Fraser wrote: -I am running as root who is the dump user. -I've abled (disable = no) the amanda services.(amanda, amandaidx amidxtape) - Original Message - From: Trevor Fraser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 16, 2002 12:58 PM Subject: Amcheck: acess denied Hello all. I've been through this problem before, I just can't remember hoe I fixed it. I've reinstalled RH 7.3 and copied the conf files onto the new installation. When I run amcheck, I get the error: ERROR: merlin: [access as amanda not allowed from root@merlin] amandahostsauth failed your .amandahost entry for merlin should read: merlin amanda merlin root since that's what amcheck is complaining about ... Moreover launch amcheck as amanda user. Hery Zo I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? Reguards, Trevor. -- Hery Zo RAKOTONDRAMANANA 16 Rue Ratsimilaho, Antaninarenina, Madagascar Tel: +(261) 20 22 648 83 Fax: +(261) 20 22 661 83
Re: Amcheck: acess denied
I tried that, didn't work. Any other suggestions? Thanks, Trevor. - Original Message - From: Christoph Scheeder [EMAIL PROTECTED] To: Trevor Fraser [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, July 16, 2002 2:36 PM Subject: Re: Amcheck: acess denied Trevor Fraser wrote: Hello all. I've been through this problem before, I just can't remember hoe I fixed it. I've reinstalled RH 7.3 and copied the conf files onto the new installation. When I run amcheck, I get the error: ERROR: merlin: [access as amanda not allowed from root@merlin] amandahostsauth failed I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? two things: 1.) run amcheck as user amanda, but that's not your real problem, it's the folowing: 2.) the hostname in .amandahosts has to be exactly the name amcheck complains about in the errormessage, in your case only merlin, Christoph Reguards, Trevor.
Re: Amcheck: acess denied
I tried that, didn't work. Any other suggestions? Thanks, Trevor. - Original Message - From: Christoph Scheeder [EMAIL PROTECTED] To: Trevor Fraser [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, July 16, 2002 2:36 PM Subject: Re: Amcheck: acess denied Trevor Fraser wrote: Hello all. I've been through this problem before, I just can't remember hoe I fixed it. I've reinstalled RH 7.3 and copied the conf files onto the new installation. When I run amcheck, I get the error: ERROR: merlin: [access as amanda not allowed from root@merlin] amandahostsauth failed I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? two things: 1.) run amcheck as user amanda, but that's not your real problem, it's the folowing: 2.) the hostname in .amandahosts has to be exactly the name amcheck complains about in the errormessage, in your case only merlin, Christoph Reguards, Trevor.
Re: Amcheck: acess denied
I tried that, didn't work. Any other suggestions? Thanks, Trevor. - Original Message - From: Christoph Scheeder [EMAIL PROTECTED] To: Trevor Fraser [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, July 16, 2002 2:36 PM Subject: Re: Amcheck: acess denied Trevor Fraser wrote: Hello all. I've been through this problem before, I just can't remember hoe I fixed it. I've reinstalled RH 7.3 and copied the conf files onto the new installation. When I run amcheck, I get the error: ERROR: merlin: [access as amanda not allowed from root@merlin] amandahostsauth failed I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? two things: 1.) run amcheck as user amanda, but that's not your real problem, it's the folowing: 2.) the hostname in .amandahosts has to be exactly the name amcheck complains about in the errormessage, in your case only merlin, Christoph Reguards, Trevor.
Re: Amcheck: access denied
Hert, I tried that ,didn't change results. Any other suggestions? Thanks, Trevor
Re: Amcheck: access denied
Hi, Trevor Fraser wrote: -I am running as root who is the dump user. This means you have compiled amanda with --dump-user=root, did you? If yes, why is amandad setup to run as user amanda? This will not work. As you are using RH 7.3 have a look at the configfiles of xinetd. it usually has a subdirectory somewhere in /etc/xinetd containing the configs for the services to run. The user is setup there. and your .amandahosts has to be readable only by the backup-user. if it is group or world readable amanda refuses to use it. Christoph -I've abled (disable = no) the amanda services.(amanda, amandaidx amidxtape) - Original Message - From: Trevor Fraser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 16, 2002 12:58 PM Subject: Amcheck: acess denied Hello all. I've been through this problem before, I just can't remember hoe I fixed it. I've reinstalled RH 7.3 and copied the conf files onto the new installation. When I run amcheck, I get the error: ERROR: merlin: [access as amanda not allowed from root@merlin] amandahostsauth failed I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? Reguards, Trevor.
Re: Amcheck: acess denied
Trevor Fraser wrote: I tried that, didn't work. Any other suggestions? Thanks, Trevor. - Original Message - From: Christoph Scheeder [EMAIL PROTECTED] To: Trevor Fraser [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, July 16, 2002 2:36 PM Subject: Re: Amcheck: acess denied Trevor Fraser wrote: Hello all. I've been through this problem before, I just can't remember hoe I fixed it. I've reinstalled RH 7.3 and copied the conf files onto the new installation. When I run amcheck, I get the error: ERROR: merlin: [access as amanda not allowed from root@merlin] amandahostsauth failed I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? two things: 1.) run amcheck as user amanda, but that's not your real problem, it's the folowing: 2.) the hostname in .amandahosts has to be exactly the name amcheck complains about in the errormessage, in your case only merlin, Christoph Reguards, Trevor. Trevor What do the debug files say in /tmp/amanda on both the client and server? -- Martin
Re: Amcheck: acess denied
Hi Martin. Thanks for your reply. My amcheck.x.debug says: amcheck:debug 1pid 3541ruid 0euid 0start time Tue Jul 16 16:08:37 2002 amcheck:dgram_bind: socket bound to 0.0.0.0.698 =*this changes from debug to debug* amcheck:pid 3541 finish time Tue Jul 16 16:08:37 2002 Please find amamdad.xx.debug file attached. Thanks, Trevor. Trevor What do the debug files say in /tmp/amanda on both the client and server? -- Martin
Re: Strange tape problem
On Tuesday 16 July 2002 06:13, Phil Launchbury wrote: Hi, I have just set up amanda on my linux box here (Mandrake 8.2 with a Sun DLT4700 autochanger/DLT attached using the chg-zd-mtx). Everything appears to be working except that amdump/amflush can't find the right tape! I have run amlabel to label all the tapes in the rack (1-6 anyway cos 7 is a cleaning tape) and that worked fine. Here is the relevent part of the amanda.conf: dumpcycle 2 days# the number of days in the normal dump cycle runspercycle 20 # the number of amdump runs in dumpcycle days tapecycle 6 tapes # the number of tapes in rotation Amdump produces this report: *** A TAPE ERROR OCCURRED: [label Tape1 or new tape not found in rack]. Some dumps may have been left in the holding disk. Run amflush to flush them to tape. The next 2 tapes Amanda expects to used are: Tape1, Tape2. Yet if you use the amtape show command you get this: [root: DailySet1]# amtape DailySet1 show amtape: scanning all 6 slots in tape-changer rack: slot 3: date Xlabel Tape3 slot 4: date Xlabel Tape4 slot 5: date Xlabel Tape5 slot 6: date Xlabel Tape6 slot 1: date Xlabel Tape1 slot 2: date Xlabel Tape2 What's going on? Amanda is expecting Tape1 and amdump fails yet amtape quite clearly shows the tape in the slot! Didja change the tape label string specification to match something like ^Tape[0-9][0-9]? This is the labelstr line in amanda.conf, and mine, for DailySet1 looks like this: labelstr^DailySet1-[0-9][0-9]*$ # label constraint regex: all tapes must match From that, howto edit looks to be self-explanatory... -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.06% setiathome rank, not too shabby for a WV hillbilly
Taper Order
Hello List, I think I have seen this topic mentioned before but my memory fails me on this one. I am backing up several hosts and filesystems to my amanda server. I have one filesystem that is rather large circa 15G. It will fit on one tape but it needs most of the tape to do so(DDS3). I was thinking from an efficiency standpoint that if I could somehow get that fs written to tape first then as the others are written and the EOT is reached then when amanda moves to tape two it wouldn't have to re-write a huge fs. I don't think it can be as simple as ordering the disklist can it? Any ideas will be greatly appreciated. Again, I apologize for my lack of memory. Thanks, Jim
Re: Amcheck: access denied
On Tuesday 16 July 2002 08:40, Trevor Fraser wrote: -I am running as root who is the dump user. -I've abled (disable = no) the amanda services.(amanda, amandaidx amidxtape) None of this will run as root, but must be run as user amanda (or whatever name you gave it when it was configured) - Original Message - From: Trevor Fraser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 16, 2002 12:58 PM Subject: Amcheck: acess denied Hello all. I've been through this problem before, I just can't remember hoe I fixed it. I've reinstalled RH 7.3 and copied the conf files onto the new installation. When I run amcheck, I get the error: ERROR: merlin: [access as amanda not allowed from root@merlin] amandahostsauth failed I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? Reguards, Trevor. -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.06% setiathome rank, not too shabby for a WV hillbilly
Re: Amcheck: acess denied
On Tuesday 16 July 2002 06:58, Trevor Fraser wrote: Hello all. I've been through this problem before, I just can't remember hoe I fixed it. I've reinstalled RH 7.3 and copied the conf files onto the new installation. When I run amcheck, I get the error: ERROR: merlin: [access as amanda not allowed from root@merlin] amandahostsauth failed I've followed the installation guide and the docs say the .amandahosts file isn't configured properly or the inetd configuration file must have the wrong user name, I don't find such a file.. I've tried changing permissions (full permissions) on the .amandahosts file, but no luck. The file reads: merlin.systematic.lan root merlin.systematic.lanamanda What am I not doing? Reguards, Trevor. First, inetd seems to have been deprecated by RH and several others, in favor of xinetd, which has a control directory /etc/xinetd.d where customizable files that control how each utility runs are supposed to live. Processes there can be setup for running only on demand so they don't waste resources, and can be restricted as to who can run them etc etc. Those docs need to be brought uptodate by about 2 years worth of the march of linux progress. You will need within this directory, a file to advise it how to run the amanda daemons, and amanda herself. Here is mine for guideance: -- # default = off # # description: Part of the Amanda server package # This is the list of daemons such it needs service amanda { disable = no socket_type = dgram protocol= udp wait= yes user= amanda group = disk groups = yes server = /usr/local/libexec/amandad } service amandaidx { disable = no socket_type = stream protocol= tcp wait= no user= amanda group = disk groups = yes server = /usr/local/libexec/amindexd } service amidxtape { disable = no socket_type = stream protocol= tcp wait= no user= amanda group = disk groups = yes server = /usr/local/libexec/amidxtaped } Edit the server=, user=, and group= lines to suit your installation. -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.06% setiathome rank, not too shabby for a WV hillbilly
RE: C Compiler cannot create executables
I was also getting some advice from Jon LaBadie about which gcc pkg I used. I downloaded from sunfreeware, as I have done in the past but it wasn't working. I used the version from the companion cd, and on pkgadd, it listed 3 different dependencies I was missing, the gnu common pkg, a header pkg and an archived lib pkg. I installed all of those and voila! I can now ./config amanda... Thanks to all for your suggestions. I tried everything anyone threw my way. Just to add a little to Joshua's and Scott Sanders' recommendations, which are excellent. Rebecca, try looking at your config.log to see what error is created when configure attempted to test gcc. I have run into a situation with an incomplete Solaris 8 installation in which certain object files (used by both Sun's C compiler and gcc) where not installed. Consequently, compilation fails. These referenced object files reside in /usr/lib and /usr/ccs/lib with names values-Xa.o, values-Xc.o, values-Xs.o, values-Xt.o and values-xpg4.o.
Re: Strange tape problem
On Tue, 2002-07-16 at 15:50, Gene Heskett wrote: On Tuesday 16 July 2002 06:13, Phil Launchbury wrote: What's going on? Amanda is expecting Tape1 and amdump fails yet amtape quite clearly shows the tape in the slot! Didja change the tape label string specification to match something like ^Tape[0-9][0-9]? This is the labelstr line in amanda.conf, and mine, for DailySet1 looks like this: labelstr^DailySet1-[0-9][0-9]*$ # label constraint regex: all tapes must match Yes - I set up the tape label string in the amanda.conf.. Cheers, Phil. -- === Phil Launchbury, Senior Systems Administrator Wind River Systems UK Ltd [EMAIL PROTECTED]
Re: Strange tape problem
On Tuesday 16 July 2002 12:06, Phil Launchbury wrote: Yes - I set up the tape label string in the amanda.conf.. Then its probably safe to ignore me :-) -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.07% setiathome rank, not too shabby for a WV hillbilly
Missing files
I'm running: build: VERSION=Amanda-2.4.2p2 BUILT_DATE=Tue Feb 12 11:03:03 EST 2002 BUILT_MACH=SunOS foo.bar.com 5.6 Generic_105181-17 sun4u sparc SUNW,U\ ltra-250 CC=gcc paths: bindir=/usr/local/bin sbindir=/usr/local/sbin libexecdir=/usr/local/libexec mandir=/usr/local/man AMANDA_TMPDIR=/tmp/amanda AMANDA_DBGDIR=/tmp/amanda CONFIG_DIR=/usr/local/etc/amanda DEV_PREFIX=/dev/dsk/ RDEV_PREFIX=/dev/rdsk/ DUMP=/usr/sbin/ufsdump RESTORE=/usr/sbin/ufsrestore GNUTAR=/usr/local/alpha-tar/bin/tar COMPRESS_PATH=/usr/local/bin/gzip UNCOMPRESS_PATH=/usr/local/bin/gzip MAILER=/usr/ucb/Mail listed_incr_dir=/usr/local/var/amanda/gnutar-lists defs: DEFAULT_SERVER=foo.bar.com DEFAULT_CONFIG=Foo DEFAULT_TAPE_SERVER=foo.bar.com DEFAULT_TAPE_DEVICE=/dev/rmt/0bn HAVE_MMAP HAVE_SYSVSHM LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS CLIENT_LOGIN=backup FORCE_USERID HAVE_GZIP COMPRESS_SUFFIX=.gz COMPRESS_FAST_OPT=--fast COMPRESS_BEST_OPT=--best UNCOMPRESS_OPT=-dc Alpha-tar is usr/local/alpha-tar/bin/tar --version tar (GNU tar) 1.13.25 Here is my problem. I am trying to back up several directory, the directory structure is tarred but several subdirectories are empty or missing files. For example I am trying to backup the following directory: (from disklist) db1 /oracle/oracle1/app/oracle/adminuser-tar doing a df in that directory on the remote box, I get this: df /oracle/oracle1/app/oracle/admin/vault /oracle/oracle1(/dev/vx/dsk/oracle-1): 348244 blocks 514315 files These are the contents of the directory. bash-2.05a# ls -l total 10 drwxr-xr-x 2 oracle dba 512 Apr 30 2001 bdump drwxr-xr-x 2 oracle dba 512 Aug 8 2000 cdump drwxr-xr-x 2 oracle dba 512 Aug 8 2000 create drwxr-xr-x 2 oracle dba 512 Aug 8 2000 pfile drwxr-xr-x 2 oracle dba 1024 Jun 13 10:55 udump Amrecover from the remote machine is able to get this far, but when I ls using amrecover into say the directory bdump I get this: amrecover ls 2002-07-16 . 2002-07-16 alert_vault.log but when I do an ls on the actual directory I get this: bash-2.05a# cd bdump/ bash-2.05a# ls -l total 115728 -rw-r--r-- 1 oracle dba 58869186 Jul 16 12:11 alert_vault.log -rw-r- 1 oracle dba 319959 Apr 30 2001 vault_ora_16897.trc It never backs up the vault_ora_16897.trc file. I've added the backup user to the root, bin, and dba groups thinking it was a permission thing. I don't see any errors in the amanda debug files. I'm wondering why Amanda is just randomly missing files. Anyone else have this same problem? Any work arounds. Jose L. Rivas
Re: Strange tape problem
On Tue, Jul 16, 2002 at 05:06:31PM +0100, Phil Launchbury wrote: On Tue, 2002-07-16 at 15:50, Gene Heskett wrote: On Tuesday 16 July 2002 06:13, Phil Launchbury wrote: What's going on? Amanda is expecting Tape1 and amdump fails yet amtape quite clearly shows the tape in the slot! Didja change the tape label string specification to match something like ^Tape[0-9][0-9]? This is the labelstr line in amanda.conf, and mine, for DailySet1 looks like this: labelstr^DailySet1-[0-9][0-9]*$ # label constraint regex: all tapes must match Yes - I set up the tape label string in the amanda.conf.. Just in case, could you show us your labelstr line? Also, from your first posting, dumpcycle 2 days# the number of days in the normal dump cycle runspercycle 20 # the number of amdump runs in dumpcycle days tapecycle 6 tapes # the number of tapes in rotation Those are wierd and improper settings. It says you will get a level zero (full) dumps every 2 days. During those 2 days you are going to run amdump 10 times a day. And you will be overwriting your 6 tapes 3+ times in every 2 day dumpcyle. Don't sound kosher to me :)) jl -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
tapelist query
Hi, I've been pre labeling some tapes to do backups for 6 day cycle, with a tape cycle of 7 tapes (I'm currently testing at present). cut dumpcycle 6 days runspercycle 6 tapecycle 7 tapes cut Ive just pre labeled all the tapes using: /usr/sbin/amlabel DailySet DailySet-01 ... and so forth thru to 07 I have just check /etc/amanda/DailySet and noted two files: tapelist tapelist.amlabel the file called: tapelist lists all 7 tapes, but the file called 'tapelist.amlabel' only lists 6. I've looked thru all the man pages and cannot find any reference to why this has been done. Am I correct in thinking that 'tapelist.amlabel' are the labeled tapes to use in the dumpcyle and the 'tapelist' file is a list of 'all' available tape that amanda can use if needs be? Could anyone passably enlighten me. Cheers Mark -- --- To steal ideas from one person is plagiarism; to steal from many is research.
Re: tapelist query
On Wed, Jul 17, 2002 at 03:33:54AM +0100, Mark Cooke wrote: Hi, I've been pre labeling some tapes to do backups for 6 day cycle, with a tape cycle of 7 tapes (I'm currently testing at present). cut dumpcycle 6 days runspercycle 6 tapecycle 7 tapes cut Ive just pre labeled all the tapes using: /usr/sbin/amlabel DailySet DailySet-01 ... and so forth thru to 07 I have just check /etc/amanda/DailySet and noted two files: tapelist tapelist.amlabel the file called: tapelist lists all 7 tapes, but the file called 'tapelist.amlabel' only lists 6. amlabel copies the current tapelist to tapelist.amlabel before creating an updated tapelist. Not used otherwise. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)