Re: Restoring files from amanda in a script
Charles Curley wrote: > I have not had this problem. I wonder if you can use expect to > control an amrecover session. Along these lines you could use here documents: https://en.wikipedia.org/wiki/Here_document then modify them using editing macros. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: amanda tape algorithm
Ned Danieley wrote: > ah, that makes sense. no, I haven't run 'amtapetype'; I just assumed that > the rated capacity would be accurate. I'll give it a try; in the meantime, > has anyone run 'amtapetype' on an LTO6 tape? I have an HP Ultrium 6 drive. I did and got: define tapetype LTO6 { comment "Created by amtapetype; compression disabled" length 2442954880 kbytes filemark 7456397 kbytes speed 154519 kps blocksize 32 kbytes } Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Problem backing up the tape host.
Did you put auth "local" in your dumptype? Here's mine: define dumptype comp-integ-root-tar { global program "GNUTAR" comment "root partitions with compression" compress client fast priority low auth "local" } Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Amcheck Fails on Amanda 3.5
Commenting out these lines: if (geteuid() == 0 || getuid() == 0) { error(_("amservice must not be setuid root")); } in these modules: common-src/amservice.c server-src/amcheck.c server-src/dumper.c server-src/planner.c allowed amdump 3.5 to complete successfully as user root. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Amcheck Fails on Amanda 3.5
Jean-Louis Martineau writes: > It will fail, there is similar code in planner.c, driver.c and > amservice.c Found it in planner.c and amservice.c but not in driver.c. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Amcheck Fails on Amanda 3.5
Jean-Louis Martineau writes: > I'm wondering if I should patch amanda to allow it. Perhaps a warning that it's BAD instead of this misleading error. > Anyway, you can try to remove the check in server-src/amcheck.c, but it > might fail somewhere else. Done, amcheck runs now. I'll do the amdump tonight and let you know how it goes. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Amcheck Fails on Amanda 3.5
Trying amanda 3.5 on Centos 7.4.1708. Did: ./configure --with-user=root --with-group=root --with-config=gen2 --with-bsd-security --with-amandahosts --prefix=/local compiled and installed. Tried to run amcheck: /local/sbin/amcheck -c gen2 got: ** (process:15340): CRITICAL **: amcheck must not be setuid root Googling brought me no joy. Many posts on "amcheck must be setuid root" but none on "amcheck must not be setuid root." Here are the permissions on amcheck: -rwxr-xr-x 1 root root 200304 Sep 29 09:16 /local/sbin/amcheck it doesn't look to be setuid to me so I'm confused about this error. Thanks, Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Another 3.4 Issue
Jean-Louis Martineau wties: > I committed the attached patch to fix the bug. Thank you Jean-Louis. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Another 3.4 Issue
When I do amcheck -m -c I get an email that says: (brought to you by Amanda 3.4) even though no problems are found. From the amcheck man page: -m Nothing is printed, but mail is sent if any errors are detected. The mail goes to the mailto address specified in the amanda.conf file or the address value if -M is set. So I'd consider this to be a bug, albeit a small one. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Amrecover Issue in 3.4
Debra S Baddorf wrote to me: > When somebody in charge finally reads your notes, I'm sure > they'll agree. Not sure if that's what's slowing down amrecover but the 3.4 version is much slower than the 3.3.9 one I was using. Maybe that problem will go away when all my backups are done with 3.4. > I've never seen those numbers. (I'm only at 3.3.8) There seems to be no auth = bsd (only auth = bsdtcp) in 3.4 so be prepared to change that if you decide to upgrade. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Amrecover Issue in 3.4
These numbers slow things down and don't provide information I need. An option to turn them off seems appropriate. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Amrecover Issue in 3.4
The amrecover prompt returned at 595007296 kb, after 3 hours. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Amrecover Issue in 3.4
On a test restore the numbers got to 67971072 kb before the file restored, it took 20 minutes. My concern is after the file restored the numbers continued to grow without ending. Prior versions eventually gave me the amrecover prompt back. Having to ^C out each time would be a pain. This is an LTO6 drive with e/sata interface. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Amrecover Issue in 3.4
I upgraded to 3.4 and found amrecover to be quite a bit slower. Perhaps someone thinks we need to watch it read the tapes. Is there some way to turn off these numbers? Extracting files using tape drive /dev/changer on host serendipity.med.utah.edu. Load tape gen2011 now Continue [?/Y/n/s/d]? Restoring files into directory /tmp All existing files in /tmp can be deleted Continue [?/Y/n]? 411840 kb 435424 kb 880064 kb 901248 kb (30 minutes or more of this) ./users/backus/.cshrc <--file I asked to be restored 69142720 kb 69251904 kb 70801632 kb (an hour or so of this) 385915232 kb 38632 kb (still going...) Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Badly Formatted Response Message
I've received the following message twice now: FAILURE DUMP SUMMARY: planner: ERROR badly formatted response from unity.med.utah.edu unity.med.utah.edu /home2/raid7/gen25 lev 0 FAILED [badly formatted response from unity.med.utah.edu] The amandad debug file says: OPTIONS features=9ffe00; FORMAT ERROR IN REQUEST PACKET > amandad: time 0.066: dgram_send_addr(addr=0x8407260, dgram=0x28b524) amandad: time 0.066: (sockaddr_in *)0x8407260 = { 2, 820, 155.100.158.40 } amandad: time 0.066: dgram_send_addr: 0x28b524->socket = 0 amandad: time 0.066: sending REP pkt: < FORMAT ERROR IN REQUEST PACKET > amandad: time 0.066: dgram_send_addr(addr=0x8407260, dgram=0x28b524) amandad: time 0.066: (sockaddr_in *)0x8407260 = { 2, 820, 155.100.158.40 } amandad: time 0.066: dgram_send_addr: 0x28b524->socket = 0 amandad: time 0.067: dgram_recv(dgram=0x28b524, timeout=0, fromaddr=0x29b510) amandad: time 0.067: (sockaddr_in *)0x29b510 = { 2, 820, 155.100.158.40 } amandad: time 0.067: received ACK pkt: -- I'm running amanda version 3.3.8, any ideas? TIA. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Quantum Superloader 3 - configuration
When running amtapetype in June of 2014 I got: -> amtapetype -f /dev/st0 Device is busy. Amtapetype will retry forever; hit ctrl-C to quit. Drive was busy for 38 seconds. If this device is used in a changer, you may want to set timeouts appropriately. Checking for FSF_AFTER_FILEMARK requirement Applying heuristic check for compression. Wrote random (uncompressible) data at 145956737.969231 bytes/sec Wrote fixed (compressible) data at 148237312 bytes/sec Compression: disabled Writing one file to fill the volume. File 1, block 38947409 Wrote 2501585797120 bytes at 154519 kb/sec Writing smaller files (25015844864 bytes) to determine filemark. define tapetype unknown-tapetype { comment "Created by amtapetype; compression disabled" length 2442954880 kbytes filemark 7456397 kbytes speed 154519 kps blocksize 32 kbytes } # LEOM is not supported for this drive and kernel -- Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Hanging Amanda Problem
Jean-Louis Martineau wries: > Do any processes use CPU? (ps, top command) > What are they doing? (strace command) > Do the index file grow? Backing up a smaller portion of the drive last night using tar 1.28 was successful. I probably just didn't give it enough time to create the indexes previously, there are a lot of files. Thanks for the help! Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Amanda Taking a Long Time to Back Up RAID
After adding a new drive to my disklist amanda appears to hang while backing it up. The client log shows: sendbackup: time 0.033: argument list: runtar gen2 gtar --create --file - --directory /home2 --one-file-system --listed-incremental /usr/local/var/amanda/gnutar-lists/eclectic.med.utah.edu_home2_0.new --sparse --ignore-failed-read --totals . sendbackup-gnutar: time 0.033: /usr/local/libexec/runtar: pid 21938 sendbackup: time 0.033: started backup sendbackup: time 0.033: started index creator: "/bin/gtar -tf - 2>/dev/null | sed -e 's/^\.//'" -- then it hangs. It's a big disk, about 5TB, but I've let run for a day or longer. Next I updated the client and tried excluding half the disk, but it still hangs: Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: pid 7867 ruid 0 euid 0 version 3.3.7p1: start at Sat Oct 31 19:42:45 2015 Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: Version 3.3.7p1 Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: pid 7867 ruid 0 euid 0 version 3.3.7p1: rename at Sat Oct 31 19:42:45 2015 Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: Parsed request as: program `GNUTAR' Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: disk `/home2' Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: device `/home2' Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: level 0 Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: since NODATE Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: options `' Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: datapath `AMANDA' Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: start: eclectic.med.utah.edu:/home2 lev 0 Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: Spawning "/usr/bin/gzip /usr/bin/gzip --fast" in pipeline Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: gnutar: pid 7869: /usr/bin/gzipSat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: pid 7869: /usr/bin/gzip --fast Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: doing level 0 dump as listed-incremental to '/local/var/amanda/gnutar-lists/eclectic.med.utah.edu_home2_0.new' Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: Spawning "/local/libexec/amanda/runtar runtar gen2 /bin/gtar --create --file - --directory /home2 --one-file-system --listed-incremental /local/var/amanda/gnutar-lists/eclectic.med.utah.edu_home2_0.new --sparse --ignore-failed-read --totals --exclude-from /tmp/amanda/sendbackup._home2.20151031194245.exclude ." in pipeline Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: gnutar: /local/libexec/amanda/runtar: pid 7871 Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: Started backup Sat Oct 31 19:42:45 2015: thd-0x165d920: sendbackup: Started index creator: "/bin/gtar -tf - 2>/dev/null | sed -e 's/^\.//'" -- The server is version 3.3.7, tar is tar (GNU tar) 1.23. Thanks for any help. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Restore Problem
Jean-Louis Martineau wrote: > Maybe your disk was corrupted before that backup was done, and the > backup is corrupted. > Try to restore from an older backup. Thanks Jean-Louis, that did it. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Restore Problem
I'm having a problem with a restore: /local/sbin/amrecover gen2 -oauth=local AMRECOVER Version 3.3.7. Contacting server on serendipity.med.utah.edu ... 220 serendipity AMANDA index server (3.3.7) ready. Setting restore date to today (2015-10-08) 200 Working date set to 2015-10-08. 200 Config set to gen2. 200 Dump host set to serendipity.med.utah.edu. Use the setdisk command to choose dump disk to recover amrecover> sethost unity 501 Host unity is not in your disklist. Trying host unity.med.utah.edu ... 200 Dump host set to unity.med.utah.edu. amrecover> setdisk /home1 200 Disk set to /home1. amrecover> cd gen25/craig/cidr_gwas_may2015/ /home1/gen25/craig/cidr_gwas_may2015 amrecover> add process.sh Added file /gen25/craig/cidr_gwas_may2015/process.sh amrecover> extract Extracting files using tape drive /dev/changer on host serendipity.med.utah.edu.The following tapes are needed: gen2053 Load tape gen2053 now Continue [?/Y/n/s/d]? Restoring files into directory /raid7/Oct8restore2 All existing files in /raid7/Oct8restore2 can be deleted Continue [?/Y/n]? ./gen25/craig/cidr_gwas_may2015/process.sh -- The file is restored: -rw-rw-r-- 1 craig analysis 5385 Jun 17 09:38 process.sh but is not a text file: file process.sh process.sh: data -- The problem happens on numerous files, it's not just this one. Any idea on this? The disk failed and this restore is quite urgent. The command tar --version returns tar (GNU tar) 1.15.1 and I'm using amanda 3.3.7. Thanks, Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Continuing problem with mixed Windows/Unix backups
Once amanda completely hung for me and the log said "getting estimate" on one of the hosts, it was caused by a hung NFS mount. My clients are all Red Hat so I'm not sure about the Windows client. Perhaps a samba issues? Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: A heads up about the end of DST while amanda is running
Gene Heskett writes: > Did anyone else have an amdump session running at 2 am Sunday? Did it > work, or blow up? Degraded dump worked great here (I flush twice weekly): -rw--- 1 root root 1073741824 Nov 2 01:56 unity.med.utah.edu._home1.0.50 -rw--- 1 root root 1073741824 Nov 2 01:58 unity.med.utah.edu._home1.0.51 -rw--- 1 root root 1073741824 Nov 2 01:59 unity.med.utah.edu._home1.0.52 -rw--- 1 root root 1073741824 Nov 2 01:01 unity.med.utah.edu._home1.0.53 -rw--- 1 root root 1073741824 Nov 2 01:02 unity.med.utah.edu._home1.0.54 -rw--- 1 root root 1073741824 Nov 2 01:04 unity.med.utah.edu._home1.0.55 -rw--- 1 root root 1073741824 Nov 2 01:05 unity.med.utah.edu._home1.0.56 amdump --version reports amdump-3.3.6 Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Amanda Not Saving Any Files
> What's hang on complexity.med.utah.edu? > A stale NFS can make amanda hang Yes that was the problem. I'll fix the NFS problem and re-try the dump, then let you know if there any other issues. Thanks Jean-Louis. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Amanda Not Saving Any Files
Yesterday my backups started at 5:00 PM and didn't save any data by 9:30 PM so I restarted them. This morning after 8 hours still nothing has been saved. The holding disk contains these files: drwx-- 2 root root 4096 Aug 5 21:30 20140805213001 In there is one file: -rw--- 1 root root5 Aug 5 21:30 pid I'm using 3.3.6 and this has happened a couple of times since I upgraded to this version. Amanda starts but doesn't save any files. Thanks for any help. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Warning on Version of tar When Compiling 3.3.6
When compiling 3.3.6 I received the message: > WARNING: /bin/tar is not bsdtar, so it will not be used. What tar is it going to use if not that one? The command: /bin/tar --version returns: tar (GNU tar) 1.15.1 I thought that was a good tar to use. What's the right one? Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: LTO6 Tapetype?
As suggested, I ran amtapetype on my Superloader 3 LTO6 drive. It took ~6 hours, here's the output: -> amtapetype -f /dev/st0 Device is busy. Amtapetype will retry forever; hit ctrl-C to quit. Drive was busy for 38 seconds. If this device is used in a changer, you may want to set timeouts appropriately. Checking for FSF_AFTER_FILEMARK requirement Applying heuristic check for compression. Wrote random (uncompressible) data at 145956737.969231 bytes/sec Wrote fixed (compressible) data at 148237312 bytes/sec Compression: disabled Writing one file to fill the volume. File 1, block 38947409 Wrote 2501585797120 bytes at 154519 kb/sec Writing smaller files (25015844864 bytes) to determine filemark. define tapetype unknown-tapetype { comment "Created by amtapetype; compression disabled" length 2442954880 kbytes filemark 7456397 kbytes speed 154519 kps blocksize 32 kbytes } # LEOM is not supported for this drive and kernel -- Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
LTO 6 Tapetype?
I'm setting up a Storageloader 3 LTO 6 and was wondering if anyone had a tapetype for this. Thanks. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Amrecover Crashing
I wrote about woes of amrecover crashing because of control characters in the filenames being restored and Jean-Louis replied: > Try to set the locale to 'C', gnu tar should convert all control > character to octal value. I wanted everyone to know this worked great. I found a good document about how to do it: system% unsetenv LC_ALL LANG LC_CTYPE LC_COLLATE LC_NUMERIC \ LC_TIME LC_MONETARYLC_MESSAGES system% setenv LC_ALL C system% setenv LANG C system% locale > The other option is to recompile 'amgtar', removing the 'v' flag to > gnutar when restoring. I did not try this, I wonder if it would speed up the restores? Anyway thanks as always, amanda is a great product and this list is always helpful. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Amrecover Crashing
Jean-Louis writes: > Which amanda version are you using? amanda-3.3.5 > When did it crash? When amrecover was restoring the file. The debug log doesn't say where, nor does the gdb "bt" command. > Do you know the character set of that filename? The control characters are listed here: /Uinfo18/prog/get_can_frelaU/\330\264\345\277\364\265\345\277 \330 \264 etc. > Try to set the locale to the same character set before running amrecover. It isn't that the locale is incorrect, it's that spurious control characters were accidentally generated for a filename. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Amrecover Crashing
I'm trying to restore files from a disk that failed. The restore crashes when it reaches a file which has control characters in the filename: /Uinfo18/prog/get_can_frelaU/\330\264\345\277\364\265\345\277 The terminal freezes, amrecover crashes, I'm dead in the water. I tried running it in gdb and the same thing happened, but I was able to attach to the process and do a bt: #0 0x00374f03079a in sigsuspend () from /lib64/libc.so.6 #1 0x0047bee1 in ?? () #2 0x004800d6 in ?? () #3 0x0053c47d in target_wait () #4 0x00516f70 in wait_for_inferior () #5 0x0051719c in proceed () #6 0x0050e5a3 in ?? () #7 0x0044ec1d in execute_command () #8 0x00524c79 in ?? () #9 0x005256c0 in ?? () #10 0x003751026424 in rl_callback_read_char () from /usr/lib64/libreadline.so.5 #11 0x00524da9 in ?? () #12 0x00523891 in ?? () #13 0x0052482e in gdb_do_one_event () #14 0x0051ef0b in catch_errors () #15 0x004ac9ed in ?? () #16 0x004462a9 in ?? () #17 0x0051ef0b in catch_errors () #18 0x0044695b in ?? () #19 0x0051ef0b in catch_errors () #20 0x00446084 in gdb_main () #21 0x00446052 in main () -- It's hard to debug the problem with the terminal crashing like that. Is there a way to suppress the output so this doesn't happen? Better yet, have Amanda not crash the terminal when there's control characters in the filename? Thanks, Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: recommendations for tape libraries and tapes
I recommend the Tandberg Storageloader line. I've had my LTO-4 HH 10 tape library for many years. When it stopped working Tandberg repaired it for a flat rate of $1400, the refurbished drive has been great. An internet search will bring up numerous size choices. Another department here recently upgraded from LTO-4 to LT0-6 and although they weren't happy with the speed increase, the added capacity (approximately 4X the LT0-4) made it worthwhile. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Release of 3.3.6?
> Jean-Louis writes: > > ...This is already fixed in SVN, the fix will be in 3.3.6 Do we have a date for the blessed event? I have a few patches I need to make sure get in there and I'd like to take that off my to-do list. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: mailing list not responsive ??
Gene writes: > You may have posted, but those messages aren't showing up here. > IOW, this is the first post from you. I can post to the list from my "gateway" machine but if I try from any machine behind the front door firewall, it doesn't get through. I believe the smtp port on your posting machine must be open in order for it to work, just a guess though. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Transient data-path errors when running amcheck
Jean-Louis writes: > Let me know if the patch works or not. There were 3 patches: 1. Transient data-path errors when running amcheck 2. amtape-shows-slot-empty-but-mtx-doesn-t 3. chg-robot retry the mtx command if it failed with 'No Sense' -- All the patches worked great, I'm all fixed up now. Thanks Jean-Louis. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Transient data-path errors when running amcheck
> The complete output of mtx is not logged, run it on the command line to > get the complete output: > /usr/sbin/mtx -f /dev/changer nobarcode status Storage Changer /dev/sg6:1 Drives, 7 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Storage Element 1 Loaded) Storage Element 1:Empty Storage Element 2:Full Storage Element 3:Full Storage Element 4:Full Storage Element 5:Full Storage Element 6:Full Storage Element 7:Full > 'it always works the 2nd time', Did it always works the 3rd and 4th > time? Yes, after the first fail, it always works. Then several days later I try switching tapes and it fails again the first time and always works again after that. > When is the first time? The "first time" is Monday morning after I've done a dump to the holding disk. I do 6 amdumps during the week: M degraded T flush to tape W degraded Th degraded F flush to tape S degraded Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Transient data-path errors when running amcheck
> Amanda can't fix bug in the scsi hardware/firmware. It's possible there's a scsi bug but since it always works the 2nd time hopefully more of a timing issue. > Post the amtape debug file when it fail. amtape.20140106091626.debug: Mon Jan 6 09:16:26 2014: thd-0xe1ff960: amtape: pid 12109 ruid 0 euid 0 version 3.3.5: start at Mon Jan 6 09:16:26 2014 Mon Jan 6 09:16:26 2014: thd-0xe1ff960: amtape: Arguments: gen slot 1 Mon Jan 6 09:16:26 2014: thd-0xe1ff960: amtape: pid 12109 ruid 0 euid 0 version 3.3.5: rename at Mon Jan 6 09:16:26 2014 Mon Jan 6 09:16:26 2014: thd-0xe1ff960: amtape: chg-robot: using statefile '/local/etc/amanda/gen/changer-state' Mon Jan 6 09:16:26 2014: thd-0xe1ff960: amtape: invoking /usr/sbin/mtx -f /dev/changer nobarcode status Mon Jan 6 09:16:26 2014: thd-0xe1ff960: amtape: new Amanda::Changer::Error: type='fatal', message='error from mtx: SCSI error; Sense Key=No Sense' Mon Jan 6 09:16:26 2014: thd-0xe1ff960: amtape: pid 12109 finish time Mon Jan 6 09:16:26 2014 Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Transient data-path errors when running amcheck
As directed, I tried changing from chg-zd-mtx to chg-robot. Here's my changer definition: define changer "gen-drive-0" { tpchanger "chg-robot:/dev/changer" changerfile "/local/etc/amanda/gen/changer-state" property "tape-device" "0=tape:/dev/gentape" property "eject-before-unload" "no" property "use-slots" "1-7" property "fast-search" "no" property "ignore-barcodes" "yes" property "eject-delay" "10" property "unload-delay" "10" property "load-poll" "0 s poll 5 s until 120 s" } now after the last amdump, current slot was set to 4. The next time I ran amcheck, for some reason it decided to use slot 6 for the next tape instead of #5 and amtape reports: amtape gen current slot 6: time 20130823170001 label gen072 so I try to switch it to 5 with amtape: amtape gen slot 5 ERROR: Slot: 5: slot 5 is empty But that's not the case, as mtx status shows: Storage Changer /dev/changer:1 Drives, 7 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Storage Element 6 Loaded) Storage Element 1:Full Storage Element 2:Full Storage Element 3:Full Storage Element 4:Full Storage Element 5:Full Storage Element 6:Empty Storage Element 7:Full So I do an mtx unload: Unloading drive 0 into Storage Element 6...done but amtape still refuses to co-operate: amtape gen slot 5 ERROR: Slot: 5: slot 5 is empty So I do: mtx load 5 Loading media from Storage Element 5 into drive 0... Finally amtape agrees with me: amtape gen slot 5 slot 5: time 20130819170001 label gen071 changed to slot 5 --- Reasons like this are why I went back to chg-zd-mtx. Although it still messes up, at least it doesn't skip tapes randomly. Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Transient data-path errors when running amcheck
Jean-Louis writes: > I committed the attached patch which will not report DATA-ERROR error if > there is a problem with the changer. Thanks Jean, I'll apply the patch. > I suggest you stop using chg-zd-mtx and start using chg-robot, it should > be as simple as adding the following to amanda.conf: The problem I'm having with both chg-zd-mtx and chg-robot is the drive doesn't become ready in time. The first amcheck alwayws fails but the 2nd one succeeds. I've tried various delay settings to both without success. It' an Ultrium robot, any ideas on how I can avoid this problem? Thanks, Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Transient data-path errors when running amcheck
Since upgrading to 3.3.5 I occasionally get errors of this nature: ERROR: whimsy.med.utah.edu sdc1: data-path is AMANDA but device do not support it upon re-running amcheck the errors go away. When they do appear, there are errors of this type generated for each entry in my disklist. Any ideas? Thanks, Steve -- Steven J. BackusComputer Systems Manager University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: amanda, fresh startup, wrong printer for report
I'd like to report my output is now correctly going to SteveLaser after this change to .../Amanda/Constants.pm >$LPRFLAG = "-P"; Thanks for the fix. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: amanda, fresh startup, wrong printer for report
> What is the values of LPRFLAG in /Amanda/Constants.pm $LPRFLAG = ""; > Set it to "-P" if you are using lpr and set it to "-d" if you are using > lp (see LPR in the same file). > >$LPRFLAG = "-P"; > > or $LPRFLAG = "-d"; $LPR = "/usr/bin/lpr"; A change to $LPRFLAG can't be tested until the weekend, I use degraded mode then flush to tape. I'll report back, maybe Gene can try it beofre then, thanks for the fix. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: amanda, fresh startup, wrong printer for report
Gene writes: > root@coyote:/home/amanda # amgetconf Daily printer Yet another "me too" post: amgetconf gen printer SteveLaser yet it comes out on ColorLaser. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: amanda, fresh startup, wrong printer for report
I would like to add a hearty "me too" to this problem. In amanda.conf I have: printer "SteveLaser" yet mysteriously my output is going to the device ColorLaser. This has happened to me in the past and I just wait for awhile and it starts going to SteveLaser again. Recently I moved amanda to a new machine and now it's going to ColorLaser again. I'm waiting patiently but if anyone knows of a fix, or if I can help debug this, bring it on. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Recovery Help Request
A quick google came up with two solutions: http://forums.zmanda.com/showthread.php?3691-amrecover-segmentation-fault http://www.mail-archive.com/amanda-users@amanda.org/msg46079.html I'll offer my own, upgrade to the latest version (3.3.1) and see if that helps. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Can't Restore With 3.3.x
My problem is fixed. Jean-Louis provided a patch, it didn't work at first and then he said: > You do not have the correct version of swig installed. Do not > patch Header.swg, it require swig, but you can manually apply the > patch to Header.pm Here's what I did: 1. Install swig-1.3.40. 2. Apply this patch, but not to Header.swg, to Header.pm diff --git a/perl/Amanda/Header.swg b/perl/Amanda/Header.swg index a7d391b..28cb4e8 100644 --- a/perl/Amanda/Header.swg +++ b/perl/Amanda/Header.swg @@ -151,7 +151,11 @@ sub from_string { sub get_dle { my $self = shift; -return Amanda::Header::HeaderXML->new($self->{'dle_str'}); +if ($self->{'dle_str'}) { + return Amanda::Header::HeaderXML->new($self->{'dle_str'}); +} else { + return undef; +} } Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Can't Restore With 3.3.x
Are they the latest lines in the amidxtaped debug file? Yes. Although it didn't get that far this time, it says: Mon Mar 5 09:39:22 2012: thd-0x1f3cd880: amidxtaped: recovering from split dumpfile: date 20120302160001 host harmony.med.utah.edu disk sdb1 part 1/UNKNOWN lev 0 comp .gz program /bin/gtar Mon Mar 5 09:39:22 2012: thd-0x1f3cd880: amidxtaped: ..with decompression applied > Can you get a backtrace of the process? do the following... Done, here it is: #0 0x003004a79ba0 in strlen () from /lib64/libc.so.6 #1 0x2b107108 in amxml_parse_node_CHAR (txt=0x0, errmsg=0x7fffa8e206b8) at amxml.c:1002 #2 0x2c2379c6 in _wrap_new_HeaderXML (my_perl=, cv=) at Amanda/Header.c:1916 #3 0x003005690af6 in Perl_pp_entersub () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so #4 0x00300568a39e in Perl_runops_standard () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so #5 0x003005637720 in Perl_call_sv () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so #6 0x2bc0e87f in amglue_source_callback_simple (data=0x1fde1240) at Amanda/MainLoop.c:1672 #7 0x00300b62d2bb in ?? () from /lib64/libglib-2.0.so.0 #8 0x00300b62cdb4 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #9 0x00300b62fc0d in ?? () from /lib64/libglib-2.0.so.0 #10 0x00300b62ff1a in g_main_loop_run () from /lib64/libglib-2.0.so.0 #11 0x2bc0de27 in _wrap_run_c (my_perl=, cv=) at Amanda/MainLoop.c:1983 #12 0x003005690af6 in Perl_pp_entersub () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so #13 0x00300568a39e in Perl_runops_standard () #14 0x0030056380ba in perl_run () from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/libperl.so #15 0x004017bc in main () Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Can't Restore With 3.3.x
I had great hopes 3.3.1 would solve my restore problem but have found no joy. Ever since upgrading to 3.3.x I have been unable to restore any files. The error on my screen is: Got no header and data from server, check in amidxtaped.*.debug and amandad.*.debug files on server the amidxtaped debug file says: Wed Feb 22 11:45:10 2012: thd-0xe43e360: amidxtaped: Amanda::Recovery::Clerk: successfully located first part for recovery Wed Feb 22 11:45:10 2012: thd-0xe43e360: amidxtaped: recovering from split dumpfile: date 20120218180001 host grandeur.med.utah.edu disk sdc1 part 1/UNKNOWN lev 0 comp .gz program /bin/gtar Wed Feb 22 11:45:10 2012: thd-0xe43e360: amidxtaped: ..with decompression applied This happens with both 3.3.0 and 3.3.1. Backing out 3.3.x and returning to 3.2.3 I have great joy in restoring files. Can anyone help with this situation? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: amflush fails with 'taper: FATAL Can't locate auto/Amanda/Device/Device/swig_volume.al'
Neil Carter wrote: > It turns out that, somehow, the tape in question, '06L4' didn't get > labeled... Sounds like you could use the autolabel declaration in amanda.conf, here's mine: autolabel "gen%%%" More info in http://wiki.zmanda.com/man/amanda.conf.5.html. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Can't recover: Got no header and data from server
Marc Muehlfeld wrote: > Please can any developer have a look on that issue? We currently > need two versions of amanda to recover old and new backups. Indeed, going back one version (3.2.3) I was able to restore the user's data. As you can imagine I was a bit worried before figuring this out. I can replicate this if anyone wants more information. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Problem Recovering Data
amrecover Error is: Got no header and data from server, check in amidxtaped.*.debug and amandad.*.debug files on server amidxtaped.20110807084054.debug says: Sun Aug 7 08:42:04 2011: amidxtaped: ignoring spurious Amanda::Recovery::Scan abort call Sun Aug 7 08:43:22 2011: amidxtaped: Amanda::Recovery::Clerk: successfully located first part for recovery Sun Aug 7 08:43:22 2011: amidxtaped: recovering from split dumpfile: date 20110803180001 host grandeur.med.utah.edu disk sdb1 part 1/UNKNOWN lev 0 comp .gz program /bin/gtar Sun Aug 7 08:43:22 2011: amidxtaped: ..with decompression applied Any idea what's going on? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
How To Tell Amanda a Tape is Missing?
I accidentally removed a tape while it was writing and now amanda doesn't recognize the label. Is there a way I can tell amanda next time this tape comes up it has to re-write the label, and that the data from this tape is missing? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
How To Tell Amanda a Tape is Missing
I accidentally removed a tape while it was writing and now amanda doesn't recognize the label. Is there a way I can tell amanda next time this tape comes up it has to re-write the label, and that the data from this tape is missing? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
No Joy with 3.3.0
I installed 3.3.0 and can't connect to any of my clients: WARNING: whimsy.med.utah.edu: selfcheck request failed: Connection refused WARNING: genepi.med.utah.edu: selfcheck request failed: Connection refused WARNING: episun7.med.utah.edu: selfcheck request failed: Connection refused WARNING: eclectic.med.utah.edu: selfcheck request failed: Connection refused WARNING: grandeur.med.utah.edu: selfcheck request failed: Connection refused WARNING: balance.med.utah.edu: selfcheck request failed: Connection refused WARNING: harmony.med.utah.edu: selfcheck request failed: Connection refused WARNING: clarity.med.utah.edu: selfcheck request failed: Connection refused WARNING: symmetry.med.utah.edu: selfcheck request failed: Connection refused WARNING: serendipity.med.utah.edu: selfcheck request failed: Connection refused WARNING: genepi.hci.utah.edu: selfcheck request failed: Connection refused WARNING: episun8.med.utah.edu: selfcheck request failed: Connection refused Client check: 13 hosts checked in 10.440 seconds. 12 problems found. When I go back to 3.2.3 I have no problems connecting. Here's the configure line I'm using: ./configure --with-user=root --with-group=root --with-config=gen --with-bsd-security --with-amandahosts --prefix=/local This on RHEL 5.1. Did something change that I have to re-configure? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Amtape Slot Next Problem
I'm using an LTO4 tape library and amanda 3.2.1. When I do: amtape slot next Amanda skips over the slot I want it to use and goes to the last available slot. For example, if the current slot is 4 and I want to use tape 5, it is skipped over and 6 is loaded instead (7 is a cleaning tape). Here's my tape entry in amanda.conf: define changer "gen-drive-0" { tpchanger "chg-robot:/dev/changer" changerfile "/local/etc/amanda/gen/changer-state" property "tape-device" "0=tape:/dev/gentape" property "eject-before-unload" "no" property "use-slots" "1-7" property "fast-search" "no" property "ignore-barcodes" "yes" property "load-poll" "0 s poll 3 s until 120 s" } Thanks in advance for any suggestions. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Problems After Upgrading to 3.1.2
Our lord Dustin wrote: > Oh, right, we added a special case in Amanda to print to "ColorLaser" > whenever the "SteveLaser" is specified. Very humorful. Is it possible code corruption caused this? Is amreport reading the "printer" line in amanda.conf? Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Question on Current Slot in 3.1.2
Before upgrading to the latest version, if I wanted to change my current tape slot I just edited /changer-slot and put in the number. Now there's a changer-state file instead and it's not so straightforward. How's the best way to set the current slot now? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Problems After Upgrading to 3.1.2
> Perhaps you've built Amanda without indicating the printing utility? This was not necessary in the past. The 3hole.ps just "worked." > Check the amreport logfile for more detail, and have a look at the > source to see how it decides whether to generate labels or not. The > logic hasn't changed, but a rebuild may have altered some of the > inputs to that algorithm. I'll try to figure out more details, here again is the amreport debug log. It looks like the code is fubared, not that my settings are incorrect. -- Tue Aug 24 23:59:10 2010: amreport: pid 31955 ruid 0 euid 0 version 3.1.2: start at Tue Aug 24 23:59:10 2010 Tue Aug 24 23:59:10 2010: amreport: pid 31955 ruid 0 euid 0 version 3.1.2: rename at Tue Aug 24 23:59:10 2010 Tue Aug 24 23:59:10 2010: amreport: using logfile: /usr/adm/amanda/gen/log Tue Aug 24 23:59:10 2010: amreport: operating in script mode Tue Aug 24 23:59:10 2010: amreport: warning: Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report.pm line 856. Tue Aug 24 23:59:10 2010: amreport: planned output: human mail root Tue Aug 24 23:59:10 2010: amreport: planned output: postscript /local/etc/amanda/gen/3hole.ps printer SteveLaser Tue Aug 24 23:59:10 2010: amreport: invoking mail app: /usr/bin/Mail -s gen FAIL: AMANDA MAIL REPORT FOR August 23, 2010 root Tue Aug 24 23:59:10 2010: amreport: warning: Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 608. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning:
More on 3hole.ps Problem
Dustin and Jean-Louis are both on vacation, Dustin asked me to look into this further. Here's the pertinent log: Tue Aug 24 23:59:10 2010: amreport: pid 31955 ruid 0 euid 0 version 3.1.2: start at Tue Aug 24 23:59:10 2010 Tue Aug 24 23:59:10 2010: amreport: pid 31955 ruid 0 euid 0 version 3.1.2: rename at Tue Aug 24 23:59:10 2010 Tue Aug 24 23:59:10 2010: amreport: using logfile: /usr/adm/amanda/gen/log Tue Aug 24 23:59:10 2010: amreport: operating in script mode Tue Aug 24 23:59:10 2010: amreport: warning: Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report.pm line 856. Tue Aug 24 23:59:10 2010: amreport: planned output: human mail root Tue Aug 24 23:59:10 2010: amreport: planned output: postscript /local/etc/amanda/gen/3hole.ps printer SteveLaser Tue Aug 24 23:59:10 2010: amreport: invoking mail app: /usr/bin/Mail -s gen FAIL: AMANDA MAIL REPORT FOR August 23, 2010 root Tue Aug 24 23:59:10 2010: amreport: warning: Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 608. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/Amanda/Report/human.pm line 1312. Tue Aug 24 23:59:10 2010: amreport: warning: Argument "-- " isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/
Problems After Upgrading to 3.1.2
Two problems I noticed after upgrading to 3.2.1 from 2.6.1p2. Even though amcheck reports no problems: [r...@tranquility gen]# amcheck -c gen Amanda Backup Client Hosts Check Client check: 12 hosts checked in 5.453 seconds. 0 problems found. (brought to you by Amanda 3.1.2) -- One of my hosts failed with this error: whimsy.med.utah.edu sdb6 lev 1 FAILED [port open: Connection refused] Also, I didn't get my reports. I have: lbl-templ "/local/etc/amanda/gen/3hole.ps" In my tapetype and it's always worked before. Any ideas? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Restart of /etc/xinetd.d/amanda
"Dustin J. Mitchell" wrote: > That particular timeout is hard-coded in amandad.c -- REP_TIMEOUT. > It's six hours, though - if your estimates are taking that long, you > may want to consider 'estimate server' instead.. Can you point me to documetation about how to set up an estimate server? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Restart of /etc/xinetd.d/amanda
"Dustin J. Mitchell" wrote: > local auth takes UDP and inetd completely out of the picture. Change > the auth parameter in your dumptypes, and in your amanda-client.conf. This works but now I get: planner: ERROR tranquility.med.utah.edu NAK: timeout on reply pipe This is large huge disk with lots of files. Is there a timeout I can increase? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Restart of /etc/xinetd.d/amanda
> I believe 2.6.1 has support for the "local" auth, which should > fix your problem. server_args = -auth=bsd amdump amindexd amidxtaped works (after restart) server_args = -auth=local amdump amindexd amidxtaped doesn't work (timeout) am I doing it wrong? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Restart of /etc/xinetd.d/amanda
> What operating system and version? Redhat 5.x, patches are up to date. > That file isn't even an executable, so I'm not sure what you are doing. > Or did you mean "/etc/init.d/amanda restart"? Sorry, I meant /etc/init.d/xinetd/restart > Is this a new installation or has this worked in the past? Worked in the past. > Most installations set up amanda to run from xinetd. If you use xinetd, > is that working and set up correctly? One common gotcha is in > the /etc/xinetd.d/amanda* file(s), set "disabled" to "no". > > You might check the log files. See the directory specified for logdir > in your amanda.conf. Which ones? > What do you see when you run amdump (as the backup user) from the > terminal? I run it from crontab, not sure I want to start one out of order. I could try it tonight instead of running it through cron if you think it would help. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Restart of /etc/xinetd.d/amanda
I back up a 2 TB partition on a machine that's also my server. It takes a long time and something is causing amanda to crash. Afterwords I get: WARNING: tranquility.med.utah.edu: selfcheck request failed: timeout waiting for ACK which is the server, doing /etc/xinetd.d/amanda restart fixes the problem but I'd like to know what's causing it, I'm using 2.6.1p2 Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Awful dump performance in recent Linux distributions
> > "RW" == Roger Williams writes: > > RW> I have been very disappointed to discover that the performance of > RW> Linux dump seems to be completely awful in recent RedHat Enterprise > RW> and CentOS releases. > RW> Have other Amanda admins seen this? Then Jason L Tibbitts III wrote: > Yes, I've seen the same. I've no idea what's gone wrong, but switching > to tar seems to be the best solution. Unfortunately the idea of writing > to the filesystem in order to back it up seems... dumb to me, and dump > has never failed in fifteen years of use regardless of that the > naysayers seem to make up about it. And I say: I'm using gnutar and my performance has gone to hell since the 5.4 version of RHEL came out. What do we do now? Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: [Amanda-users] Amanda Configuration
"Dustin J. Mitchell" wrote: > You can turn on auto-labeling (label-new-tapes)... I can't find this anywhere in the wiki or other documentaion. Can you point me in the right direction? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: lseek kernel bug
Just a stab in the dark, are you reading the tapes with the same blocksize as they were written? This bit me recently. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Is "partial taper" Expected?
Jean-Louis Martineau wrote: > You get this message if the dump is not complete. The taper successfully > wrote an incomplete image to tape. > Since they are autoflushed image, check in previous report to know why > the dump failed. The night before one of the machines was down. Other machines auto-mounted some partitions on this machine leading to problems like: ? gtar: ./gen17: Cannot savedir: No such file or directory Since I had autoflush in amanda.conf I would expect the holding disks to be drained regardless of what errors happened. Not so? Will they ever be flushed or should I just delete them? Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Is "partial taper" Expected?
Last night some dumps were left on my holding disk, the Failure Dump Summary says: harmony.med.utah.edu / lev 0: partial taper: tranquility.med.utah.edu / lev 0: partial taper: episun7.med.utah.edu c0t0d0s0 lev 1: partial taper: genepi.med.utah.edu c0t3d0s0 lev 1: partial taper: The Dump Summary says: episun7.med. c0t0d0s0 1 13955 -- FLUSH 0:00 83240.9 TAPE-PARTIAL I'm using 2.6.1 on Red Hat AS 5.2. Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
autoflush not working in 2.6.0p2?
Ever since upgrading from 2.5.2p1 to 2.6.0p2 my autoflush hasn't worked. After running amdump there's always stuff left in the holding disks. I've also tried amanda-2.6.0p2-20081114 without joy. Let me know what logs you'd like to see. Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: steven.bac...@utah.edu Genetic EpidemiologyAlternate: bac...@math.utah.edu 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: amrecover ignores --prefix
> check you xinetd config to be sure you run the amandad in /local/... That was the problem all right, it was running amandad from /usr/local. Thanks Jean-Louis. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
amrecover ignores --prefix
I'm doing a trial installation of amanda and don't want to mess up my regular install, so I compiled with --prefix=/local. Regardless of this, amrecover is still looking for my config files in /usr/local/etc/amanda/ instead of /local/etc/amanda/. Is this expected behavior, a bug or ? I'm using amanda-2.6.0p2. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Problem Backing Up NFS SmartStor
Long ago, I wrote: > > I have a Promise SmartStor, a network drive. It's NFS mounted on > > a Red Hat server. Sometimes it gets backed up, other times I get: > > > > whimsy.med.utah.edu/sstore/9gb lev 0 FAILED [dumper returned FAILED] > > whimsy.med.utah.edu/sstore/9gb lev 0 FAILED [data timeout] > > whimsy.med.utah.edu/sstore/9gb lev 0 FAILED [cannot read header: > > got 0 instead of 32768] > > whimsy.med.utah.edu/sstore/9gb lev 0 FAILED [too many dumper retry: > > "[request failed: timeout waiting for REP]"] > Olivier Nicole <[EMAIL PROTECTED]> then wrote: > Just a wild guess, but a Google search yesterday on "cannot read > header: got 0 instead of " lead me to problems with IPv6/IPv4. So this didn't help, today I got: whimsy.med.utah.edu/sstore/gen6 lev 2 FAILED [dumper returned FAILED] clarity.med.utah.edu /sstore/gen10 lev 0 FAILED [data timeout] clarity.med.utah.edu /sstore/gen10 lev 0 FAILED [dumper returned FAILED] whimsy.med.utah.edu/sstore/gen6 lev 2 FAILED [too many dumper retry: "[request failed: timeout waiting for REP]"] whimsy.med.utah.edu/sstore/gen6 lev 2 FAILED [cannot read header: got 0 instead of 32768] clarity.med.utah.edu /sstore/gen10 lev 0 FAILED [cannot read header: got 0 instead of 32768] clarity.med.utah.edu /sstore/gen10 lev 0 FAILED [too many dumper retry: "[request failed: timeout waiting for REP]"] serenity.med.utah.edu /sstore/9gblev 1 FAILED [data timeout] serenity.med.utah.edu /sstore/9gblev 1 FAILED [dumper returned FAILED] serenity.med.utah.edu /sstore/9gblev 1 FAILED [cannot read header: got 0 instead of 32768] serenity.med.utah.edu /sstore/9gblev 1 FAILED [too many dumper retry: "[request failed: timeout waiting for REP]"] i.e., problems with all the file systems on this drive. I have my timeouts set to: etimeout10 dtimeout3600 ctimeout60 Should I increase them? Which one? Any other ideas? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Problem Backing Up NFS SmartStor
I have a Promise SmartStor, a network drive. It's NFS mounted on a Red Hat server. Sometimes it gets backed up, other times I get: whimsy.med.utah.edu/sstore/9gb lev 0 FAILED [dumper returned FAILED] whimsy.med.utah.edu/sstore/9gb lev 0 FAILED [data timeout] whimsy.med.utah.edu/sstore/9gb lev 0 FAILED [cannot read header: got 0 instead of 32768] whimsy.med.utah.edu/sstore/9gb lev 0 FAILED [too many dumper retry: "[request failed: timeout waiting for REP]"] This file system is big and I've increased my timeouts to: etimeout10 dtimeout3600 ctimeout60 but it didn't help. I'm running amanda 2.5.2p1. Any ideas? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Busted Tape Drive
Dustin J. Mitchell" <[EMAIL PROTECTED]> writes: > Are there more details to add? The 'mt' invocations in rc.conf may be > helpful to others, for example. FAQ:Why can I write new labels to my tapes but can't read the old ones? Check your blocksize. This behavior occurs when the tape unit is set to have a particular block size (that may not match at read time what was used to write a tape). For example, in your rc.conf file you may have: /bin/mt -f /dev/nst0 defcompression 0 /bin/mt -f /dev/nst0 defblksize 0 and you should verify these commands are working correctly. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Busted Tape Drive
"Dustin J. Mitchell" <[EMAIL PROTECTED]> writes: > I haven't followed this too closely, but are there some takeaway > messages that could be worked into a FAQ here? > http://wiki.zmanda.com/index.php/FAQ FAQ:Why can I write new labels to my tapes but can't read the old ones? Check your blocksize. This behavior occurs when the tape unit is set to have a particular block size (that may not match at read time what was used to write a tape). Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Busted Tape Drive
<[EMAIL PROTECTED]> writes: > I've seen problematic behavior when the tape unit is set to have a > particular block size (that may not match at read time what was used > to write a tape). That was the problem. In my rc.local file I have: /bin/mt defcompression 0 /bin/mt defblksize 0 But with the mt command broken (it now uses /dev/tape as the default instead of /dev/nst0) I should have had: /bin/mt -f /dev/nst0 defcompression 0 /bin/mt -f /dev/nst0 defblksize 0 Thanks to John Hein and everyone. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Busted Tape Drive
I've determined my drive can label tapes but can't read old tapes. I get the Input/Output error whenever trying to read a previously labeled tape or dd out anything. However, if I re-label the tape it works again. Does this indicate a failing drive? Any other ideas? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Busted Tape Drive
Matthew Marlowe <[EMAIL PROTECTED]> wrote: > Are you using RHEL or Fedora? The bug is reported for fedora 8 but > we just noticed a similar issue on a RHEL5.2 box (perhaps this is > one of the feature updates carried over from fedora during the 5.2 > upgrade). I'm on RHEL 4.x, latest updates, that's when things broke. I have RHEL 5.x machines but if this bug is propagated throughout all of the versions it would be a waste of time to upgrade. > I'm looking to see what rpm or kernel is needed to downgrade. If you don't have time, can you tell me how to do this? Also, I wonder what OS is being used by the other person on this list who's having problems with /dev/nst0? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Busted Tape Drive
Dustin writes: > Amanda uses what was supplied in the TAPEDEV parameter directly. Then someone busted more than just the mt status command: amtape genepi current returns: amtape: scanning current slot in tape-changer rack: slot 2: not an amanda tape (Input/output error) because it was an amanda tape before the latest OS updates. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Busted Tape Drive
Matthew Marlowe <[EMAIL PROTECTED]> writes: > See the following Red Hat bug: >https://bugzilla.redhat.com/show_bug.cgi?id=289381 > This bug says: "mt status" attempts to use /dev/tape, as a device, when it's a directory This could be it, does amanda use this for tape commands? > Are you using RHEL or Fedora? I'm using RHEL 4.x, latest updates. > I'm looking to see what rpm or kernel is needed to downgrade. Please let me know, I tried the previous kernel without success. Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Busted Tape Drive
Ever since my latest update from Red Hat, my VXA-2 tape library has stopped working. It appears /dev/tape is now a directory instead of a link to /dev/nst0 and every command I give to the drive returns /dev/nst0: Input/output error. I've tried removing /dev/tape and linking it to /dev/nst0 with no joy. I've also tried using dd, which returns the same error. I've tried re-compiling Amanda too. I'm running Red Hat AS 4.x and amanda 2.5.2p1, anyone got any ideas? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
How Do I Back Up a Smartstor?
I'm thinking of purchasing this: Description: SMARTSTOR NS4300N 4BAY NAS SATA RAID5 SOHO/SMB The NS4300N is the ideal 4-Drive RAID 5 "Bring Your Own Drives" NAS Enclosure for Home, SOHO and Small Business applications. Feature Set includes one of the industry's most mature RAID Engines, SATA 3G, NCQ, Jumbo Frames, User Quota, Backup, Snapshot, HotSwap for failed drive replacement, Embedded Management Application and UPNP/DLNA Certification (NS4300N functions as Digital Media Server). And am wondering how one would back up this beast with amanda? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Problem Restoring Files
> Looks like it restored only the level 1, not the full. It is a known > bug, it is fixed in latest 2.5.2p1 snapshot from > http://www.zmanda.com/community-builds.php/amanda-2.5.2p1-20071101.tar.gz I'll try this and post the logs if it doesn't work. Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Problem Restoring Files
I'm having a problem restoring on my 2.5.2p1 system. The indexes show all the data is there: amrecover> sethost ambiance 501 Host ambiance is not in your disklist. Trying host ambiance.med.utah.edu ... 200 Dump host set to ambiance.med.utah.edu. amrecover> listdisk 200- List of disk for host ambiance.med.utah.edu 201- / 201- sdc1 201- sdb5 200 List of disk for host ambiance.med.utah.edu amrecover> setdisk sdc1 200 Disk set to sdc1. amrecover> cd /9gb/jv/mcsim/prost/ICPCG_CIDR /9gb/jv/mcsim/prost/ICPCG_CIDR amrecover> ls 2008-05-09 noLDanal/ 2008-05-09 Summary/ 2008-05-09 . 2008-05-05 tmp.pl~ 2008-05-05 tmp.pl 2008-05-05 summclinx 2008-05-05 runProstSet2 2008-05-05 runProstSet1 2008-05-05 runMela_SNP_summary 2008-05-05 runICPCG_CIDR.summary 2008-05-05 runICPCG_CIDR.best~ 2008-05-05 runICPCG_CIDR.best 2008-05-05 runGWMelaSNP 2008-05-05 run.merlin2labout~ 2008-05-05 run.merlin2labout 2008-05-05 run.mcsimPrep2~ 2008-05-05 run.mcsimPrep2 2008-05-05 out.log 2008-05-05 icpcg_cidr.noLD.hets But only the directory structure is restored when I extract: % cd /9gb/jv/mcsim/prost/ICPCG_CIDR % ls Files/ LDanal/ Rcode/ Summary/ noLDanal/ None of the files are restored. I'm using tar 1.15.1, just let me know if you need more information. Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Problem with Exclude Lists
>From Jean-Louis Martineau writes: > I think your exclude will match nothing, you should read gnutar > documentation. > Use './gen13/coal/r03/noback' or './gen13/coal/r03/noback/*'. Thanks very much! I didn't even think of that, it really helps to have someone else look at your problem. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Problem with Exclude Lists
I have several excludelists and most work but one doesn't. Here's an example of one that works. In amanda.conf: define dumptype comp-ambiance-home1-tar { global exclude list "/usr/local/etc/amanda/genepi/home1-excludelist" program "GNUTAR" comment "user partitions dumped with tar" compress client fast priority medium } Here is home1-excludelist: ./anal2/CVG Here is another one (this one doesn't work, all files are still backed up): define dumptype comp-grandeur-gen13-tar { global exclude list "/usr/local/etc/amanda/genepi/gen13-excludelist" program "GNUTAR" comment "user partitions dumped with tar" compress client fast priority medium } Here is gen13-excludelist: ./gen13/coal/r03/noback/ I'm using amanda 2.5.2p1. Is this too deep to exclude? Can anyone help me debug this? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Genetic EpidemiologyAlternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Amflush Slow in 2.5.2
Friday night I was somewhat more successful with autoflush in that my disks were emptied correctly, albeit very slowly. The new amflush took ~24 hours to complete, a factor of 3 times more slowly than 2.5.1p3. Further, my tape usage was very poor, in 2.5.2 I see: USAGE BY TAPE: Label Time Size %NbNc genepi042 5:03 37759264k 57.819 0 genepi043 9:35 71714592k 109.723 0 genepi044 8:13 61836128k 94.747 0 genepi045 3:17 24587904k 37.6 1 0 Note the first tape was only half used. As far as I can tell, autoflush in 2.5.2 uses a new tape for the old dumps, not filling up the first. I never had this problem with previous versions: USAGE BY TAPE: Label Time Size %NbNc genepi035 2:33 54701152k 83.840 0 genepi036 3:29 74139808k 113.428 0 genepi051 2:36 55659520k 85.122 0 In short, amflush, although working now, seems to have performance problems. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Autoflush not working in 2.5.2
> The information was useful, I found a problem. Seems to work now: [EMAIL PROTECTED] server-src]# ./amflush genepi -o tapedev=/no/tapedev -o tpchanger="" Scanning /home1/dumps/amanda... 20070513110001: found Amanda directory. Scanning /home2/dumps/amanda... 20070513110001: found Amanda directory. Today is: 20070514 Flushing dumps in 20070513110001 to tape drive "/no/tapedev". Expecting tape genepi042 or a new tape. (The last dumps were to tape genepi041) Are you sure you want to do this [yN]? -- I'll use it Friday night and write back if there are further problems. Thanks! Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Autoflush not working in 2.5.2
> Try > http://www.zmanda.com/downloads/community/community-builds/amanda-2.5.2-flush.tar.gz > it add a lot of debugging statement. Got it. > Send me the output of: > ls -altr /home1/dumps/amanda/ total 24 drwxr-xr-x 3 root root 4096 Jun 24 2006 .. drwxr-xr-x 3 root root 4096 May 13 11:00 . drwx-- 2 root root 4096 May 13 14:49 20070513110001 > ls -altr /home2/dumps/amanda/ total 16 drwxr-xr-x 3 root root 4096 Oct 21 2004 .. drwxr-xr-x 3 root root 4096 May 13 11:00 . drwx-- 2 root root 4096 May 13 15:02 20070513110001 > amadmin genepi holding list Scanning /home1/dumps/amanda... 20070513110001: found Amanda directory. Scanning /home2/dumps/amanda... 20070513110001: found Amanda directory. Scanning /home1/dumps/amanda/20070513110001... Scanning /home2/dumps/amanda/20070513110001... ambiance.med.utah.edu sdc1 20070513 episun7.med.utah.edu c0t10d0s0 20070513 episun7.med.utah.edu c0t11d0s1 20070513 episun7.med.utah.edu c0t12d0s0 20070513 ambiance.med.utah.edu / 20070513 ambiance.med.utah.edu sdb5 20070513 eclectic.med.utah.edu sdb1 20070513 episun7.med.utah.edu c0t0d0s0 20070513 episun7.med.utah.edu c0t10d0s1 20070513 episun7.med.utah.edu c0t11d0s0 20070513 episun7.med.utah.edu c0t1d0s0 20070513 episun7.med.utah.edu c0t2d0s0 20070513 genepi.med.utah.edu c0t3d0s0 20070513 genepi.med.utah.edu c0t3d0s3 20070513 whimsy.med.utah.edu / 20070513 > run: amflush genepi -o tapedev=/no/tapedev -o tpchanger="" [EMAIL PROTECTED] amanda-2.5.2]# cd server-src/ [EMAIL PROTECTED] server-src]# ./amflush genepi -o tapedev=/no/tapedev -o tpchanger="" Scanning /home1/dumps/amanda... 20070513110001: found Amanda directory. Scanning /home2/dumps/amanda... 20070513110001: found Amanda directory. Could not find any valid dump image, check directory. > Send me the amflush.*.debug and the amflush.1 files Here's amflush.20070514152218.debug, there was no amflush.1 created: amflush: debug 1 pid 12177 ruid 0 euid 0: start at Mon May 14 15:22:18 2007 amflush: debug 1 pid 12177 ruid 0 euid 0: rename at Mon May 14 15:22:18 2007 holding_get_files_for_flush date_list: 20070513110001 file_elt: /home1/dumps/amanda/20070513110001/ambiance.med.utah.edu.sdc1.2 date 20070513110001 20070513 !date_matches file_elt: /home1/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t10d0s0.0 date 20070513110001 20070513 !date_matches file_elt: /home1/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t11d0s1.0 date 20070513110001 20070513 !date_matches file_elt: /home1/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t12d0s0.1 date 20070513110001 20070513 !date_matches file_elt: /home2/dumps/amanda/20070513110001/ambiance.med.utah.edu._.0 date 20070513110001 20070513 !date_matches file_elt: /home2/dumps/amanda/20070513110001/ambiance.med.utah.edu.sdb5.3 date 20070513110001 20070513 !date_matches file_elt: /home2/dumps/amanda/20070513110001/eclectic.med.utah.edu.sdb1.1 date 20070513110001 20070513 !date_matches file_elt: /home2/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t0d0s0.1 date 20070513110001 20070513 !date_matches file_elt: /home2/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t10d0s1.1 date 20070513110001 20070513 !date_matches file_elt: /home2/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t11d0s0.0 date 20070513110001 20070513 !date_matches file_elt: /home2/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t1d0s0.1 date 20070513110001 20070513 !date_matches file_elt: /home2/dumps/amanda/20070513110001/episun7.med.utah.edu.c0t2d0s0.1 date 20070513110001 20070513 !date_matches file_elt: /home2/dumps/amanda/20070513110001/genepi.med.utah.edu.c0t3d0s0.0 date 20070513110001 20070513 !date_matches file_elt: /home2/dumps/amanda/20070513110001/genepi.med.utah.edu.c0t3d0s3.1 date 20070513110001 20070513 !date_matches file_elt: /home2/dumps/amanda/20070513110001/whimsy.med.utah.edu._.1 date 20070513110001 20070513 !date_matches Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Autoflush not working in 2.5.2
> What's the output of: amadmin genepi holding list > It should be done with the amadmin of 2.5.2 when you have something on > holding disk. amadmin genepi version: build: VERSION="Amanda-2.5.2" ... amadmin genepi holding list: Scanning /home1/dumps/amanda... 20070506185001: found Amanda directory. 20070507190001: found Amanda directory. Scanning /home2/dumps/amanda... 20070506185001: found Amanda directory. 20070507190001: found Amanda directory. Scanning /home1/dumps/amanda/20070506185001... Scanning /home1/dumps/amanda/20070507190001... Scanning /home2/dumps/amanda/20070506185001... Scanning /home2/dumps/amanda/20070507190001... ambiance.med.utah.edu sdc1 20070506 episun7.med.utah.edu c0t10d0s1 20070506 episun7.med.utah.edu c0t11d0s0 20070506 episun7.med.utah.edu c0t2d0s0 20070506 ambiance.med.utah.edu / 20070507 ambiance.med.utah.edu sdb5 20070507 eclectic.med.utah.edu sdb1 20070507 episun7.med.utah.edu c0t0d0s0 20070507 episun7.med.utah.edu c0t10d0s1 20070507 episun7.med.utah.edu c0t11d0s0 20070507 episun7.med.utah.edu c0t12d0s0 20070507 episun7.med.utah.edu c0t1d0s0 20070507 episun7.med.utah.edu c0t2d0s0 20070507 genepi.med.utah.edu c0t3d0s0 20070507 genepi.med.utah.edu c0t3d0s3 20070507 whimsy.med.utah.edu / 20070507 ambiance.med.utah.edu / 20070506 ambiance.med.utah.edu sdb5 20070506 eclectic.med.utah.edu sdb1 20070506 episun7.med.utah.edu c0t0d0s0 20070506 episun7.med.utah.edu c0t10d0s0 20070506 episun7.med.utah.edu c0t11d0s1 20070506 episun7.med.utah.edu c0t12d0s0 20070506 episun7.med.utah.edu c0t1d0s0 20070506 genepi.med.utah.edu c0t3d0s0 20070506 genepi.med.utah.edu c0t3d0s3 20070506 whimsy.med.utah.edu / 20070506 ambiance.med.utah.edu sdc1 20070507 episun7.med.utah.edu c0t10d0s0 20070507 episun7.med.utah.edu c0t11d0s1 20070507 Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Autoflush not working in 2.5.2
> amflush.1 or amflush.2 log file, the one with the error I couldn't find an amflush.1 or amflush.2: [EMAIL PROTECTED] genepi]# cd /tmp/amanda [EMAIL PROTECTED] amanda]# find . | grep amflush ./server/genepi/amflush.20070505081240.debug ./server/genepi/amflush.20070506102844.debug ./server/genepi/amflush.20070506103613.debug ./server/genepi/amflush.20070505075823.debug ./server/genepi/amflush.20070505114218.debug ./server/genepi/amflush.20070505075405.debug ./server/genepi/amflush.20070505080123.debug ./server/genepi/amflush.20070506102934.debug ./server/genepi/amflush.20070505114519.debug ./server/genepi/amflush.20070505080459.debug ./server/genepi/amflush.20070505075316.debug ./server/genepi/amflush.20070505114129.debug > amflush..debug file with the error. All of these are useless: [EMAIL PROTECTED] amanda]# cd server/genepi [EMAIL PROTECTED] genepi]# more amflush* :: amflush.20070505075316.debug :: amflush: debug 1 pid 7468 ruid 0 euid 0: start at Sat May 5 07:53:16 2007 amflush: debug 1 pid 7468 ruid 0 euid 0: rename at Sat May 5 07:53:16 2007 :: amflush.20070505075405.debug :: amflush: debug 1 pid 7510 ruid 0 euid 0: start at Sat May 5 07:54:05 2007 amflush: debug 1 pid 7510 ruid 0 euid 0: rename at Sat May 5 07:54:05 2007 ... Using the older version of amflush I was sucessfully able to flush my holding disks. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
More on amflush problems with 2.5.2
I was able to get my aflush started by using the one with the last source: [EMAIL PROTECTED] backus]# cd amanda-2.5.1p3 [EMAIL PROTECTED] amanda-2.5.1p3]# cd server-src [EMAIL PROTECTED] server-src]# ./amflush genepi Scanning /home1/dumps/amanda... 20070428150002: found Amanda directory. 20070430190001: found Amanda directory. 20070501190001: found Amanda directory. 20070502190001: found Amanda directory. 20070503190001: found Amanda directory. Scanning /home2/dumps/amanda... 20070428150002: found Amanda directory. 20070430190001: found Amanda directory. 20070501190001: found Amanda directory. 20070502190001: found Amanda directory. 20070503190001: found Amanda directory. Multiple Amanda directories, please pick one by letter: A. 20070428150002 B. 20070430190001 C. 20070501190001 D. 20070502190001 E. 20070503190001 Select directories to flush [A..E]: [ALL] Today is: 20070505 Flushing dumps in 20070428150002, 20070430190001, 20070501190001, 20070502190001, 20070503190001 using tape changer "chg-zd-mtx". Expecting tape genepi053 or a new tape. (The last dumps were to tape genepi052) Are you sure you want to do this [yN]? y Running in background, you can log off now. Maybe the new amflush/autoflush is confused because I had dumps from a previous version of amanda in my holding disks? Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Autoflush not working in 2.5.2
My solaris machine seems to have backed up fine last night, however, none of my holding disks were drained. I do nightly backups to the holding disk Monday - Thursday then put in the tape on Friday, autoflush used to take care of the rest, not so last night. So this morning I run amflush and select ALL for the directories I want to flush. As in the man page, I expect: Are you sure you want to do this? yes Running in background, you can log off now. You'll get mail when amflush is finished. But that never comes up, eventually I log off and amflush dies, now when I try to use it I get: Scanning /home1/dumps/amanda... 20070428150002: found Amanda directory. 20070430190001: found Amanda directory. 20070501190001: found Amanda directory. 20070502190001: found Amanda directory. 20070503190001: found Amanda directory. Scanning /home2/dumps/amanda... 20070428150002: found Amanda directory. 20070430190001: found Amanda directory. 20070501190001: found Amanda directory. 20070502190001: found Amanda directory. 20070503190001: found Amanda directory. Multiple Amanda directories, please pick one by letter: A. 20070428150002 B. 20070430190001 C. 20070501190001 D. 20070502190001 E. 20070503190001 Select directories to flush [A..E]: [ALL] Could not find any valid dump image, check directory. How can I flush these? Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: Problem With Solaris 2.5.2
> Could you try the attached patch? > You should not get a "Could not bind to any port: Invalid argument" > error in the debug file. I applied the patch and will let you know how tonight's run goes. Thanks a lot! Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Problem With Solaris 2.5.2
I run my server on Red Hat AS4 Linux 4.x and back up 5 clients, one of which is a Solaris 2.8. After upgrading to 2.5.2 yesterday, last night I got: FAILURE AND STRANGE DUMP SUMMARY: episun7.med.utah.edu c0t11d0s0 lev 1 FAILED [cannot read header: got 0 instead of 32768] episun7.med.utah.edu c0t1d0s0 lev 1 FAILED [cannot read header: got 0 instead of 32768] episun7.med.utah.edu c0t11d0s0 lev 1 FAILED [cannot read header: got 0 instead of 32768] episun7.med.utah.edu c0t11d0s0 lev 1 FAILED [too many dumper retry: "[request failed: timeout waiting for ACK]"] episun7.med.utah.edu c0t1d0s0 lev 1 FAILED [too many dumper retry: "[request failed: timeout waiting for ACK]"] this repeated about 20 time. The logs say: dumper.20070503190001000.debug:dumper: time 3597.701: security_seterror(handle=0x8e23158, driver=0xe 77a20 (BSD) error=timeout waiting for ACK) Any ideas? Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
autoclean problems
In my changer.conf file I have: cleanslot=7 Slot with cleaner tape -- default is "-1" autoclean=1 Set to '1' or greater to enable autocleancount=21 Number of access before a clean. But it never "autocleans." There's a file called changer-clean in my config directory and it says: 68 But I don't know what that means. I've been using 2.5.1p2 (now p3) and no joy. Does this work? Any particular config options I may be missing? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Duplicate Pages with 3hole.ps
On Friday night my backups took 2 tapes to complete. I came in this morning to discover the contents of the first tape had been printed twice. I'm using 3hole.ps and amanda2.5.1p2. Has anyone seen this? Thanks, Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Continued ACK Problems with 2.5.1
ambiance still refuses to back up: ambiance.med.utah.edu sdc1 lev 0 FAILED [cannot read header: got 0 instead of 32768] ambiance.med.utah.edu sdc1 lev 0 FAILED [too many dumper retry: "[request failed: timeout waiting for ACK]"] ambiance.med.utah.edu sdc1 lev 0 FAILED [cannot read header: got 0 instead of 32768] ambiance.med.utah.edu sdb5 lev 0 FAILED [cannot read header: got 0 instead of 32768] ambiance.med.utah.edu / lev 1 FAILED [cannot read header: got 0 instead of 32768] ambiance.med.utah.edu sdb5 lev 0 FAILED [too many dumper retry: "[request failed: timeout waiting for ACK]"] ambiance.med.utah.edu sdb5 lev 0 FAILED [cannot read header: got 0 instead of 32768] ambiance.med.utah.edu / lev 1 FAILED [too many dumper retry: "[request failed: timeout waiting for ACK]"] ambiance.med.utah.edu / lev 1 FAILED [cannot read header: got 0 instead of 32768] In common-src/protocol.c I have: #define ACK_WAIT 10 /* time (secs) to wait for ACK - keep short */ #define ACK_TRIES 10 /* num retries after ACK_WAIT timeout */ the maxdumps setting worked great though, I logged in last night and the load average on ambiance was around 5 with 4 gtars running. Does anyone have any ideas? Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus
Re: More ACK Woes
> Refresh our collective minds, is ambience your server (and a client) > or is it a client only? ambiance is a client only, whimsy is the server. > When you changed inparallel to 6 (a reduction from default 10) > did you also change maxdumps? No. > My understanding of the two parameters is: > maxdumps refers to the clients -- how many simultaneous dumps > can be running on any one client. I.e. how many backups can > each client stand to run at the same time. Typically 1 but > I often set it to 2 unless there are complaints. I was confused then, I'll try: inparallel 3 maxdumps2 As most of the 6 jobs were sitting idle anyway. > inparallel refers to the server -- how many client dumps total > can be running at the same time. I.e. how many client dumps > can the server cope with streaming into it at the same time. > It has to deal with putting them to the holding disk and possibly > taping one at the same time. Of course if it also backups up > itself, that is additional load. > > I just reread the amanda.conf man page, and if my understanding > is correct, the client/server distinction is not very clear. > For you to have 12 gtar processes running, it sounds like maxdumps > is set to 6 also (raised from 1). It gives 12 processes because > you have 6 DLEs being dumped and each takes two gtar's, one for > the dump and one to generating the index. Since I had no maxdumps in my amanda.conf perhaps it defaults to the inparallel setting 6 * 2 = 12? I've changed the ACK_WAIT to 10 and made these other changes. I'll let you know how it goes tonight. Steve -- Steven J. BackusComputer Specialist University of Utah E-Mail: [EMAIL PROTECTED] Biomedical Informatics Alternate: [EMAIL PROTECTED] 391 Chipeta Way -- Suite D150 Office: 801.587.9308 Salt Lake City, UT 84108-1266 http://www.math.utah.edu/~backus