Re: Amanda won't dump one particular partition
Yeah, still have a problem. ... Nuts! I was hoping your problem would just go away on its own :-). Am I doing this on the troublesome client or on the tape host? The client. [EMAIL PROTECTED] John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
planner and sendsize
Here it goes something interesting too: sendsize.log calculating for amname '/data0', dirname '/data0' sendsize: getting size via dump for /data0 level 0 sendsize: running /sbin/dump 0Ssf 1048576 - /dev/md0 /dev/md0: Bad magic number in super-block while opening filesystem DUMP: The ENTIRE dump is aborted. running /usr/local/amanda/libexec/killgrp . ???
Tar patch
hi! How do i apply the Tar patfch in the patches directory? I am using tar 1.13.19 . Do i still need the patch? thanks for any replies, Vijay
Re: What to do about the holidays?
Is this okay to do? Yep, I've done it when eg. I was snowed in for a week and couldn't get in to change the tape. It's a good argument for a large holding disk, and this is a feature that I haven't found in other, rather expensive, backup packages.
DLT
Sorry if this subject is off topic but can you use a 40/80 DLT tape in a 35/70 DLT tape drive. Although we'd only be using it as a 35/70 tape. - David Flood Systems Administrator [EMAIL PROTECTED] Tel: +44 (0)1224 262721 The Robert Gordon University School of Computing St. Andrews Street Aberdeen -
Re: S.O.S.
runtapes 2 You have to have a working changer configuration. On Fri, 11 Jan 2002, [iso-8859-15] Túlio Machado de Faria wrote: - Help me, please. - - - I need to use amanda with two units of tape in one backup. - - How? - - -- -- Stephen Carville UNIX and Network Administrator Ace Flood USA 310-342-3602 [EMAIL PROTECTED]
--with-group?
What is the significance of the group when configuring i.e. --with- group. Does it mean whoever is in this group can run the amanda utils as well as the amanda user? - David Flood Systems Administrator [EMAIL PROTECTED] Tel: +44 (0)1224 262721 The Robert Gordon University School of Computing St. Andrews Street Aberdeen -
Re: Documentation
On 19 Apr 2002, Marcos Teodoro Dias Junior wrote: Hello, Where I can find some documentation at how to use amanda with tape changers ? In the source tree, look in docs/TAPE.CHANGERS . - Eric
Warning - old messages being resent to list
Before replying to a message, check the sent date. A batch of old messages is being re-injected into the list. Frank -- Frank Smith [EMAIL PROTECTED] Systems AdministratorVoice: 512-374-4673 Hoover's OnlineFax: 512-374-4501
multiple types of systems.
Hello, I've got amanda installed on a redhat 7.2 box. I'm wondering if it can back up a mixture of different clients, a few various windows machines, two FreeBSD clients and a slackware box? Also, wondering if it works with an hp colorado internal IDE tape drive? Thanks. Dave.
--portrange questions
I need to back up a machine that's behind a firewall, so I'm going to reconfigure/recompile my server and clients with: --with-udpportrange=850,855 --with-portrange=X,Y What's the minimum number of ports I can allocate on my server? I'm backing up 6 Unix machines with approximately 50 disklist entries. Is there some formula that relates portrange with disklist entries, clients, dumpers, etc? Thanks. --david
changer.conf and tpchanger for sun storedge 4mm dds-3 autoloader
I have a Sun StorEdge 4mm DDS-3 autoloader (magazine of 6 tapes loader) http://www.sun.com/storage/dds/index.html any one with correct changer.conf file and know what tpchanger be set to in amanda.conf ? Thank You - Ben Fallah Senior System/Network Engineer
Re: amanda-users list problem
That got brought to my attention today, but unfortunately, my tape cycle is only eight days, so the last good backup of the file was erased quite some time ago. What tapes do you use?
Re: amanda was getting confused, but apparently no more :-)
I wonder how hard it would be to train amanda to rotate holding areas (partitions) on a raid instead of tapes? ... That's already part of 2.4.3 (or the amanda-242-tapeio CVS branch). Gene John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: Simultaneous Multi-Tape Multi-Host Backups
... Can Amanda backup the 4 filesystems to the 4 tape-drives simultaneously from one config file? ... No. That will take a major overhaul (although it's definitely needed). Aaron Rainwater John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
advfs dislist entry
Should be a simple one... What is the proper way to enter an advfs partition into the disklist? I looked into the /etc/fdmns/partition domain/ directory, saw which partition was involved and put that into the disklist. The report comes back: FAIL planner mymachine involved partition 0 [disk involved partition offline on mymachine?] Thanks, EZ
Amanda and NT shares
I am trying to figure something and am looking for assistance. I have checked the newsgroups without success. The question is: When I backup an NT/2000 share does amanda/tar even touch the archive bit on a file?? Can someone explain exactly what happens?? --- I have not failed. I've just found 10,000 ways that won't work. - Thomas Edison Michael Hendrix [EMAIL PROTECTED] Systems Engineer / SysAdmin Team Leader Logical Net / Capital Net (518) 292-4509
Re: Another amcheck problem
Prior to the run a netstat -a | grep amanda shows udp0 0 *:amanda*:* ... That's normal. After the failure a netstat -a | grep amanda doesn't return anything. Then amandad is probably dieing. The FAQ talks about how to debug this. Shawn John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
unsubscribe
unsubscribe
Re: self check : request timed out
On Tue, 26 Mar 2002 at 6:35pm, Melvin Lobo wrote i have just installed Amanda and when i give amcheck -c conf i get the following though the system is not using WARNING: system name : selfcheck request timed out. Host down? This is a very common problem when first getting started. Have you gone through FAQ-O-Matic (available through www.amanda.org)? -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: amrecover: did not get a reserved port:
How exactly would I apply this patch? John R. Jackson wrote: amrecover: did not get a reserved port: 50846 What IS this? how do I solve it? ... I answered this exact same question three days ago: http://groups.yahoo.com/group/amanda-users/message/34226 Tom Van de Wiele John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: Is this correct?
On Thursday 13 December 2001 07:40 am, Adolfo Manuel Pachón Rodríguez wrote: Hi all: I have 5 tapes for one HP24DAT SCSI unit. I want to use one tape per day, not including saturday/monday. Is this the correct configuration? dumpcycle 7 days runspercycle 5 days tapecycle 5 tapes thanks Looks good to me. -- Chris Dahn, SERG Code Ninja 3141 Chestnut St. Attn: MCS Department Philadephia, PA 19104 Office: 215.895.0203 Fax: 215.895.1582 -Software Engineering Research Group- Feel the SERG! http://serg.mcs.drexel.edu/ CAT 186, The Microwave http://pgp.mit.edu:11371/pks/lookup?search=Christopher+Dahnop=index
amrecover
Hi all, I'm doing my amanda backups to a spare disk. I use gtar as the backup method. The backup process works just fine, but when I go to restore with amrecover I get: Extracting files from holding disk on host cain. The following files are needed: /opt/amanda/dumps/20020405/cain._.2 Restoring files into directory /tmp/restore Continue? [Y/n]: y Extracting from file /opt/amanda/dumps/20020405/cain._.2 EOF, check amidxtaped.debug file on cain. amrecover: short block 0 bytes UNKNOWN file amrecover: Can't read file header extract_list - child returned non-zero status: 1 There is no amidxtaped.debug to be found. Anyone have any ideas? This happens every time. Thanks for any suggestions or help. - db
skipping cruft file
Hi all. I've installed amanda from the latest source after removing the SuSE 7.3 rpm version. When I run amcheck it passes server test and dies on client: WARNING: localhost: selfcheck request timed out. Host down? I've gone through the amanda chapter in the book recommended, the same with INSTALL file and cannot see anything I've missed. So I ran amoverview and it reported: bad date 20011205: in 20011205: found Amanda directory. bad date .bashrc: in .bashrc: skipping cruft file, perhaps you should delete it. date11 hostdisk30 localhoshda30 (Missing t is not a typo) I've search every file without finding any 'cruft' reference. What is going on? I got further than this on the rpm version... -- Steve Szmidt V.P. Information Video Group Distributors, Inc.
Changers
Hi, everybody! I´m testing Amanda (without tape device) and shurely this will become my new backup suite. My questions are: What tape changers do you un/recommend me? What should I know about this kind of devices? Thanks!
Chunksize
What does the chunksize in Amanda 2.4.2p2 control and can I just comment it out? I'm running Amanda server on Solaris connected to a DLT 35/70 So if I can't comment it out, what is the recommended chunksize for this size of disk? Also would a incorrectly sized chunksize slow down the backups? My chunksize is currently set to 2GB which may be a totally ridiculous figure. Thanks in advance - David Flood Systems Administrator [EMAIL PROTECTED] Tel: +44 (0)1224 262721 Robert Gordon University School of Computing St. Andrews Street Aberdeen -
Single tape?
Hi, I'm new to Amanda and I want to use it because I have multiple platforms (Sun, SGI, Linux and PCs) that I need to back up. Only the server will be backup daily while users data will be backup weekly (or something other than daily). Anyway, my question is, Is there a way to 'force' amanda to use the same tape (2 or 3 days in a raw) for incremental backups? Couldn't find anything on this and yes, I know you are not suppose to use the same tape over but this is not crucial data (not final data) and I have a ton of data to backup and not enough tapes. Thanks David
Re: Permission _still_ denied
On Fri, 5 Apr 2002, Doug Silver wrote: - Hi Stephen - - - At first glance this appears like you might have built the amanda client - stuff with the tcp/udp portrange but not the amanda server. I'm not sure - since I'm using 2.4.2p2, so perhaps with this newer version the debug - messages are different. Does the amanda user have permission to - open up privileged ports (1024 -- I think)? That almost seems the - problem since if that user can't open up a connection on port 960 to - listen, but it can on 59116. I checked the config.status for both machines and I configured amanda --with-user=amanda --with-group=adm. AFAIK, the default is no portrange. -- -- Stephen Carville UNIX and Network Administrator DPSI (formerly Ace USA Flood Services) 310-342-3602 [EMAIL PROTECTED]
Re: Starting Fresh?
On Thursday, April 11, 2002, at 07:13 AM, Rick Jones wrote: We have been configuring and re-configuring/testing Amanda 2.4.3 for a few weeks now. Now that all is working, we would like to start fresh...(load new tapes, have Amanda forget about what was done up till now). How do I set that up? Check the FAQ-O-MATIC: http://amanda.sourceforge.net/fom-serve/cache/1.html It has all the fine details. EZ
Re: Tape eject
oh, and in addition, I did NOT use the no-rewind tape device for the eject command, so that the ejected tape is already rewound and ready for re-use again. Ummm, that doesn't matter. Tapes are always rewound before being ejected. If you're using 4mm or 8mm or some type of tape with two reels in the removable cartridge, it may seem like it would be possible to eject the tape with it positioned part way through (ala ejecting a tape from your VCR in the middle of a program), but all computer grade drives I know of ignore that capability and rewind first. Try it and see. Take an Amanda tape, skip out a bunch of files then do an mt offline on the no-rewind device. Look at the tape when it comes out. All the media will be to one side. stephen. John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
disk relabeling
I have mislabled a disk but amanda has done dump to it. If i remove and relabel it, will i loose the backup? Hussain
Re: Is this correct?
On Fri, 14 Dec 2001 at 9:17am, Kurt Yoder wrote You probably want at least one more tape in tapecycle, so at least 6. Everyone is always saying you want extras in case there's a bad run. (Not that I understand this; after all, if there's a bad run, why not just increment tapecycle then?) Because that bad run may clobber the only level 0 of a particular filesystem that you have on tape. Upping tapecycle at that point is closing the barn door after the horses are gone... -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: Amanda tape index script
What would the advantages/disadvantages be of using GNU tar for all your backup needs? Is it less efficient than vendor dump utilities? Unwanted side effects? In general, it's significantly slower, and touches the read dates on all your files. On the other hand, it's possible to break up a large filesystem into chunks that are easier for Amanda to swallow.
Skipping a tape
Is there any way to skip a tape? My server has crashed while doing a partition for 2 nights running, and tonight's backup is supposed to overwrite my last level 0 of this partition. Regards, --Ruth Anne
Re: Error building changer-src
I am getting the following error when building Amanda 2.4.1p1 ... Help with such an old release is going to be difficult, however ... scsi-chio.c: In function `isempty': scsi-chio.c:160: structure has no member named `ces_type' scsi-chio.c:161: structure has no member named `ces_data' ... As long as you don't need that changer (which you probably don't) then I'd just go into config/config.h and #undef'ing HAVE_CHIO_H and HAVE_SYS_CHIO_H. That should effectively disable that part of the build. John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: multiple amdump per day overwrites level0
On 10 Apr 2002, Frederic Saincy wrote: - Hi all, - - in my amanda.conf - ### - dumpcycle 1 weeks - runspercycle 5 - tapecycle 6 tapes - ### - - i ran 7 amdumps today (testing). The first amdump does a level0, and - the last overwrite this unique level0 with a level1. - - This is a bug, a feature or did i miss something ? :) - - I can give more information if needed. - - Thank you and Bye. As I undertand the amanda scheduling algorithm, it does a full for everything to get started and then tries to spread the fulls out over the tapecycle. So, when you hit the seventh amdump, you should have a full of every filesystem on one of tapes 2 thru 6 so tape 1 can hold partials. To list what backups are on what tapes, try: $ amadmin config find $ amadmin config info $ amoverview config -- -- Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt == Government is like burning witches: After years of burning young women failed to solve any of society's problems, the solution was to burn more young women. ==
Re: follow up
What I'm looking to do is something somwhat automatic - so I don't have to do this every four days. I.e. is there a way to tell amdump to overwrite a backup tape? I.e. something like amdump -force DailySet1 If so, then I wouldn't have to do all this amlabel crap. Also, is there a way to get amanda to make .tar.gz's instead of its own format? In addition, is there a way tt amanda to run several amandas at once? I'm backing up stuff thats on a slow connection, so I've got plenty of bandwith.. Sine amanda does stuff sequentially, I'm stuck waiting 20 minutes for some file to backup and im only using like uhm, 20k/s... So I could be running 10 other amanda backups at teh same time Do I just make multiple confs and put them all in my crontabs? cosimo On Fri, 8 Feb 2002, Don Potter wrote: I believe that you will need to do a amrmtape the tape from the database trhen you could do a amlabel and re-label the disk.and then you will need to reintroduce it back into the rotation Don [EMAIL PROTECTED] wrote: ok so the problem is that it thinks I have no new tapes, I'd like to just write over tape 1 - how to I tell it to just write over it?
Re: Tapeless operation
On Thu, 14 Mar 2002 at 12:38pm, Eric Zylstra wrote I have terrabytes of storage available via NFS. I want to backup to that NFS mount. No tape will ever be involved. I'm using 2.4.p2. I've seen discussion before about doing such a thing with older versions. Using files on disk like tapes has only ever been supported in the 2.4.2-tapeio branch of CVS, which (as I understand it) became 2.4.3b3. So you'll need to go that route. As I mentioned, details are in amanda(8) in that distrib. Also, look through the recent mailing list archives -- this has been discussed a fair bit recently. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Root directory is not on tape?
I'm getting the following odd behavior when doing a restore: amrecover extract Extracting files using tape drive /dev/nrst0 on host flame.nodewarrior.org. The following tapes are needed: DLT1 Restoring files into directory /tmp Continue? [Y/n]: y Load tape DLT1 now Continue? [Y/n]: y Root directory is not on tape abort? [yn] y The amanda server is a NetBSD-1.5.3 machine, and the dump is ufsdump from a Solaris 2.5.1 machine. There are two other similar slices on this dump from the same machine (/var and /) that restore just fine, so I'm boggled as to why this one fails. It is a rather large slice -- about 11GB (/usr/local), where the other two are roughly 500MB each. The filesystem was completely quiescent -- I took one mirror of a RAID0+1 array offline and backed that up, so no writes took place while the dump ran. It appears that my restore is what's generating this message, not amanda itself. But I'd appreciate some insight into what amanda did (if anything) to create a dump that restore can't read. Dan -- [EMAIL PROTECTED] www.nodewarrior.org ignorami: n: The art of folding problem users into representational shapes.
Re: Amanda + solaris
On Tue, 23 Apr 2002, Thomas Hepper wrote: Hi, On Tue, Apr 23, 2002 at 03:35:34PM +0200, Ryszard Kluza wrote: Hello I have Sun E250 with Solaris 7 Tape library Adic FastStore22 And amanda How I have to configure amanda and solaris to work together, What kind of driver I need to instal on Solaris I'm not sure if solaris have already the sgen driver. If no check the docs directory and there the file TAPE.CHANGERS on what you need for solaris without the sgen driver. In this doc you will find also some notes on how to configure the sgen driver. Solaris 8 comes with the 'sgen' driver. I don't think it existed in Solaris 7 or earlier. I'm having some interesting times with scanners and the sgen driver - as yet I haven't tried it with my ADIC 1200D autochanger as that unit has a problem with loading/unloading via front panel controls. I don't believe the problem is related to Amanda at all. Regards, Craig. -- Craig Dewick. Send email to [EMAIL PROTECTED] Point your web client at www.sunshack.org or www.sunshack.net to access my archive of Sun technical information and links to other places. For info about Sun Ripened Kernels, go to www.sunrk.com.au or www.sun-surplus.com
Re: AMDUMP--newbie question
On Monday 04 February 2002 12:25, Alvaro Rosales R. wrote: Hi fellows, finnally I've got amanda running I have made some tests and I could see that amanda is what I was looking for, Now I want to make amanda use a tape per day but I want it to make full backups of my data each day I run it , How can I do this ?? Thanks in advance fo ryour answers in your amanda.conf file use these settings dumpcycle 0 runspercycle 1 tapecycle X (where X is the number of tape you have)
Re: Reg:Cleaning Tape
On Tuesday 12 February 2002 11:49 am, chandrasekar wrote: Hi everyone This might be a simple question. I just wanted to know if we can use DDS cleaning tape in a DDS-3 tape drive. Thanks in advance regards chandrasekar I've read someplace that the formulations have changed enough that one shouldn't use dds or dds2 tapes in a dds3 or 4 drive. Whether or not this applies to cleaning tapes I'll leave to the real experts. I'd check with the drive maker I think. -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 98.5+% setiathome rank, not too shabby for a hillbilly
Re: newbie: gnutar problem?
At 09:22 AM 12/5/2001, Hussain Ali wrote: Hello, I have been using amanda without any problems for a while. I used to use dump but have switched to gnutar for dumps that are larger then the tape (ie using a more granular technique of direcotory partitioning ) Now, it dumps fine, but i cannot recover the data that was archived via dump or gtar . I get the following error (for both gtarred and sumped disks): [root@fiji /tmp/tar 899]$ amrestore -p /dev/nrst0 fiji /u3/mgmt | restore ivbf 32 - amrestore: short file header block: 2048 bytes amrestore: WARNING: not at start of tape, file numbers will be offset amrestore: 0: reached end of tape: date Q Verify tape and initialize maps End-of-tape encountered Tape is not a dump tape Note your amrestore line. You're piping the image from tape into restore. As in dump's counterpart. As in NOT tar. You need to use restore to restore dump images, and tar to restore tar images. [...] -Hussain [...] Cheers. Darin Dugan System Administrator Iowa State University Extension [EMAIL PROTECTED] http://www.extension.iastate.edu
Re: format of exclude list
Ok, say I want to back up some directories in /usr and I wanted to exclude the directories below. Is the format that I used below appropriate to exclude the directories and their subdirectories below? ... Not quite. What you have will exclude the contents of the directories but not the directory itself. In other words, if you did a restore you would get back the directories but they would be empty, which might actually be what you want. But if you want to the exclude the directory, too, you need to double up each entry: ./X11R6 ./X11R6/* ./bin ./bin/* ./compat ./compat/* I can never figure this stuff out in my head, so use this test script: ftp://gandalf.cc.purdue.edu/pub/amanda/gtartest-exclude John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Remote amrestore
Installed basic amanda on RH7.2 using RH rpm's got basic system running and tried default /etc backup of localhost. amrestore allowed single file restore... interface seems simple enough to use. updated disklist with remote machine this time using comp-root for / on a machine with 15G in use. backup went just fine. tried to do amrestore got error message: # amrestore -s tserv.meridian-ds.com -t tserv.meridian-ds.com -d /dev/nst0 AMRECOVER Version 2.4.2p2. Contacting server on tserv.meridian-ds.com ... amrecover: Unexpected server end of file. the /tmp/amanda/amrecover.2002datestuff.debug file contains. amrecover: debug 1 pid 29658 ruid 0 euid 0 start time Thur ... amrecover: stream_client: connected to 65.64.90.11.10082 amrecover: stream_client: our side is 0.0.0.0.540 I have entries for amanda, amandaidx, amidxtape in /etc/services for both the client and server. I have restarted network and xinetd on both servers RH 7.2 is using /etc/xinetd.d for inetd configuration. There are 3 files, one for amanda, amandaidx, amidxtape. On both machines I have these set to disable=no tried to find archives to look through... latest I could find on ftp site ended in 1999. references in those messages seemed to point to problems in /etc/services and /etc/inetd.conf I have reviewed all that and added the 10082 10083 entries on both machines with the above noted restarted services. nothing seems to change the error (except putting the firewall up on the server... but that is down for these testsgrin) Any pointers or ideas would be appreciated. thanks Kurt L Vanderwater President, Meridian Data Systems, Inc. Phone: (405) 755-6690 Fax: (405) 415-0676
Re: Schedule question.....
John shed some light from a previous thread..I'll basically be required to maintain two seperate configs as to allow the Daily runs correctly and still maintain Full backups for off-site storage. My brain is fried now. Don Don Potter wrote: Okay..I know the virtues of amanda allowing it to do all of the backup scheduling itself (full and incremental), and I think that it is really kewl. BUT.when your client base is used to 1st of the month full-backups I have to adjust acordingly (so sayeth the boss man). That being said (and trying to apease the group that I support) could I do the following and obtain that same effect: dumpcycle 31 days runspercycle 31 days (daily backups.weekends included) tapecycle 31 tapes I have a 6 slot tapechanger so I will be changing the tapes at the end cycle and putting in new tapes. I can do a amadmin Daily force of all my hosts and filesystems initally and take those tapes out of rotation, and at the end of the tapecycle (I'm assuming I wouldn't need to do a amadmin Daily no-reuse since they won't be in the changer at all) and once the first of the month rolls around do the force again and once again pull those tapes out of rotation. The level 0 would be out of the rotation for basically forever. Does this sound viable? BTW...this is an inital implementation... Don
Re: I forgot a tape, now what?
so I do amflush with the tape I forgot in it, and after that I put the tape it that it needs for tonight? Gene Heskett wrote: On Thursday 21 February 2002 08:40 am, Tom Van de Wiele wrote: hello I have a tape for each working day, monday is daily-000, tuesday daily-001, and so on and so on. I forgot to put in a new tape, so it didn't overwrite the tape. I put in the right tape (skipping a day) but amanda tells me its expecting the daily-002 tape (the tape I forgot) and not the daily-003 (coz its thursday today). What do I do to get the sequence in order again? Kind regards Tom Van de Wiele run amflush before the next scheduled amdump run. -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 98.6+% setiathome rank, not too shabby for a hillbilly -- Tom Van de Wiele System Administrator Eduline Colonel Bourgstraat 105a 1140 Brussel http://www.eduline.be
FAILED AND STRANGE DUMP DETAILS:
Has anyone gotten this error before? I am trying to backup a remote machine and am getting the following error on 4 of the directories I am trying to back up. William Bilancio FAILED AND STRANGE DUMP DETAILS: /-- mail.bilan /home/rocknroll lev 0 FAILED [/sbin/dump returned 1] sendbackup: start [mail.bilancio.org:/home/rocknroll level 0] sendbackup: info BACKUP=/sbin/dump sendbackup: info RECOVER_CMD=/sbin/restore -f... - sendbackup: info end | DUMP: You can't update the dumpdates file when dumping a subdirectory | DUMP: The ENTIRE dump is aborted. sendbackup: error [/sbin/dump returned 1] \ William Bilancio - Network/Systems Administrator Arora and Associates, P.C. 3120 Princeton Pike 3rd Floor Lawrenceville, NJ 08648 Phone: 609-844- Ext. 129 Fax: 609-844-9799 E-Mail: [EMAIL PROTECTED]
Re: AIT libraries
On Mon, 22 Apr 2002, Bernhard R. Erdmann wrote: Once upon a time I ran an Overland Library with 19 AIT-2 tapes and a Sony SDX-500C internally just fine with Amanda. Hey Bernhard, I appreciate your response. I am very interested in the Overland Data products now. Especially after hearing of Stephen Carville's troubles with the Spectra Logic Treefrog LVD SCSI adapters. The Overland Data products seem to be price competitive with the Sony offerings and include 19 as opposed to 16 slots, which gives me much more breathing room in the library. I like that number a lot better. Anyhow, my question for you, what changer glue were you using with this library (i.e. chg-scsi or something else) and did you use a barcode reader in your setup at all? That would be good information to have before I recommend one of these for our setup. Thanks, -- Brandon D. Valentine [EMAIL PROTECTED] Computer Geek, Center for Structural Biology This isn't rocket science -- but it _is_ computer science. - Terry Lambert on [EMAIL PROTECTED]
Rename DLT tapes?
Title: Rename DLT tapes? I am trying to relabel some DLT tapes but keep getting an error saying my changer is trying to rewind. I have a Compaq TZ891 Changer running under Mandrake 8.1 w/latest Amanda. Thanks.
Re: amandahostauth failed
On Tue, 8 Jan 2002, David T. Smith wrote: Look in /tmp/amanda on the client for the amandad.*.debug files. They report everything that happens when the amanda server checks or pulls a dump from the client. Is there anything strange in there where it tests those files? = amcheck: debug 1 pid 15377 ruid 504 euid 0 start time Tue Jan 8 09:23:36 2002 amcheck: dgram_bind: socket bound to 0.0.0.0.761 amcheck: pid 15377 finish time Tue Jan 8 09:23:42 2002 = I don't know what I'm looking for here. The real user id is correct, I assume the effective user id is also ok? Socket bound to 0.0.0.0.761 is a mystery to me, and I don't see any errors. --charlie -- Charles Farinella Appropriate Solutions, Inc. www.AppropriateSolutions.com[EMAIL PROTECTED] 603.924.6079(v) 603.924.8668(f)
Re-naming DLT tapes
Title: Re-naming DLT tapes I am trying to relabel some DLT tapes but keep getting an error saying my changer is trying to rewind. I have a Compaq TZ891 Changer running under Mandrake 8.1 w/latest Amanda.
[no subject]
auth 160941f7 subscribe amanda-users [EMAIL PROTECTED] Thanks Clint ~~ Clinton Dilks Ph: (09) 8154200 Ext 7171 Computer Services Team Email: [EMAIL PROTECTED] - HORTRESEARCH - __ The contents of this e-mail are privileged and/or confidential to the named recipient and are not to be used by any other person and/or organisation. If you have received this e-mail in error, please notify the sender and delete all material pertaining to this e-mail. __
Re: Samba Question
On Wednesday 20 February 2002 08:47 am, Gene Matthews wrote: On Tue, 2002-02-19 at 09:01, Joshua Baker-LePain wrote: Well, here's what I do to exclude the recycyle bin: define dumptype comp-high-smb { global comment important partitions via tar (e.g. for samba) compress client best priority medium exclude ./RECYCLER } Give the ./ a try. So, can I have more than one exclude line in the dumptype definition? Or am I only limited to one? Thanks, Gene There are instructions for generating a file that contains a list of stuff to skip. Applicatble to tar users only I believe. -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 98.5+% setiathome rank, not too shabby for a hillbilly
scheduling question.
Hello, It is my understanding that amanda will run a level 0 dump when it meets certian thresholds based upon definitions in the amanda.conf. It is also my understanding that amanda is not desigined to run a level 0 on some day and some time. Friday two of my hosts had a lvl 0 dump. This morning when I checked the status of the backups over the weekend I noticed that those same two hosts ran a lvl 0 again today. I am curious as to why amanda would run two level 0 dumps in three days. One last note. Last week on wednesday I had to force level 0's on everything with amadmin. Could this be the cause? Thanks in advance. Andrew
Re: multiple spindles on single host?
John R. Jackson [EMAIL PROTECTED] writes: What is maxdumps set to in either the global section of amanda.conf or the individual dumptype? What does amadmin config disklist client say about maxdumps? My bad. I was only looking at inparallel. maxdumps is running as default 1, so I've fixed that to 6. I bet that will fix the next dump. Chris
Re: amandahostauth failed
On Tue, 8 Jan 2002 at 1:01pm, Charles Farinella wrote On Tue, 8 Jan 2002, David T. Smith wrote: Look in /tmp/amanda on the client for the amandad.*.debug files. They report everything that happens when the amanda server checks or pulls a dump from the client. Is there anything strange in there where it tests those files? = amcheck: debug 1 pid 15377 ruid 504 euid 0 start time Tue Jan 8 09:23:36 2002 amcheck: dgram_bind: socket bound to 0.0.0.0.761 amcheck: pid 15377 finish time Tue Jan 8 09:23:42 2002 = I don't know what I'm looking for here. The real user id is correct, I assume the effective user id is also ok? Socket bound to 0.0.0.0.761 is a mystery to me, and I don't see any errors. How about selfcheck*debug? -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Question re OS...
Hi! I'm about to start setting up a small backup network for about five computers (not counting the backup server) -- four Solaris 2.6/7 boxes, and one NT4 box. I may later add in some Win2K boxes. I am planning on taking an older (ie, spare) i386 box and adding a 20gig holding disk, and our (older) SCSI tape drive to it, and installing a *nix OS. My question is, should I go with Linux, FreeBSD, or OpenBSD. I don't really know enough about the dis/advantages of each to make an informed decision. Since I already have a linux server available, I am leaning towards one of the BSDs, as it will give me a different experience. Between the two, I hear that OpenBSD concerns itself more with security, while FreeBSD concerns itself more with either stability or performance (I don't know exactly which). Any suggestions / comments? Thanks, Ricky Morse - Richard MorseSystem Administrator MGH Biostatistics Center 50 Staniford St. Rm 560 [EMAIL PROTECTED] 617/724-9830
Re: Estimates - 7 hour 50mins
On 23 Apr 2002, at 12:20, Jon LaBadie wrote: On Tue, Apr 23, 2002 at 04:47:33PM +0100, David Flood wrote: To David, see if one (or more) systems are causing the total system to be slow to completion. But the tapeserver concerned is only backing up itself so there are not any slow hosts slowing it down. The tapeserver is a Sun E450 which is quite a chunky fileserver with 1.6GB ram. Any particular disklist entry causeing the slow estimate phase? How would I check this. Any chance of switching to ufsdump? These directories are all under /export/home/* but unfortunatly /export is an entire 80GB disk all in one slice(I did not set this up this way). So tar is the only option. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax) - David Flood Systems Administrator [EMAIL PROTECTED] Tel: +44 (0)1224 262721 The Robert Gordon University School of Computing St. Andrews Street Aberdeen -
ERROR: aspone: [GNUTAR program not available]
Hi, I tried to do backup of amanda client host. My Amanda Tape Server is TurboLinux Sever6.5. My Amanda client host is Solaris7, so its name is aspone. When I executed " su amanda -c "amcheck aspone", I am getting a error. A error is the following. Amanda Backup Client Hosts Check ERROR: aspone: [GNUTAR program not available] Client check: 1 host checked in 0.085 seconds, 1 problem found I installed tar command of gnu into Solaris7(aspone). Why am I getting error ? Please help me. Best regards, Masafumi Hikawa
Question on how to configure tar backups..
Hi! Perhaps I'm just not looking in the right place, but I can't seem to find any sources on setting up the following backup with tar... I understand how to backup entire folders in the root partition as a separate group (that is, /usr, /var, /tmp, /etc, etc.). But suppose that I have the following layout: /home /user1 /user2 /user3 /user4 /user5 ... /home/user1 is a huge folder, as is /home/user3. So I would like each of these to be separate disks on the disklist (each one approaches the max size of my tape). However, I also want to back up the rest of the folders in one disk. That is, I want to have the following disks: /home/user1 /home/user3 /home [but without user1 and user3] How would I go about doing this? I think it would be something with the exclusion lists, but how do I set them up? Thanks, Ricky - Richard MorseSystem Administrator MGH Biostatistics Center 50 Staniford St. Rm 560 [EMAIL PROTECTED] 617/724-9830
Re: amtrmidx ate my index files!
On Thursday 31 January 2002 07:08 pm, Matthew Hall wrote: Why is this going and deleting all my old index files? Is there a way to change this behaviour? Some of us do take tapes out of the changer for offsite storage - now it's more 'difficult'[1] to restore since amtrmidx decided I didn't really need my old index files. What influences this behaviour? Is there a way to change it? Is there a way to regenerate the index files from an existing tape? Help, pointers, anything you feel like throwing my way would be appreciated. [1] Now I have to use ufsrestore off the raw tape device, was hoping to use the easy interface of amrecover. Generally speaking, amtrmidx will only delete the old index files when that tape has been over-written. Do you have two or more identically named sets of tapes purchance? That will tend to negate any positive karma, and bring Mr. Murphy onto the scene with a powerfull thirst. :-) -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 98.4+% setiathome rank, not too shabby for a hillbilly
Re: Amdump Sanity Check
I've tried man amrecover but can find no way of extracting a single file just from the command prompt. ... You *might* (and I emphasize the word might) be able to do this by running amrecover by hand and taking notes on everything you type, then put that into a file and run amrecover with that file as standard input. Make sure the tape is rewound before doing this, either at the end of the amdump run or just before the amrecover. If the above does not work, then you can use amrestore instead of amrecover, something like this: cd someplace-safe rsh -n amanda-server \ mt -f /dev/whatever rewind rsh -n amanda-server \ /path/to/amrestore -p /dev/whatever client-1 /some/disk | \ /your/restore/program -flags the/file/to/restore I assume what you're trying to do is verify the tapes can be read and files actually restored. If you're using GNU tar, the amverify script with Amanda does a very good job of this -- if it's happy, you're almost certain to be able to do restores. If you're using dump, amverify will tell you the tape itself is readable but it cannot tell you whether the internal (dump) structure is sane. Only a real restore can do that. John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: amlabel ftape
hello again! yes, and i am using it ( ln -s /dev/nqft0 /dev/tape ). but meanwhile i have found these lines in /var/log /messeges : Apr 22 17:18:17 tester kernel: [141] zftape-read.c (check_read_access) - req_len 32768 not a multiple of block size 10240. Apr 22 17:18:18 tester kernel: [142] zftape-write.c (check_write_access) - write-count 32768 must be multiple of block-size 10240. Apr 22 17:18:18 tester kernel: [143] zftape-write.c (_zft_write) - check_write_access(req_len, volume,zft_pos,zft_blk_sz) failed: so i guess i am using wrong buffer size. i will have a glimpse on the ftape homepage. tx for your efforts stefan Tom Beer wrote: Hi Stefan, the device is working properly. i am able to write and read tar archives. the mt command is working fine, too. I'm no expert but two possiblities come to my mind. 1) you are using a non-rewinding driver. 2) it is simply not compatible with a qic or zip drive. Is there a non-rewinding driver for this drive? Greets Tom
Re: amrestore problem
Joshua Baker-LePain [EMAIL PROTECTED] writes: Verifying backups?! Are you insane? You're not supposed to do that until you *need* them. Sheesh. Is that so? What's amverify doing in my crontab file, then? ;-) (That was a rhetorical question. It's there so that ejecting the tape will be quicker, which means I get out of the cold, noisy machine room faster. It hasn't found any errors yet, other than those end-of-tape errors you get when the tape's too short to hold everything.) Coming to think of it, if amverify were to find a real error, what's the approperiate procedure for me to follow? -- Arvid
Re: amdump sending blank emails
On Thu, 7 Feb 2002 at 11:55am, [EMAIL PROTECTED] wrote tar release starting from 1.12 would do I think Only with the patches from www.amanda.org. 1.13.19 doesn't need any patches. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: Backing up five days for week
On Thu, 13 Dec 2001 at 12:22pm, Adolfo Manuel Pachón Rodríguez wrote I've an Linux RH 7.1 system with an HP-24DAT SCSI. I want to have one tape per day, in a week. I don't understand the dumpcycle theorie. Can someone help me? I don't quite understand what you're asking, but here's a simple explanation of the broad theory. 'dumpcycle' determines the maximum number of days you want between full backups of a particular filesystem. runspercycle is the number of times you will run amdump in one dumpcycle. So, e.g., if you want a full backup of each filesystem at least once a week, and you'll run amdump every weeknight, then you want: dumpcycle 1 week runspercycle 5 tapecycle is the number of tapes you have. It needs to be at least equal to runspercycle. It really should be at least one or two greater, to account for bad runs requiring an amflush. The bigger your tapecycle, the longer your history. In the above example, if you wanted a two week history of backups (with two extra for mishaps), you'd want tapecycle 12 HTH. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
RE: Amanda install reality check
On Wed, 6 Feb 2002 at 4:26pm, Bort, Paul wrote 1. REBDA (Read Everything Before Doing Anything) Where Everything is at least the chapter at www.backupcentral.com and docs/INSTALL (plus anything else relevant in docs, like SAMBA). 1a. Read it again. ;) Really. Wrapping your head around AMANDA can take a bit, but it's well worth it. 2. Be prepared to run the configure/install process a few times until you get it the way you want. 2a. Start with a config named Testing or something like that. Set record no. Play with it. Break it. Fix it. Any other suggestions from the list? 9. Watch out for firewalls you may not expect to be there, e.g. ipchains in default RedHat installs. 10. Restart (x)inetd. Yes, again. ;) 11. If/when you ask the list for help, be as detailed as possible about the problem. We're a friendly (usually), helpful bunch, but we ain't mind readers. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: [data write: File too large]
Pedro Aguayo wrote: Ok, I didn't but think I do now. Basically when amanda write to the holding disk, it rights it to a flat file on the file system, and if that flat file is larger than 2gb then you might encounter a problem if your filesystem has a limitation where it can only support files 2gb. But if you write directly to tape you will avoid this problem cause you are bypassing the filesystem. And that's why the paramater chunksize for the holding disk can be set to e.g. 1Gbyte. And, when everything else fails, read the manual pages. :-) Right Adrian? Hope I got it right, but this makes sense. -- Paul Bijnens, Lant Tel +32 16 40.51.40 Interleuvenlaan 15 H, B-3001 Leuven, BELGIUM Fax +32 16 40.49.61 http://www.lant.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* * ... Are you sure? ... YES ... Phew ... I'm out * ***
cautionary note about KT133 southbridge systems
HI all- Awhile ago, I built a system which was destined to be my webserver which was a AMD Duron 800 with the fabled Kt133a Southbridge chipset. AFter numerous backups with amanda, I kept on getting i/o errors and strange dump reports using an IBM 45 gig ATA 100 drive. On the system, the drive was filled with dma retries and resets. I tried a whole bunch of stuff to solve this including stepping the system down to no-DMA but still had the problems. This was on a 2.4.13 kernel with the VIA ide driver enabled; which usually fixes this sort of thing. At the end of things, the drive started clanking on copying my build to a replacement disk drive and I realized that the drive was probably gonna fail on me at any moment. It also made me doubt that validity of backups since each one seemed to have the strange dump reports in it but they all completed. My main note here is to move carefully when using this particular chipset and controller and different IDE drives. For me, any amount of intensive disk io caused the system to burp out literally hundreds of dma reset/retry errors. Replacing the drive with a Maxtor DiamondMax 80g drive solved the problems completely. If you see dma resets/retries when doing amanda dumps, you may want to doublecheck what you are using as far as dma settings on the drive. -- Michael Perry | Do or do not; there is no try Master Yoda [EMAIL PROTECTED] | http://www.lnxpowered.org
Re: Saeagate IDE Streamer won't work.
Hello, still got problems got my Seagate IDE Streamer worked with amanda. - Don't use dump if /home is not a filesystem. Use tar instead. Thank you, i did the neccasary modifications and use tar now. Please see the following errormessage generated by amanda. Please Help. Bye, Harald. attached Mail begins here. From [EMAIL PROTECTED] Fri Nov 30 22:05:19 2001 Date: Thu, 22 Nov 2001 23:10:53 -0500 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: DailySet1 AMANDA MAIL REPORT FOR November 22, 2001 These dumps were to tape tape01. The next tape Amanda expects to use is: a new tape. FAILURE AND STRANGE DUMP SUMMARY: localhost /mnt/hda9/install lev 0 FAILED [missing result for /mnt/hda9/install in localhost response] STATISTICS: Total Full Daily --- Estimate Time (hrs:min) 0:00 Run Time (hrs:min) 2:03 Dump Time (hrs:min) 0:00 0:00 0:00 Output Size (meg) 0.0 0.0 0.0 Original Size (meg) 0.0 0.0 0.0 Avg Compressed Size (%) -- -- -- Filesystems Dumped 0 0 0 Avg Dump Rate (k/s) -- -- -- Tape Time (hrs:min) 0:00 0:00 0:00 Tape Size (meg) 0.0 0.0 0.0 Tape Used (%) 0.0 0.0 0.0 Filesystems Taped 0 0 0 Avg Tp Write Rate (k/s) -- -- -- NOTES: planner: Adding new disk localhost:/mnt/hda9/install. driver: WARNING: got empty schedule from planner taper: tape tape01 kb 0 fm 0 [OK] DUMP SUMMARY: DUMPER STATS TAPER STATS HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -- - ---localhost -a9/install 0 FAILED -- (brought to you by Amanda version 2.4.2p2)
Using Patch to apply advfs.diff
Hi Everyone I am trying to setup the amanda client on a TRU64 in particular OSF1 V4.0. (Note the amanda client is amanda-2.4.2p2) This means that I need to apply the advfs.diff patch. To do this I believed that I need ed to go into the client-src directory then type patch getfsent.h advfs.diff but when I do this I get a message saying Hmm... I can't seem to find a patch in there anywhere. Ive tried various combinations of switchs such as -l , p0 and p1 with no change. Can anyone give me an idea where Im going wrong ?? Thank You for your time Have a nice day :) __ The contents of this e-mail are privileged and/or confidential to the named recipient and are not to be used by any other person and/or organisation. If you have received this e-mail in error, please notify the sender and delete all material pertaining to this e-mail. __
floodgates
If it's at all possible, stop the insanity! Some SMTP server in Germnay has opened its floodgates. Is it possible for someone with access to the machine running the amanda listserv to deny relaying from: mailto.t-online-com.de mail.t-intra.de Thanks, -- Brandon D. Valentine [EMAIL PROTECTED] Computer Geek, Center for Structural Biology This isn't rocket science -- but it _is_ computer science. - Terry Lambert on [EMAIL PROTECTED]
amrecover: Unexpected server end of file error
Hi, does anyone know what the following means? # amrecover AMRECOVER Version 2.4.2p2. Contacting server on geko60 ... amrecover: Unexpected server end of file I looked at the Amanda FAQ and followed the 'solution' for this error but it is still not working. Here's what I did: 1) checked for forward and reverse name resolution: checks ok 2) checked /home/amanda/.amandahosts: fqdn.myhost.blah root myhostroot 3) checked the /etc/xinetd.d/amandaidx /etc/xinetd.d/amidxtape files for the correct settings. service amidxtape { socket_type = stream protocol= tcp wait= no user= amanda group = disk groups = yes server = /usr/local/libexec/amidxtaped server_args = amidxtaped disable = no } service amandaidx { socket_type = stream protocol= tcp wait= no user= amanda group = disk groups = yes server = /usr/local/libexec/amindexd disable = no } I got the same error as previously. Any help would be appreciated Cheers, Tom Thomas Robinson Ehbas Ltd T: 01273 234 665 F: 01273 704 499
Re: GNUtar instead of dump, no time estimate
On Thu, 24 Jan 2002 14:15:56 -0500 John R. Jackson [EMAIL PROTECTED] wrote: There is no time estimation done: ... Estimate Time (hrs:min)0:00 What version of Amanda? In the corresponding log.MMDD.NN file, what does the STATS driver startup time line say? Hi John, The version is amanda-2.4.2p2 The line for all logs (not so many, so far) is ---cut-on--- /var/log/amanda/DailySet1/log.20020111.0:STATS driver startup time 2.476 /var/log/amanda/DailySet1/log.20020111.1:STATS driver startup time 2.350 /var/log/amanda/DailySet1/log.20020111.2:STATS driver startup time 2.432 /var/log/amanda/DailySet1/log.20020111.3:STATS driver startup time 2.320 /var/log/amanda/DailySet1/log.20020111.4:STATS driver startup time 2.325 /var/log/amanda/DailySet1/log.20020111.5:STATS driver startup time 3.970 /var/log/amanda/DailySet1/log.20020111.6:STATS driver startup time 3.916 /var/log/amanda/DailySet1/log.20020115.0:STATS driver startup time 17.492 /var/log/amanda/DailySet1/log.20020116.0:STATS driver startup time 14.452 /var/log/amanda/DailySet1/log.20020117.0:STATS driver startup time 15.813 /var/log/amanda/DailySet1/log.20020118.0:STATS driver startup time 15.456 /var/log/amanda/DailySet1/log.20020119.0:STATS driver startup time 14.777 /var/log/amanda/DailySet1/log.20020122.0:STATS driver startup time 13.311 /var/log/amanda/DailySet1/log.20020123.0:STATS driver startup time 16.649 /var/log/amanda/DailySet1/log.20020124.0:STATS driver startup time 17.156 /var/log/amanda/DailySet1/log.20020125.0:STATS driver startup time 20.569 I hope that helps (which I can't see, yet :) Sincerly, Sascha
Re: Tapetype when utilizing hardware compression
On Thursday 17 January 2002 09:10 am, Don Potter wrote: I ran the tapetype test to our tapedrive (ADIC DS9400D) using DLTTAPE IV. I frontpaneled the compression so I expected at least 40 GB when the tapetype was completed. But I only got about 17GB: Command: tapetype -d /dev/rmt/0n define tapetype unknown-tapetype { comment just produced by tapetype program length 17587 mbytes filemark 13 kbytes speed 1011 kps } Then I ran it with software compression (/dev/rmt/0cn) and I only got 20 GB: Command: tapetype -d /dev/rmt/0cn define tapetype unknown-tapetype { comment just produced by tapetype program length 19565 mbytes filemark 4 kbytes speed 1101 kps } Both ways I would of expected close to double the native writes. Any ideas why the compression would not of increased. Any suggestions would be appreciated. Don Potter First Don, be aware that tapetype uses /dev/urandom as a data source, and /dev/urandom prides itself on being as truely random as it can be. It takes repeatable, predictable data to be able to compress it by any great amount.. The output of urandom wil typically drive a hardware compressor to make a file bigger, not smaller. What it boils down to is that the values you get from tapetype will be truely the absolute worst case values. Typical hardware compression will gain 2/1 on text and such sparse files, while a really good software algorythm can easily double that again. However, the hardware compression can be easily defeated by preceeding it with a good software compressor so that the copy on the tape might be 10 or more percent larger on tape than the actual compressed file is. If you have the cpu horspower, always use software only, with the hardware compression in the drive disabled. -- Cheers, gene
Re: Who uses Amanda?
On Fri, 25 Jan 2002, KEVIN ZEMBOWER wrote: - (This might seem like a stupid question to this group, but) I'm being - challenged by the folks who can't get my firewall setup to work with - Amanda that I should adopt a more industry-standard backup product. - Hogwash. But, I would like to at least offer an answer. - - Anyone have any guesses how many institutions and individuals are using - amanda? - - Anyone know, or want to self-disclose, some noteworthy institutions - using amanda? If you think this would clog up the list too badly, email - me privately at [EMAIL PROTECTED], and after a week or so, I'll - compile a list and post it to the email list. I've been using Amanda for years. Currently, I'm the Senior SysAdmin for Mission Critical Linux (http://www.missioncriticallinux.com), and I've been using Amanda here with an HP SureStore 818 DLT changer backing up Linux systems on both sides of our firewall without a problem. Before coming to MCLX, I was at a small division of Bay Networks (bought by Nortel, then sold to Arris Interactive) which also used Amanda. I also used Amanda at 3Com and Raytheon. So, there you have it, there's a list of companies that did use Amanda for backups at least while I was there. I have no knowledge of what any of them use now, however. Hope that helps :) Seeya, Paul -- Paul Lussier(877) 625-4689/(978) 606-0256 Senior Systems and Network Engineer 100 Foot of John Street Mission Critical Linux Lowell, Ma, 01852
amrestore
Redhat 7.2 Tandberg library TDS 1420 SLR100 Amanda 2.4.3b3 Try to restore, I get this error EOF, check amidxtaped.debug file on backup.intra.it. amrecover: short block 0 bytes UNKNOWN file amrecover: Can't read file header extract_list - child returned non-zero status: 1 Continue? [Y/n]: n The amidxtaped.debug file say amidxtaped: debug 1 pid 7212 ruid 33 euid 33 start time Fri Mar 15 17:04:09 2002 amidxtaped: version 2.4.3b3 SECURITY USER root bsd security: remote host backup.intra.it user root local user amanda amandahosts security check passed 6 amrestore_nargs=6 -h -p 0 backup.intra.it ^/etc$ 20020315 Ready to execv amrestore with: path = /opt/amanda/sbin/amrestore argv[0] = amrestore argv[1] = -h argv[2] = -p argv[3] = 0 argv[4] = backup.intra.it argv[5] = ^/etc$ argv[6] = 20020315 amrestore: could not stat 0 amidxtaped: amrestore terminated normally with status: 2 amidxtaped: could not stat 0 could not stat 0 amidxtaped: pid 7212 finish time Fri Mar 15 17:04:09 2002 and the amrecover...debug say add_file: Pondering ditem-path=/zshenv add_file: Pondering ditem-path=/zshrc amrecover: stream_client_privileged: connected to 192.168.1.16.10083 amrecover: stream_client_privileged: our side is 0.0.0.0.921 amrecover: try_socksize: receive buffer size is 65536 Started amidxtaped with arguments 6 -h -p 0 backup.intra.it ^/etc$ 20020315 Can't read file header amrecover: pid 7211 finish time Fri Mar 15 17:04:09 2002 amrecover: pid 7200 finish time Fri Mar 15 17:04:17 2002 any help ? -- Infogroup S.p.A. Massimiliano Panichivia delle Panche 140 [EMAIL PROTECTED] Tel: +390554365725 Fax: +390554365735
Amrecover problem
HI People ITRU 64 strikes again. Backing up and Indexing are now working fine but when I attemp an amrecover it appears amanda is calling vrestore with invalid switchs causing the restore to fail. amrecover: stream_client: connected to 161.66.243.4.10083 amrecover: stream_client: our side is 0.0.0.0.611 amrecover: try_socksize: receive buffer size is 65536 Started amidxtaped with arguments 6 -h -p /dev/nst0 genome5.marc.hort.cri.nz ^/$ 20020211 Exec'ing /sbin/vrestore with arguments: restore xbf 2 - /etc/hosts.equiv /etc/hosts.deny /etc/hosts.allow amrecover: pid 9835 finish time Mon Feb 11 12:14:44 2002 If I manually do an amrestore then use vrestore the data is fine. IS there a way I can tell amanda the exact options to use when calling vrestore for a restore ?? Have a nice day __ The contents of this e-mail are privileged and/or confidential to the named recipient and are not to be used by any other person and/or organisation. If you have received this e-mail in error, please notify the sender and delete all material pertaining to this e-mail. __
Still having problems with ufsdump returning 3...
Hi! I'm still having problems with ufsdump returning error code three, thus causing the dumps to fail. There seems to be no consistancy to this -- the disks get backed up correctly eventually, but it takes a number of tries. None of the log files that I know about (/tmp/amanda/*) seem to contain any more information that what is reported in my nightly logs. I've included the error report below... Any ideas where I look to see if I can figure out what the problem is? Thanks, Ricky /-- .mgh.h /dev/dsk/c0t2d0s4 lev 2 FAILED [/usr/sbin/ufsdump returned 3] sendbackup: start [.mgh.harvard.edu:/dev/dsk/c0t2d0s4 level 2] sendbackup: info BACKUP=/usr/sbin/ufsdump sendbackup: info RECOVER_CMD=/usr/sbin/ufsrestore -f... - sendbackup: info end | DUMP: Writing 32 Kilobyte records | DUMP: Date of this level 2 dump: Tue Apr 02 19:14:48 2002 | DUMP: Date of last level 1 dump: Tue Mar 26 19:09:43 2002 | DUMP: Dumping /dev/rdsk/c0t2d0s4 (.mgh.harvard.edu:/crc) to standard output. | DUMP: Mapping (Pass I) [regular files] | DUMP: Mapping (Pass II) [directories] | DUMP: Mapping (Pass II) [directories] | DUMP: Mapping (Pass II) [directories] | DUMP: Estimated 1199200 blocks (585.55MB) on 0.01 tapes. | DUMP: Dumping (Pass III) [directories] | DUMP: Dumping (Pass IV) [regular files] | DUMP: 22.16% done, finished in 0:35 | DUMP: 47.81% done, finished in 0:22 | DUMP: 81.22% done, finished in 0:06 ? sendbackup: index tee cannot write [Broken pipe] | DUMP: Broken pipe | DUMP: The ENTIRE dump is aborted. ? index returned 1 sendbackup: error [/usr/sbin/ufsdump returned 3] \ - Richard MorseSystem Administrator MGH Biostatistics Center 50 Staniford St. Rm 560 [EMAIL PROTECTED] 617/724-9830
Re: amanda and dump-gnuitar
* Robert Kearey [EMAIL PROTECTED] (Thu, Mar 14, 2002 at 05:03:09PM +1000) I'm sure this is an obvious FAQ, but anyway ... The time has come when I need greater granularity for our backups, so I want to switch from dump to gnutar. I gather this isn't a simple proccess - is there a Canonical Way of doing so? Yes, edit your disklist, and change the dumptype from a dumptype that uses DUMP into one that uses TAR. e.g. define dumptype high-tar { global program GNUTAR comment root partitions dumped with tar compress none index comment partitions dumped with tar exclude list /usr/local/lib/amanda/exclude.gtar priority high maxdumps 4 } Mixing dump and gnutar backups in the same tape cycle sounds scary :) It's not. I've been doing it for years (well, maybe not years, but at least a year now) -- Rob KeareyWebsite: http://apac.redhat.com Red Hat Asia-Pacific Legal: http://apac.redhat.com/disclaimer +61 7 3872 4803 Stuff: http://people.redhat.com/rkearey Currently listening to: Led Zeppelin - Stairway To Heaven Gerhard, (@jasongeo.com) == The Acoustic Motorbiker == -- __O One day a king will rise with the sun, the moon and the stars =`\, And you are he and you must die, (=)/(=) To be born again, come again, live again, once more be again the king
Host Down Problem... again.
I have AMANDA working on the server just fine. It is capable of backing up two computers already. Now I have to work on the other 4. The problem is the first 2 are running RedHat 7.1 and are thus using xinetd while the next 4 are running RedHat 6.2 and are thus using inetd. I can not figure out what the heck is wrong. Here is some info: in inetd.conf: amanda dgram udp waitamanda /usr/local/libexec/amandad amandad amandaidx stream tcp nowait amanda /usr/local/libexec/amindexd amindexd amidxtape stream tcp nowait amanda /usr/local/libexec/amidxtaped amidxtaped Here's the results from netstat -a | grep -i amanda: tcp0 0 *:amandaidx *:* LISTEN udp0 0 *:amanda*:* I have the permissions set on all of the files so that Amanda can read, write, and execute them. The .rhosts and .amandahosts files which are in both the root and amanda directories look like this: xxx.ornl.govamanda On the server, in /tmp/amanda/*.debug, I get this message: amcheck: debug 1 pid 15215 ruid 1000 euid 0 start time Tue Jan 8 10:26:10 2002 amcheck: dgram_bind: socket bound to 0.0.0.0.769 amcheck: pid 15215 finish time Tue Jan 8 10:26:40 2002 The other two servers still work when I run amcheck so I don't think that there's anything wrong with the server side. It appears to be a client side problem. I am running the same version of Amanda on all of the machines. Another thing that I've heard people talk about is the IPChains firewall. We use an IPChains firewall.. but one of the other computers I back up is the firewall and the all of the computers are behind this firewall. So I can already backup another computer that is behind the firewall with no changes made to the IPChains so I don't believe that this is the problem. Please help me as soon as you can. I am stuck and this is holding up a major project. Thanks for any help you can give me. Joey
Re: samba excludes
On Mon, 17 Dec 2001 at 2:18pm, Jon LaBadie wrote The strange report is what I'm trying to eliminate. For example: /-- butch //winnie/E lev 1 STRANGE sendbackup: start [butch://winnie/E level 1] sendbackup: info BACKUP=/opt/samba/bin/smbclient sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/opt/samba/bin/smbclient -f... - ... ? ERRDOS - ERRbadshare opening remote file \pagefile.sys (\) ? ERRDOS - ERRnoaccess listing \RECYCLER\S-1-5-21-1202660629-1592454029-1801674531-500\* ... \ These errors are obviously on the windoze box end. I had hoped by listing the problem files and directories in the exclude file that no attempt would be made to access them and thus no errors. Does the exclude mechanism used with samba work after the files/directories reach the amanda host? In that case, no attempts to exclude these files would eliminate the above errors which occur before that. I think that was my reponse, and I've since browsed the documentation a bit. From docs/SAMBA: Smbclient only supports excluding a single file from the command line, not a file of patterns like GNU tar. So exclude is supported from a dumptype but not exclude list. So you can only exclude one thing, and it must be specified directly in the dumptype, not in an exclude list. Your other option is to define shares only for those parts of the Windows disk that you're interested in, and back up those shares. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: amanda reporting nearly-empty tape as full?
On Thu, Mar 07, 2002 at 03:28:17PM -0500, Joshua Baker-LePain wrote: On Thu, 7 Mar 2002 at 12:08pm, Dave Sherohman wrote Second, the taper stats read N/AN/A for all drives that were dumped. This would seem to indicate that nothing was actually written to the tape, wouldn't it? And, based on that, am I correct to infer that it would be better to amflush last night's dumps onto the same tape instead of advancing to the next one as instructed by the report? Well, there's either a problem with the tape, the drive, or the system. OK, I can accept that. And I suppose that, as a result, amflush, even if it completes without incident, may well produce an unusable backup. But, on the off chance that it works, would it be less bad to overwrite last night's tape (since it appears that no device was fully written, I would expect everything to still be on the holding disk) or the next one in the sequence (which would definitely destroy an existing backup volume, but is what the report said to do)? Look in your system logs -- amanda is just telling you what the OS told it. There's some issue with your tape drive and/or tapes and/or SCSI chain and/or ... you get the picture. *sigh* There it is... A dozen lines of complaints from the SCSI driver. Looks like the drive's been timing out and getting reset. I would guess that this is a problem with the drive, since it's had trouble with 3 or 4 different tapes. Thanks.
Re: Problem with exclude list
At 03:32 PM 4/26/2002 -0500, Terry McCoy, you wrote: I have a file system on a client that I want to exclude directories from being backed. Every time the client runs the excluded directories are backed up anyway. I have a dump type that has exclude list specified as shown below: define dumptype listserv-root { global comment listserv has directories within the root file system to always exclude exclude list /local/amanda/sysconfdir/Email/excludelist_listserv } This file system is on a client. Hence I have placed this file on the client at the location specified above has the contents shown below: listserv cat /local/amanda/sysconfdir/Email/excludelist_listserv ./var/log ./var/spool/mqueue ./usr/products/listserv/spool Any ideas on how to troubleshoot this or what to look for? Are /var and /usr on different filesystems? If so, then this portion of the documentation might help you: Note that the `full pathname' of a file within its filesystem starts with `./', because of the way amanda runs gnutar: `tar -C $mountpoint -cf - --lots-of-options .' (note the final dot!) Thus, if you're backing up `/usr' with a diskfile entry like ``host /usr gnutar-root', but you don't want to backup /usr/tmp, your exclude list should contain the pattern `./tmp', as this is relative to the `/usr' above. Please refer to the man-page of gnutar for more information. If a relative pathname is specified as the exclude list, it is searched from within the directory that is going to be backed up. So IF /var and /usr are different filesystems then your exclude list should look like this: ./log ./spool/mqueue ./products/listserv/spool Oscar
Re: amanda-2.4.3b3-20020324 problem
On Sun, Mar 24, 2002 at 10:12:43PM -0500, Gene Heskett wrote: On Sunday 24 March 2002 05:16 pm, Jean-Louis Martineau wrote: On Sun, Mar 24, 2002 at 10:06:41PM +0100, Thomas Hepper wrote: Yup there was an bug introduced in chg-scsi which will cause an endless loop on readingthe config file, fixed in CVS so wait for the next snapshot. A new snapshot is already available. Jean-Louis I just grabbed it again at 21:00 my time, making note that the tar.gz was exactly the same size, and its still broken. I think it is your site I'm getting my snapshots from. http://www.iro.umontreal.ca/~martinea/amanda-2.4.3b3-20020324.tar.gz It's http://www.iro.umontreal.ca/~martinea/amanda/amanda-2.4.3b3-20020324.tar.gz No more up to date site. I build a snapshot every time someone commit something on CVS, I don't know if it compile. I don't know if your bug is fixed. Latest snapshot have: md5sum amanda-2.4.3b3-20020324.tar.gz f74bc9822c6cf1d8624819cac6fbff16 amanda-2.4.3b3-20020324.tar.gz Maybe you have a caching problem. Jean-Louis -- Jean-Louis Martineau email: [EMAIL PROTECTED] Departement IRO, Universite de Montreal C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529 Montreal, Canada, H3C 3J7Fax: (514) 343-5834
RE: Root directory is not on tape?
First thing, check the dump logs to make sure it dumped the root file system. Second, check the amanda indexes to make sure the root filesystem is there Third, try to restore it by using amrestore, instead of amrecover Fourth, try to restore it by using tar, or dump, directly from the tape, without using amanda Fifth, if all the above fails, try doing a manual dump and restore on that filesystem -Original Message- From: Dan Debertin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 08, 2002 12:02 PM To: [EMAIL PROTECTED] Subject: Root directory is not on tape? I'm getting the following odd behavior when doing a restore: amrecover extract Extracting files using tape drive /dev/nrst0 on host flame.nodewarrior.org. The following tapes are needed: DLT1 Restoring files into directory /tmp Continue? [Y/n]: y Load tape DLT1 now Continue? [Y/n]: y Root directory is not on tape abort? [yn] y The amanda server is a NetBSD-1.5.3 machine, and the dump is ufsdump from a Solaris 2.5.1 machine. There are two other similar slices on this dump from the same machine (/var and /) that restore just fine, so I'm boggled as to why this one fails. It is a rather large slice -- about 11GB (/usr/local), where the other two are roughly 500MB each. The filesystem was completely quiescent -- I took one mirror of a RAID0+1 array offline and backed that up, so no writes took place while the dump ran. It appears that my restore is what's generating this message, not amanda itself. But I'd appreciate some insight into what amanda did (if anything) to create a dump that restore can't read. Dan -- [EMAIL PROTECTED] www.nodewarrior.org ignorami: n: The art of folding problem users into representational shapes.
Re: Amanda won't dump one particular partition
John R. Jackson wrote: Okay, script gzip.test put in place and amanda run with a disklist just for the one troublesome client. 5 partitions. 3 work, 2 fail. The gzip.log files don't give me any great hints: There's a bit more information there. The two that failed returned a status of 152 - 0x98 - 0x80 + 0x18 - 0x80 + 24. Freely translated, that's still our SIGTSTP signal (24), but it also says gzip dropped core (0x80). Take a look in /tmp/amanda and see if there are any core files from gzip. Nope, no core files at all. You might try changing the script to call gzip like this: /usr/bin/strace -o /tmp/gzip.strace.$$ /bin/gzip $@ Okay, I got some output that may have identified the problem for me. Now I have to figure out where this is getting set for this user. His shell is bash and I find nothing in .bashrc or /etc/bashrc 2 of the strace files ended with: --- SIGXCPU (CPU time limit exceeded) --- +++ killed by SIGXCPU +++ This is fast becoming a gzip or Linux debugging session rather than an Amanda one. Seems have become such. I appreciate all your help on this one. I've been using Amanda for several years and usually answer my share of questions on the mailing list. -- [EMAIL PROTECTED] - HMC UNIX Systems Manager My opinions are my own and probably don't represent anything anyway.
Re: Multi-tape question
It didn't complain (and if I'm incorrect in my assumption crowd..please correct me) planner never takes into account the tape length so that is why there wasn't any complaints When taper started writing the dumps to tape and it was determined that the filesystem exceeded the expected tape size (regardless of hardware compression) the dumps would fail since the dumps aren't capable of spanning tapes You should use the compression device (/dev/rmt/0cn..depending unix flavor) and adjust your length to be what you expect your compression to be. Make sense?? If I recollect (had same problem myself) the tapetype doesn't prefer the compression it gives you the raw length of the tape...so if you had a tapetype length of 33000 mb (+ or -) then you could set your length to 65000 mb (if using hardware compression. As a side note make sure that you aren't using software and hardware at the same time (speaking from experience as an amanda freshmen myself) Don Eric Trager wrote: On Tue, 26 Feb 2002, Don Potter wrote: What is the length of the tapetypeusing hardware compression you will need to adjust the length to what you expect your actually compression ratio to be..if you expect each tape to be about 70gb then your length would be 7 mbytes. Ah... so perhaps this is causing the issue? define tapetype DLTtapeIV { comment DLTtape IV - 40 GB length 33706 mbytes filemark 43 kbytes speed 1820 kps } That was what the tapetype run gave us. So I guess you're saying that using the cbn device rather than the bn or n device is creating a conflict? I'm just wondering why amanda would abandon partitions... it did seem to properly determine that it had ~70 Gb to work with... - Eric
Re: Amanda and firewall
Wow, you and I are at almost the exact same place with the same problem. I too am getting errors about port numbers that I didn't set up in the configuration, when I compiled amanda. I've been assuming that my firewall was translating port addresses in addition to IP addresses, but this doesn't seem possible or workable. For what it's worth, I compiled both the tapeserver and client copies of amanda with: ./configure --with-tcpportrange=10084,10100 --with-udpportrange=932,948 --with-user=amanda --with-group=disk --with-portrange=10084,10100 --without-server For the tapeserver. I left out the --without-server. The errors I was getting referred to the 4 range (Sorry, don't have an exact copy. Will try to generate one tomorrow.). We use an Elron firewall here. Odd that we're both JHU, too. -Kevin Zembower Nevin Kapur [EMAIL PROTECTED] 01/15/02 04:15PM I'm having some trouble setting up an Amanda client sitting in a DMZ of a firewall to talk to an Amanda server sittin inside a firewall. I've tried to follow the answer in the FAQ and also read the various posts on amanda-users. However, I can't get it to work and some questions till linger: 1. When the docs say pass --with-(udp)portrange=xxx,yyy to configure, which configure are they talking about? The client or the server? 2. In John R. Jackon's post Use of UDP/TCP ports in Amanda..., in the secition titles Firewalls and NAT, it says Just pick user UDP and TCP port ranges and build Amanda with them... Again, is this on the client side or the server side? Or both? 3. I've compiled Amanda with --with-portrange=4711,4715 --with-udpportrange=850,854 on both client and server side, but when I run amcheck, I get errors like: ERROR: xxx: [host : port 7062 not secure] where xxx is the name of the machine in the DMZ that I'm trying to back up and is the name of our firewall/router, not the server that sits inside it. I hope I am being clear. TIA -Nevin
AMRECOVER help!!
I have successfully completed a backup but am now trying to figure out the recover portion of the AMANDA program. Afterall, what good is a backup if you can't recover it. Here is my dilemna. I have two computers on a network.. Alpha1 and Intelraid1. Intelraid1 is the server and Alpha1 is the client so I'm trying to run amrecover on Alpha1 obviously. Here is the command I'm running followed by the output root@alpha1 /]# amrecover -C alpha1 -s intelraid1 -t intelraid1 -d /RAID/alpha1 AMRECOVER Version 2.4.2p2. Contacting server on intelraid1 ... 220 intelraid1 AMANDA index server (2.4.2p2) ready. 200 Access OK Setting restore date to today (2001-12-03) 200 Working date set to 2001-12-03. 200 Config set to alpha1. 200 Dump host set to alpha1.xxx.xxx Can't determine disk and mount point from $CWD amrecover setdisk /dev/sda3 Scanning /RAID/alpha1... 20011121: found Amanda directory. 200 Disk set to /dev/sda3. No index records for disk for specified date If date correct, notify system administrator amrecover setdisk /dev/sda3 Scanning /RAID/alpha1... 20011121: found Amanda directory. 200 Disk set to /dev/sda3. No index records for disk for specified date If date correct, notify system administrator Ok.. here is the directory listing of /RAID/alpha1 on intelraid1: drwx--2 amanda amanda 4096 Dec 3 10:58 20011121 And inside 20011121/ : -rw---1 amanda amanda 3925999616 Nov 21 11:12 192.168.1.3._dev_sda3.0 obviously, I just did a dump onto the holding disk here because we have 100 GB of RAID space to utilize so a tape drive just seems pointless. I'm pretty sure indexing is off, I don't know how to turn it on at least. My indexdir in my amanda.conf file is set to /usr/local/etc/amanda/alpha1. Can someone just tell me either (1) how to get this to work like it should or (2) how to use amrestore properly to get this to work? It's not imperative that I use this backup archive. The computer still works great and everything. I just need to make sure I can recover the files properly so if I have to turn on indexing or create another dump.. it's not a problem at all. Thanks for any help. Joseph
Amrecover has defeated me.
And yes, I have read the FAQ. On my RedHat 7 server, Amrecover invariably dies with an Unexpected server end of file error. All other amanda functions (amdump, acheck, alabel) work great. I have the sneaking suspicion that xinetd is somehow to blame, mainly because of this error message which shows up in /var/log/messages whenever I run amrecover: Jan 15 11:05:25 www xinetd[27241]: refused connect from 206.101.101.101 (I changed the IP address, but it is the eth0 address, despite the fact that I'm using 'amrecover -s localhost') but... /etc/hosts.allow is set up to allow access from my own host and every conceivable alias or variation thereof. Ditto for .amandahosts. And telnetting directly to the ports seems to work. I can even get an amandaidx session going, after a fashion (the line in ALL CAPS is my input): [root@penguin tmp]# telnet localhost 10082 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 penguin AMANDA index server (2.4.1p1) ready. I CANT SPEAK YOUR CRAZY MOON LANGUAGE 500 Access not allowed 200 Good bye. Connection closed by foreign host. Any suggestions on what I'm missing, or how I can track down why this is happening?
RE: Newbie problem with amcheck
Sorry, I just found out that the amanda user did not have permission to access /dev/sg0 and /dev/nst0. Problem fixed... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Peter Normann Sent: 6. maj 2002 13:44 To: [EMAIL PROTECTED] Subject: Newbie problem with amcheck Hi everybody, I am trying to set up Amanda for the first time. I have a ADIC FastStor DLT 7 on Suse 7.2 box, with the latest mtx (from sourceforge) and gnu tar 1.13.25 installed. I have downloaded the mtx-zd-chg.sh.in-243 script, compiled and installed amanda-2.5.0-20020502. My problem is this: When I run a amcheck Daily1 I get: amcheck-server: could not get changer info: no slots available I have no problem running mtx commands... Any help would be greatly appreciated. My amanda.conf looks like this: org Mycompany mailto [EMAIL PROTECTED] dumpuser amanda inparallel 2 netusage 8000 Kbps dumpcycle 1 weeks runspercycle 4 tapecycle 5 tapes bumpsize 20 Mb bumpdays 1 bumpmult 4 etimeout 300 dtimeout 1800 ctimeout 30 tapebufs 20 runtapes 1 tpchanger /etc/amanda/Daily1/chg-zd-mtx tapedev /dev/nst0 rawtapedev /dev/null changerfile /etc/amanda/Daily1/changer changerdev /dev/sg0 tapetype DLT labelstr ^Daily1[0-9][0-9]*$ ... My changer.conf looks like this: firstslot=1 lastslot=7 cleanslot=-1 autoclean=0 autocleancount=99 havereader=0 offline_before_unload=1 driveslot=0 poll_drive_ready=3 max_drive_wait=120
Re: [Amanda-users] Re: backups still failing.
root@bast:~# dd if=/dev/scsi/host0/bus0/target15/lun0/mtn bs=32k of=/tmp/first-record count=1 0+1 records in 0+1 records out root@bast:~# mt -f /dev/scsi/host0/bus0/target15/lun0/mtn rewind root@bast:~# dd if=/dev/scsi/host0/bus0/target15/lun0/mtn bs=32k of=/tmp/first-file 0+7 records in 0+7 records out root@bast:~# ls -la /tmp/first-* -rw-r--r--1 root root32768 Feb 9 14:44 /tmp/first-file -rw-r--r--1 root root32768 Feb 9 14:43 /tmp/first-record This is odd. The output from dd about record counts does not match the final size of the files. Could you try this again and make sure you remove the /tmp files first. Also, try it with bs=64k. John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
Re: Help a Newbie --Can't create info directories
On Thu, 31 Jan 2002 at 2:57pm, Alvaro Rosales R. wrote Well the amdump didn't give me an error message, and the parent directories exist, but checking the logs I found this : umper: pid 402 executable dumper version 2.4.2p2, using port 777 got result for host inka.wintersperu.com.pe disk /home3/volumes: 0 - -1K, -1 - -1K, -1 - -1K getting estimates took 1.248 secs FAILED QUEUE: 0: inka.wintersperu.com.pe /home3/volumes DONE QUEUE: empty If that was in the logs, then there *must* be an error in the email from amanda after the amdump ran? What was in that email? -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: sanity check, please
On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote: On Mon, 8 Apr 2002, Doug Silver wrote: On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote: I've got a server farm of about 30 machines, most on various RedHat distributions, a few AIX. I have 3 tape drives, an 8, a 24 and a 40Gig, all HP DAT tapes. I have 10 physical backup tapes available for each drive. The tape drives are attached to 3 linux computers, Columbia, Frith Coffee, respectively, which have Amanda 2.4.1p1 servers. All the clients are running either 2.4.1p1 or 2.4.2p2 . Questions: - is this a sane configuration? - is this a better configuration than throwing 3 tape drives on 1 amanda server? - is this a better configuration than just using 1 tape drive on 1 amanda server (the 40, obviously) and using more tapes? - what would you recommend for the way to ease into backing up this lot? i.e. uncomment 1/2 of the disklist descriptions the first night, 1/2 the second, or 1/4 the first, for 4 days... or ??? You didn't specify why you might want to be using the 2 smaller tape drives -- other than the drives are there and feel guilty about them gathering dust ;) Ah, guilt has something to do with it, but another factor is bandwidth and spreading out the load... And I was thinking, Let's put all the technical configuration data like /etc, /boot, and so on to be backed up by one server, and the mail to another, and users' files to a third... so it wouldn't be difficult to figure out which server to go to for a restore. Plus, we already have the tapes for the other drives... vs. buying new tapes for the 40Gb at $20 a pop. We have been having problems because the users' files and the mail files exceed the capacity of a single 40 Gig tape, so we can't seem to get it to do an initial backup of those filesystems to complete. One or the other, but not both. That makes sense, though if you're already breaking up partitions with gtar, that might allow you some flexibility with the user/mail files. You could make an exclude list and have two mail and two user partitions. You could set it up this way with the intention of moving everything towards the 40Gb drive in the future once money becomes a bit easier to justify. With ~30 clients, you'll have to figure out the total capacity it would take if you wanted to back everything up and how many tapes that would take on your dumpcycle. Right... maybe I should have said Do you think this is a workable idea? and then, How do you rate it compared to a single host backup? My sanity is often called into question... John It seems reasonable that you're going to have to go this route based on your current resources. While I'd love to have the latest AIT or tape jukebox, DDS4 is working just fine and I have no choice (or desire) to change in the near future. Good luck! -- ~~ Doug Silver Network Manager Urchin Corporation http://www.urchin.com ~~
Re: [Amanda-users] Tried this before....
http://www.amanda.org/ WHERE TO GET MORE INFORMATION ABOUT AMANDA Amanda is completely unsupported and made available as-is. Unfortunately, we don't usually have the time to answer all user questions and help all new sites get started. However, we do maintain several mailing lists for those interested in Amanda. Please note: To subscribe or unsubscribe to a mailing list, DO NOT, EVER, send mail to that list. Send mail to listname[EMAIL PROTECTED] with the following line in the body of the message: subscribe your-email-address and when you want to unsubscribe, use the following line in the body: unsubscribe your-email-address where listname is one of the following: amanda-announce amanda-users amanda-hackers On Tue, Dec 04, 2001 at 06:47:38PM -0500, Ken Clark wrote: unsubscribe [EMAIL PROTECTED] msg13136/pgp0.pgp Description: PGP signature
specifying gnutar, trouble with OSF1 file system
Using AMANDA version 2.4.2p2 on OSF/Tru64 v5.1 On the client side, amanda is sending an inappropriate parameter to the /sbin/dump = sendsize: running /sbin/dump 0Esf 1048576 - /net/home1 running /usr/local/amanda-2.4.2p2/libexec/killpgrp dump: dump: Cannot open file-system file home1_dmn#home1_fs dump: Bad file system specification or bad file system. The raw device must dump: be entered when the file system's pathname has not been entered in the dump: fstab file. A bad file system is reported when the the magic number dump: is not found in the super block. = I think i should be using gnutar... As this would likely work-around this issue... At configure time, I have specified: --with-gnutar=/usr/local/gnu/bin/tar Only problem, I have not figured out how to force the use of gnutar instead of the distribution's dump program. The client in this case is still calling dump? And, btw, would this be the same way I get amanda to use the vdump program? vdump was found at compile-time. Though, when I get the configuration to work, will I again encounter amanda passing a bogus string which is likely obtained from the /etc/fstab file? I am specifying a file system location in the disklist: host /path-to/home1 no-record ### I believe it is OK to use no-record for testing right? I read about this somewhere... I think... Would it be weird to run the no-record config and see a file system get dumped to the holding disk and then written to tape? On another client -- which is working somewhat -- I saw this behavior... What does no-record mean exactly? thanks!!
Re: Amanda through translated addresses
I haven't been paying attention to this whole thread, but thought I'd throw my two cents in. I was never able to get amanda to work through a firewall using NAT. The way NAT works in the Elron Commander firewall, and most other ones, I think, is by arbitrarily reassigning port numbers to keep track of which connection on the inside corresponds to which communication on the outside. Example: Amanda on host tapehost talks to host X from port 932/UDP (I'm making this up from my setup). Host X responds correctly, because it was addressed from the proper privileged (1024) port. Now, amanda on host tapehost wants to talk to host X from port 932/UDP, but the request gets sent to the firewall. The firewall assigns a random port, in the unprivileged range (1024), let's say 10080. It records in it's lookup table that packets from tapehost are assigned to port 10800. In most applications, this would be fine, as the recipient would send the packets back to the firewall at port 10080, and the firewall would match port 10080 with tapehost and send the packet in to it. However, with amanda, when host X gets the packet from port 10080, it rejects it with an error message like Unprivileged port To diagnosis this, I used a combination of netcat and tcpdump, on both the sender and recipient. I was never able to overcome this, because the Elron firewall software can't not translate the port, as far as I and our Information Services group could tell. Since the original poster didn't mention this error message at all, this explanation may not relate to his problem. Sorry if this doesn't apply. If it does, and you have further questions, please write. -Kevin Zembower - E. Kevin Zembower Unix Administrator Johns Hopkins University/Center for Communications Programs 111 Market Place, Suite 310 Baltimore, MD 21202 410-659-6139
Re: Fwd: tape changer problem
On Thursday 07 March 2002 09:18 am, Zhen Liu wrote: Zhen Liu Via Webmail [EMAIL PROTECTED] This is a repost. Did you not receive my reply from yesterday? That reply should have contained something helpfull... -- Forwarded message --- From: Zhen Liu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon, 04 Mar 2002 12:03:21 -0500 Hi, I am working on the amanda backup project now, and I am a newbie for both amanda and linux... right now, I have some problem with our tape changer...SOS!!! HELP!!! The OS I am working on is Linux RH7.1, the tape changer we have is Adic Fastor, Quantum 7000 tape drive. I guess that something must be wrong with my configuration...when i run amcheck i get amcheck-server: could not get changer info: open: /dev/sg0: success -relevant part from /etc/amanda/daily/amanda.conf runtapes 2 tpchanger chg-scsi tapedev 0 changerfile etc/amanda/DailySet1/changer.conf changerdev dev/sg0 - /etc/amanda/DailySet1/changer.conf- number_configs 1 # eject 1 sleep60 cleanmax 1000 changerdev /dev/sg0 # # Next comes the data for drive 0 # config 0 drivenum 0 dev /dev/nst0 startuse 0 enduse 6 statfile /etc/amanda/DailySet1/st0-slot cleancart-1 cleanfile/etc/amanda/DailySet1/st0-clean usagecount /etc/amanda/DailySet1/st0-totaltime So, I am totally lost...Help? Thanks... Zhen Liu Via Webmail [EMAIL PROTECTED] -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 98.6+% setiathome rank, not too shabby for a hillbilly