amanda question
Hello thanks for your help about my tapecycle question, I labeled my tapes and I think they are fine, tonight I'm going to test. My question now is that I would like to do monthly backups to be sure that always I have a least a copy from my data outside. I know that in this case I have to use another amanda configuration than the configuration that I have for my daily backup. I would like to have 12 tapes, one for every month. I'm not sure if use incremental and reuse tapes or full backup every month (maybe it is the best) I am thinking to use a script to put an condition for cron to switch between two configuration, but really I want to know if it is possible to do that (monthly backups) and if it is how can I set up the dumcycle and my runspercycle. thanks and I hope so that my question is not too silly thanks again Sandra
tapecycle
Hi everybody: I am using amanda since one year ago and at the beginning I used to have a single tape drive and run amanda only 5 days per week, now I have an autoloader because I use two tapes per run and I would like to include on day more to the runpercycle. So I would like run amanda 6 days per week. then using the rule that i found in amanda chapter I have dumcycle 4 weeks runspercycle 24 (4weeks * 6 days) extras in just in case an any error 1 tapecycle 50 (24+1 * two tapes) . Now I am using only 25 tapes so I would like to know If it is possible include 25 tapes more and if it does How could I use amlabel to label them ? Please if somebody can help I really appreciate. Thanks a lot Sandra
disk offline
Hi everybody: since the last thrusday I'm getting this error "miro.toman /Local lev 0 FAILED [disk /Local offline on miro.tomandandy.com?]" I don't know what it is the problem. I have amanda 2.4.2p2 and tar(GNU tar) 1.13.17. root@miro /bin]# tar --version tar (GNU tar) 1.13.17 Copyright 2000 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute it under the terms of the GNU General Public License; see the file named COPYING for details. Written by John Gilmore and Jay Fenlason. this is the report for amandad.debug and sendsize.debug amandad: debug 1 pid 2104 ruid 71 euid 71 start time Sat Jul 28 02:30:02 2001 amandad: version 2.4.2p2 amandad: build: VERSION="Amanda-2.4.2p2" amandad:BUILT_DATE="Fri Jul 20 08:42:22 EDT 2001" amandad:BUILT_MACH="Linux miro.tomandandy.com 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unkn own" amandad:CC="gcc" amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin" amandad:libexecdir="/usr/local/libexec" mandir="/usr/local/man" amandad:AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda" amandad:CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/" amandad:RDEV_PREFIX="/dev/" DUMP="/sbin/dump" amandad:RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient" amandad:GNUTAR="/bin/gtar" COMPRESS_PATH="/usr/bin/gzip" amandad:UNCOMPRESS_PATH="/usr/bin/gzip" MAILER="/usr/bin/Mail" amandad:listed_incr_dir="/usr/local/var/amanda/gnutar-lists" amandad: defs: DEFAULT_SERVER="miro.tomandandy.com" amandad:DEFAULT_CONFIG="DailySet1" amandad:DEFAULT_TAPE_SERVER="miro.tomandandy.com" amandad:DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM amandad:LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE amandad:AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS amandad:CLIENT_LOGIN="backup" FORCE_USERID HAVE_GZIP amandad.20010728023002.debug Amanda 2.4 REQ HANDLE 000-B0B60708 SEQ 996301801 SECURITY USER backup SERVICE sendsize OPTIONS maxdumps=1;hostname=miro.tomandandy.com; GNUTAR /usr/local 0 1970:1:1:0:0:0 -1 exclude-list=/usr/local/lib/amanda/exclude.gtar GNUTAR /usr/local 1 2001:7:27:7:14:56 -1 exclude-list=/usr/local/lib/amanda/exclude.gtar GNUTAR /Local 0 1970:1:1:0:0:0 -1 GNUTAR /Local 1 2001:7:24:7:17:34 -1 sending ack: Amanda 2.4 ACK HANDLE 000-B0B60708 SEQ 996301801 bsd security: remote host miro.tomandandy.com user backup local user backup amandahosts security check passed amandad: running service "/usr/local/libexec/sendsize" amandad: sending REP packet: : Amanda 2.4 REP HANDLE 000-B0B60708 SEQ 996301801 OPTIONS maxdumps=1; /Local 0 SIZE -1 /Local 1 SIZE -1 /usr/local 0 SIZE 823020 /usr/local 1 SIZE 6730 amandad: got packet: Amanda 2.4 ACK HANDLE 000-B0B60708 SEQ 996301801 amandad: pid 2104 finish time Sat Jul 28 02:33:59 2001 (END) --sendsize.debug sendsize: debug 1 pid 2105 ruid 71 euid 71 start time Sat Jul 28 02:30:02 2001 /usr/local/libexec/sendsize: version 2.4.2p2 calculating for amname '/Local', dirname '/Local' sendsize: getting size via gnutar for /Local level 0 sendsize: spawning /usr/local/libexec/runtar in pipeline sendsize: argument list: /bin/gtar --create --file /dev/null --directory /Local --one-file-system --liste d-incremental /usr/local/var/amanda/gnutar-lists/miro.tomandandy.com_Local_0.new --sparse --ignore-failed -read --totals . . (no size line match in above gnutar output) . sendsize: getting size via gnutar for /Local level 1 sendsize: spawning /usr/local/libexec/runtar in pipeline sendsize: argument list: /bin/gtar --create --file /dev/null --directory /Local --one-file-system --liste d-incremental /usr/local/var/amanda/gnutar-lists/miro.tomandandy.com_Local_1.new --sparse --ignore-failed -read --totals . . (no size line match in above gnutar output) . calculating for amname '/usr/local', dirname '/usr/local' sendsize: getting size via gnutar for /usr/local level 0 sendsize: missing exclude list file "/usr/local/lib/amanda/exclude.gtar" discarded sendsize: spawning /usr/local/libexec/runtar in pipeline sendsize.20010728023002.debug sendsize: argument list: /bin/gtar --create --file /dev/null --directory /usr/local --one-file-system --l isted-incremental /usr/local/var/amanda/gnutar-lists/miro.tomandandy.com_usr_local_0.new --sparse --ignor e-failed-read --totals . Total bytes written: 842772480 (804MB, 8.0MB/s) . sendsize: getting size via gnutar for /usr/local level 1 sendsize: missing exclude list file "/usr/local/lib/amanda/exclude.gtar" discarded sendsize: spawning /usr/local/libexec/runtar in pipeline sendsize: argument list: /bin/gtar --create --file /dev/null --directory /usr/local --one-file-system --l isted-incremental /usr/local/var/amanda/gnutar-lists/miro.tomandandy.com_usr_local_1.new --sparse --ignor e-failed-read --totals . Total bytes
Re: Amrecover bug?
HI John: I tried to use the patch that you sent to me and this the message that i got tanguy% patch /Local/Users/sandra/stream_client.diff can't find file to patch at input line 8 Perhaps you should have used the -p or --strip option? The text leading up to this was: -- |Index: common-src/stream.c |=== |RCS file: /cvsroot/amanda/amanda/common-src/stream.c,v |retrieving revision 1.10.2.8 |diff -u -r1.10.2.8 stream.c |--- common-src/stream.c2001/06/18 22:23:19 1.10.2.8 |+++ common-src/stream.c2001/07/02 22:23:32 -- File to patch: Could I continue? Sandra On Tuesday, July 17, 2001, at 04:58 PM, John R. Jackson wrote: ... I used the stream.c version that it is on /cvs/amanda/amanda/common_src ... I don't understand what you did. The patch I sent is not in CVS. You need to apply it to your 2.4.2p2 sources. Could you tell me How can use this patch Cd to the top level of your Amanda source tree (the one with the configure script). Put the patch file from my letter someplace, e.g. /tmp/stream_client.diff. Then run patch /tmp/stream_client.diff. Now, run make distclean, then start the Amanda build over again from ./configure ... and re-install at least on the client. Sandra John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
amrecover again
Hi: I ran amrecover using amanda-2.4.2p2 without any udp or tcp ranges and was fine (i guess). I tried to recover a directory database . I used the directory that i created in my area /Local/Users/sandra/restore. From there I ran /usr/local/sbin/amrecover -C miro_daily -s miro.tomandandy.com -t miro.tomandandy.com -d /dev/nst0. I set the host that I want to recover my data as sethost whiteley.tomadnandy.com and I set the disk as setdisk /Loca/Users/lauren. I did add database. After that extract and amrecover showed me that this information was on tape miro_daily-07 and the rest on my holding disk as /whiteley.tomandandy.com_Local_Users_lauren.1. I load the tape manually and amanda started to read from the tape. After many hours amrecover stop but still the prompt was there amrecover and I checked in /tmp/amanda for amrecover debug information and I got this: ess amrecover.20010718103221.debug amrecover: debug 1 pid 10480 ruid 0 euid 0 start time Wed Jul 18 10:32:21 2001 amrecover: stream_client: connected to 207.237.59.151.10082 amrecover: stream_client: our side is 0.0.0.0.741 add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /. add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /.DS_Store add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /.OpenStep/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /.WSShelf add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /._chromatic-aberration.aiff add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /._lauren-backup add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /.dir.tiff add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /.dir5_0.wmd add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /.forward add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /.opendir.tiff add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /.ssh/ add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /.ssh2/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /.zshenv add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /5_19_Squeak/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /AmandaVocals/ add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /Applications/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /BrainDocumentation/ add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /CDBurning/ add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /Database/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /FAQ.rtf add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /FromWhere/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /GoLiveUpgrade.rtf add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /Library/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /Lobe2j.sit add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /MIDI AfroCuban-perc C.midi add_dir_list_item: Adding 2001-07-06 1 /amanda_holding-2/20010706/whiteley.tomandandy.com._Local_Users_lauren.1 /M IDItest/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /MPLibrary add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /MPLibrary.applefile add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /Mailboxes/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /MappingSF-1080 copy.rtf add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /NetworkHelpGuide.ps add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /NetworkHelpGuide.tex add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /Samples/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /SuperImportant-DatabaseNotes.rtf add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /ToDo/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /Virtual singer demos/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /Vocal1a.sit add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /anagrams.rtf add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /atomcandy add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /brain-notes/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /braintracks.rtf add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /burn_cdrom add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /chris_10.27_samples.rtf add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /chromatic-aberration.aiff add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /cleanfund.score add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /database_rtf/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /database_set-up.pdf add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /dirtyfund.score add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /extension_convert/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /heh.aiff add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /jpg/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /lauren-backup.sit add_dir_list_item: Adding 2001-07-14 2 miro_daily-18 /lauren-backup/ add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /lauren.bin add_dir_list_item: Adding 2001-06-26 0 miro_daily-7 /lmw_music/ add_dir_list_item: Adding 2001-07-06 1
Re: Amrecover bug?
Hi John: I don't know if i did good or not. I used the stream.c version that it is on /cvs/amanda/amanda/common_src but now I got the error port 30015 not secure. So i don't If it was correct that I did or not. Could you tell me How can use this patch Thanks Sandra On Tuesday, July 17, 2001, at 02:43 PM, John R. Jackson wrote: looks like I found one point in amrecover source code which is totally unclear to me or even looks like a bug. ... It's a bug and I've posted a patch a couple of times, but nobody has confirmed it solves the problem (although I think it will). Please give the attached a try and let me know. Oleg John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED] stream_client.diff
amrecover
Hi: I using amrecover from amanda version 2.4.2-19991216-beta1 from another machine different than the tape server, because Still I have problems with amrecover from amandand 2.4.2p2 that is the version that I have installed on my tape server machine. The thing is that I want to recover some information that I have on one tape and another in my holding disk but I don't know if it is normal but amrecover only copied some files but not all my directory. I have all my level zero on the tape but amrecover only copied some files so I don't know if the rest is on the holding disk. When I was running amrecover I could see all the directories but when I checked the direcotry that I used to recover it was incomplete. It is normal or it is something that I have to do before. Please help me Sandra
amrecover
Hi everybody: I was trying to use amrecover on a machine with amanda2.4.2p2 and I got this error did not get a reserved port: 30009 . I configured amanda with portrange=3,30015 but I don't think so that it is the problem because I ran amrecover from another machine that still has the the amanda 2.4.2. beta version and seems fine. So do I have to change something in my configuration for the stable version 2.4.2p2? Thanks a lot Sandra
changer problems
Hi : Still I have problems with amanda 2.4.2p2 and my changer. I got the error amcheck-server: could not get changer info: badly formed result from changer: /usr/local/libexec/chg-zd-mtx: [: -eq: unary operator expected Amanda Backup Client Hosts Check Client check: 8 hosts checked in 0.445 seconds, 0 problems found (brought to you by Amanda 2.4.2p2) this my amanda.conf that is /usr/local/etc/amanda/miro_daily runtapes 6 # number of tapes to be used in a single run of amdump # we have two to enable writing to holding disk for morn ing amflushes. tpchanger chg-zd-mtx # the tape-changer glue script # Even though tapedev is ignored since we use # tpchanger, we keep this in case we need to revert # to no changing. tapedev /dev/nst0 # the no-rewind tape device to be used rawtapedev /dev/null # the raw device to be used (ftape only) #changerstatus /usr/local/etc/amanda/miro_daily/changer-status changerfile /usr/local/etc/amanda/miro_daily/changer changerdev /dev/sga tapetype DDS3 -- my changer.conf file is on /usr/local/etc/amanda/miro_daily number_configs 1 eject 0 # Tapedrives need an eject command number_configs 1 sleep 90 # Seconds to wait until the tape gets ready cleanmax100 # How many times could a cleaning tape get used changerdev /dev/sga # # Next comes the data for drive 0 # config 0 drivenum0 dev /dev/nst0 scsitapedev /dev/sga startuse1 # The slots associated with the drive 0 enduse 6 # statfile/usr/local/etc/amanda/miro_daily/tape0-slot # The file where th e actual slot is stored #cleancart 6 # the slot where the cleaningcartridge for drive 0 is lo cated #cleanfile /usr/local/etc/amanda/miro_daily/cleanfile # The file where the cleanings are recorded usagecount /usr/local/etc/amanda/miro_daily/totaltime tapestatus /usr/local/etc/amanda/miro_daily/changer-status # here will some status infos be stored [root@miro miro_daily]# vi changer.conf number_configs 1 eject 0 # Tapedrives need an eject command sleep 90 # Seconds to wait until the tape gets ready cleanmax100 # How many times could a cleaning tape get used changerdev /dev/sga # # Next comes the data for drive 0 # config 0 drivenum0 dev /dev/nst0 scsitapedev /dev/sga startuse1 # The slots associated with the drive 0 enduse 6 # statfile/usr/local/etc/amanda/miro_daily/tape0-slot # The file where th e actual slot is stored cleancart 6 # the slot where the cleaningcartridge for drive 0 is lo cated cleanfile /usr/local/etc/amanda/miro_daily/cleanfile # The file where the cleanings are recorded usagecount /usr/local/etc/amanda/miro_daily/totaltime tapestatus /usr/local/etc/amanda/miro_daily/changer-status # here will some status infos be stored this my chg-zd-mtx file in /usr/local/libexec firstslot=1 1st tape slot lastslot=5 Last tape slot cleanslot=6 Slot with cleaner tape # # # Do you want to clean the drive after a certain number of accesses? # # NOTE - This is unreliable, since 'accesses' aren't 'uses', and we # #have no reliable way to count this. A single amcheck could # #generate as many accesses as slots you have, plus 1. # # ALSO NOTE - many modern tape loaders handle this automatically. # AUTOCLEAN=0 Set to '1' or greater to enable # autocleancount=99 Number of access before a clean. # havereader=1 If you have a barcode reader, set to 1. # offlinestatus=0 Set to 0 if 'mt status' gives an OFFLINE_BEFORE_UNLOAD=0 Does your tape driver require a # 'mt offline' before mtx unload? # You may need to customize these things MT=/bin/mt MTF=-f MTX=/usr/local/bin/mtx So anything is wrong with that? I hope you guys can help me. Thanks, Sandra
amanda problems
Hi everybody: I upgrade my amanda beta version to Amanda 2.4.2p2 everything was fine when I compiled this version but when I tried to test using amcheck I got this error amcheck-server: could not get changer info: badly formed result from changer: /usr/local/libexec/chg-zd-mtx: [: -eq: unary operator expected so I don't know if I have to modify my chg-zd-mtx, I would like to be sure that what it is the problem. Thanks for your help, please somebody answer me Sandra
big filesystem
Hi Everybody: Again I have problems with another filesystem is not too big but the machine is slow and it is outside the firewall. I had this problem before and I increased the firewall idle to 60 minutes and I used as dumptype "comp-server" (compression fast but on the tape server)and it worked until the last week. The size is 2.2 Gb it is not too big but for my machines seems that it is. I have as etimout 6000 and dtimeout 1800 but I don;t think so that they are the problem. This is the amanda report that I received this morning These dumps were to tape miro_daily-10. Tonight's dumps should go onto 6 tapes: miro_daily-11, miro_daily-12, miro_daily-13, miro_daily-14, miro_daily-15, miro_daily-16. FAILURE AND STRANGE DUMP SUMMARY: duchamp.to /Local/Users lev 0 FAILED [mesg read: Connection reset by peer] duchamp.to /tomandandy/usrlocal lev 1 STRANGE STATISTICS: Total Full Daily Estimate Time (hrs:min)0:35 Run Time (hrs:min) 2:34 Dump Time (hrs:min)0:48 0:19 0:29 Output Size (meg) 392.1 272.0 120.1 Original Size (meg) 902.7 588.0 314.7 Avg Compressed Size (%)42.6 46.3 35.5 (level:#disks ...) Filesystems Dumped 22 1 21 (1:18 2:2 3:1) Avg Dump Rate (k/s) 140.1 243.7 71.4 Tape Time (hrs:min)0:09 0:06 0:03 Tape Size (meg) 392.8 272.0 120.7 Tape Used (%) 3.22.21.0 (level:#disks ...) Filesystems Taped22 1 21 (1:18 2:2 3:1) Avg Tp Write Rate (k/s) 757.9 831.6 631.7 FAILED AND STRANGE DUMP DETAILS: /-- duchamp.to /Local/Users lev 0 FAILED [mesg read: Connection reset by peer] sendbackup: start [duchamp.tomandandy.com:/Local/Users level 0] sendbackup: info BACKUP=/usr/bin/gnutar sendbackup: info RECOVER_CMD=/usr/bin/gnutar -f... - sendbackup: info end \ /-- duchamp.to /tomandandy/usrlocal lev 1 STRANGE sendbackup: start [duchamp.tomandandy.com:/tomandandy/usrlocal level 1] sendbackup: info BACKUP=/usr/bin/gnutar sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/usr/bin/gnutar -f... - sendbackup: info COMPRESS_SUFFIX=.gz sendbackup: info end ? gtar: ./mailman/logs/qrunner: file changed as we read it | Total bytes written: 39434240 (38MB, 755kB/s) sendbackup: size 38510 sendbackup: end \ NOTES: planner: Forcing full dump of duchamp.tomandandy.com:/Local/Users as directed. planner: Incremental of magritte.tomandandy.com:/home bumped to level 3. planner: Full dump of whiteley.tomandandy.com:/Local/Users/skot promoted from 25 days ahead. taper: tape miro_daily-10 kb 402176 fm 22 [OK] DUMP SUMMARY: DUMPER STATSTAPER STATS HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -- - duchamp.toma -ocal/Users 0 FAILED --- duchamp.toma -y/usrlocal 1 38510 5056 13.1 0:51 99.1 0:06 794.5 duchamp.toma /var/mail 1 65850 33536 50.9 2:52 194.9 0:41 826.9 magritte.tom -ocal/Users 19860 8384 85.0 0:33 251.6 0:11 774.5 magritte.tom /home 39960128 1.3 2:21 0.9 0:01 122.0 magritte.tom /public 1 10 32 320.0 0:00 82.0 0:20 3.2 magritte.tom /tomandandy 2 13216 13216 --0:44 297.6 0:14 960.0 magritte.tom /usr/local 11650256 15.5 0:01 194.0 0:02 190.2 manray.toman /Local 1 41740 2080 5.0 11:14 3.1 0:05 455.9 matta.tomand /Local 1 44910 19808 44.1 1:56 170.3 0:25 789.7 miro.tomanda /Local 1 14070 2880 20.5 1:07 42.9 0:05 644.2 miro.tomanda /usr/local 16370576 9.0 0:24 23.6 0:02 404.4 picasso.toma /Local 1 19380 9472 48.9 0:13 733.0 0:22 429.8 tanguy.toman /Local 1 30180 13280 44.0 2:17 97.1 0:17 795.6 tanguy.toman /usr/local 1 130 32 24.6 0:02 14.2 0:02 38.0 whiteley.tom -plications 11410 96 6.8 0:46 2.1 0:01 99.1 whiteley.tom -al/Library 24230608 14.4 0:58 10.5 0:02 423.7 whiteley.tom -Users/andy 1 760 64 8.4 0:10 6.6 0:01 69.9 whiteley.tom -Users/dave 1 10 32 320.0 0:01 41.7 0:02 38.2 whiteley.tom -ers/lauren 1 16520 13088 79.2 0:49 267.3 0:16 815.9 whiteley.tom -sers/leigh 12030128 6.3 1:11 1.8 0:01 121.1 whiteley.tom -Users/skot 0 602150 278528 46.3 19:03 243.7 5:35 831.6 whiteley.tom /usr/local 11440192 13.3 0:10 18.9 0:01 154.9 (brought to you by Amanda version 2.4.2-19991216-beta1) does anybody can explain to me what's wrong? Thanks a lot Note: thank you for your help before, I split the filesystem (17 GB) and it was fine. Sandra
amanda Problems
Hi everybody: I posted few days ago a question (big one), but I have not received any answer so I don't know if I was clear or not (my english) so I am trying to understand my problem by myself. but anyway I need to ask you something to verify that everything is ok with my configuration. I have now a HP surestore 24X6 autoloader, and I using chg-zd-scsi changer file configuration. In amanda configuration I defined as runtapes 5 but still I have as dumpcycle 4 weeks, as runspercycle 20 and as tapecycle 25. is that configuration ok? another detail that maybe is important is: at the beginning I used to run amanda five days (since tuesday until saturday a.m) but since few months I included one day more (sunday) because sometimes people works on weekends, so I don't know if my configuration for the (runtapes,runspercycle, etc ) now is enough. I ask you is because I have problems with one machine when it has full dumps, every times when I'm going to do amflush I get an error that says "taper: retrying whiteley.tomandandy.com:/Local.0 on new tape: [writing file: No space left on device]" " out the tape. So I want to be sure that my configuration is ok to see other details that maybe i'm missing them. Please help me with this because I need to migrate this machine to use another O.S but i want to back it up correctly before to do something. Thanks for your time Sandra
amanda questions
Hi everybody: I posted few days ago a question (big one), but I have not received any answer so I don't know if I was clear or not (my english) so I am trying to understand my problem by myself. but anyway I need to ask you something to verify that everything is ok with my configuration. I have now a HP surestore 24X6 autoloader, and I using chg-zd-scsi changer file configuration. In amanda configuration I defined as runtapes 5 but still I have as dumpcycle 4 weeks, as runspercycle 20 and as tapecycle 25. is that configuration ok? another detail that maybe is important is: at the beginning I used to run amanda five days (since tuesday until saturday a.m) but since few months I included one day more (sunday) because sometimes people works on weekends, so I don't know if my configuration for the (runtapes,runspercycle, etc ) now is enough. I ask you is because I have problems with one machine when it has full dumps, every times when I'm going to do amflush I get an error that says "taper: retrying whiteley.tomandandy.com:/Local.0 on new tape: [writing file: No space left on device]" " out the tape. So I want to be sure that my configuration is ok to see other details that maybe i'm missing them. Please help me with this because I need to migrate this machine to use another O.S but i want to back it up correctly before to do something. Thanks for your time Sandra
i need help
Hi everybody: I start to use the tape cleaner but I have had some problems. When i run amcheck all the time I got the error amcheck-server: slot 5: rewinding tape: No medium found amcheck-server: fatal slot 6: mtx: Cleaning Cartridge Installed and Ejected ERROR: label miro_daily-5 or new tape not found in rack (expecting tape miro_daily-5 or a new tape) the tape miro_daily-5 is there on the first slot (1). so I have to use mtx -f /dev/sga load slot 1 after that I run amcheck again and I don't have problem. I don't think so that it is normal because before when i didn't use the cleaner tape I never got any error like that. This my changer configuration number_configs 1 eject 0 # Tapedrives need an eject command sleep 90 # Seconds to wait until the tape gets ready changerdev /dev/sga # # Next comes the data for drive 0 # config 0 drivenum0 dev /dev/nst0 scsitapedev /dev/sga startuse1 # The slots associated with the drive 0 enduse 5 # statfile/usr/local/etc/amanda/miro_daily/tape0-slot # The file where th e actual slot is stored cleancart 6 # the slot where the cleaningcartridge for drive 0 is lo cated cleanfile /usr/local/etc/amanda/miro_daily/cleanfile # The file where the cleanings are recorded usagecount /usr/local/etc/amanda/miro_daily/totaltime tapestatus /usr/local/etc/amanda/miro_daily/changer-status # here will some status infos be stored #labelfile /usr/local/etc/amanda/DailySet1/labelfile # Use this if you have an barcode reader I have another question that maybe is related or maybe not. I 'm using as dumcycle 4 weeks and tapecycle 25 tapes. To run amadump I have in my cron 6 days so I don't know if it is ok. I ask you is because since few days ago I have seen that when I have to run amflush for my weekend backups I get an error "whiteley.t /Local lev 0 FAILED [out of tape]" NOTES: taper: tape miro_daily-3 kb 12765152 fm 1 writing file: No space left on device taper: retrying whiteley.tomandandy.com:/Local.0 on new tape: [writing file: No space left on device] taper: tape miro_daily-4 kb 12767232 fm 1 writing file: No space left on device amflush: /amanda_holding-2/20010609/whiteley.tomandandy.com._Local.0: taper error, leaving file on disk amflush: Could not rmdir /amanda_holding-2/20010609. Check for cruft. so I have been reading on amanda pages and this mailing list and I think that maybe is not correct my configuration so I would like to be sure . This my amanda.conf # amanda.conf - sample Amanda configuration file. This started off life as # the actual config file in use at CS.UMD.EDU. # # If your configuration is called, say, "csd", then this file normally goes # in /usr/local/etc/amanda/csd/amanda.conf. # org "tomandandy"# your organization name for reports mailto "[EMAIL PROTECTED]" # space separated list of operators at y our site dumpuser "backup" # the user to run dumps under inparallel 7#mimum dumpers that will run in parallel netusage 600 Kbps # maximum net bandwidth for Amanda, in KB per sec dumpcycle 4 weeks # the number of days in the normal dump cycle runspercycle 20 # the number of amdump runs in dumpcycle days # (4 weeks * 5 amdump runs per week -- just weekdays) tapecycle 25 tapes # the number of tapes in rotation # 4 weeks (dumpcycle) times 5 tapes per week (just # the weekdays) plus a few to handle errors that # need amflush and so we do not overwrite the full # backups performed at the beginning of the previous # cycle ### ### ### # WARNING: don't use `inf' for tapecycle, it's broken! ### ### ### bumpsize 20 Mb # minimum savings (threshold) to bump level 1 -> 2 bumpdays 1 # minimum days at each level bumpmult 4 # threshold = bumpsize * bumpmult^(level-1) etimeout 3600 # number of seconds per filesystem for estimates. #etimeout -600 # total number of seconds for estimates. # a positive number will be multiplied by the number of filesystems on # each host; a negative number will be taken as an absolute total time-out. # The default is 5 minutes per filesystem. # changers, read docs/TAPE.CHANGERS. # At most one changerfile entry must be defined; select the most # appropriate one for your configuration. If you select man-changer, # keep the first one; if you decide not to use a tape changer, you may # comment them all out. runtapes 4 # number of tapes to be used in a single run of amdump # we have two to enable writing to holding disk for morn ing amflushes. tpchanger "chg-zd-mtx" # the tape-changer glue script # Even though tapedev is ignored since we use # tpchanger, we keep this in case we need to revert # to no changing. tapedev "/dev/nst0" # the no-rewind tape device to be used rawtapedev "/dev/null" # the raw device to be used (ftape only) #changerstatus
changer questions
Hi everybody: I have a HP surestore 24X6 autoloader and I using chg-zd-mtx configuration file with dev /dev/nst0 scsitapedev /dev/sgb startuse0 enduse 5 statfile/usr/local/etc/amanda/miro_daily/tape0-slot the thing is that I have three files on /usr/local/etc/amanda/miro_daily that really I don't know what they are mean. the files are: changer.conf-access changer.conf-clean changer.conf-slot the true is that I don't have my tape cleaner yet so I don't know if it is a big deal. Please any explanation, I would really appreciated Sandra
tapelist
Hi everybody: one month ago, I changed my tape server for Hp Surestore 24X6 so I use amlabel force and t relabel my new tapes, in this way I be able to use my old configuration (25 tapes, runtapes, etc) but I have problems with my tapelist because I don't know what happened but some tape are not in proper order (sequence). I know that's matter for amanda. But I would like to know if it is possible to put in correct order all my tapes because something is confusing when i going to put my six tapes at the same time and I use the human sequence. This my tapelist now 20010321 miro_daily-10 reuse 20010320 miro_daily-9 reuse 20010319 miro_daily-3 reuse -- out the order 20010319 miro_daily-8 reuse 20010317 miro_daily-7 reuse 20010316 miro_daily-6 reuse 20010315 miro_daily-5 reuse 20010314 miro_daily-4 reuse 20010314 miro_daily-2 reuse 20010312 miro_daily-1 reuse 20010312 miro_daily-25 reuse 20010310 miro_daily-24 reuse 20010309 miro_daily-18 reuse - out the order 20010308 miro_daily-21 reuseout the order 20010307 miro_daily-23 reuse 20010306 miro_daily-22 reuse 20010305 miro_daily-20 reuse 20010305 miro_daily-19 reuse 20010302 miro_daily-17 reuse 20010301 miro_daily-16 reuse 20010228 miro_daily-15 reuse 20010227 miro_daily-14 reuse 20010227 miro_daily-13 reuse Any suggestion? thanks to everybody for your help. Sandra
chg-zd-mtx
Hi Everybody: excuses if my question is too silly, but the thing is that I have amanda 2.4.2 running with chg-multi but now i have a new autoloader hp surestore 24X6i and I don't know what it is the changer file that I have to use. I read /docs/tape.changer and I found that chg-zd-mtx is the best option for me but I don't know if you have a chg-zd-mtx configuration file as example to use. I remember that when I used chg-multi the first time I copied the chg-multi configuration example. And I used it in my amanda.conf file but now I don't know what I have to do. I install mtx 1.2 on red hat linux 6.2 (this my tape server) and it is working but I don't know what it is the next step with amanda. I'm sorry again if I bother you but I need help. Sandra
amanda problems
HI everybody: I have a machine with Mac OS X that i am trying to backup for level 4 but i get an error " Data write: File too large". The first time that I included this machine into the disklist everything was fine, I could backup but the problem was when I tried to backup all the area /Local that is aprox 12 Gb. I have two holding disks. The First one is about 7.6 Gb and the last one has 4 Gb. IN my amanda.conf i defined the chunksize value 2000 Mb less than 2 Gb as I read in the FAQ but Still I get the same error. I don't know if you need more details. I would appreciate if somebody can help me Thanks Sandra
tapelist question
Hi everybody: I have a new tape drive with DDS3 tapes. I changed my amanda configuration to use the DDS3 tape and I would like to know if i can relabel my new tapes or if I have to create another tapecycle. I ask you because today i think i did something wrong, I have a tapecycle from 1 until 25 tapes but to test I relabeled one of my new tapes with amlabel -f label # 12, that it is a label that already i have on my old tapes , and it worked fine but when i ran amcheck to see if it can recognize the tape, I saw something like this "amcheck -server: slot 1 : date X" so i checked the tapelist and i found that the tape that i relabeled had a zero on the date field. Now i don;t know if i can continue with my old configuration or if i have to relabel all the new tapes or if i have to create a new tapecycle. If somebody can help me i would really appreciated. Sandra
time out problem
HI everybody: I'm sorry if my question is too silly but I would like to know if etimeout and dtimeout are the same thing. I ask you because i have problem with a machine that today reported data time out. I check the mailing list if somebody have had the same problem and i found different ways to fix this and many suggestion about increase the "dtimeout", so I check my configuration for amanda and i found that my "etimeout is 800" but i don't have anything for "dtimeout" . I have amanda 2.4.2 so i don;t know if I missing the dtimeout value or if is enough with the "etimeout". Again i'm sorry if this questions is too simple but I want to be sure what is the value that i have to increase and if I have to include the "dtimeout" value because in my current configuration i don't have it Thanks for your help and I hope to receive any answer. Sandra
amrestore problems
hello everybody: I need to restore a data that it is my holding disk but I couldn't. My holding disk is /amanda_holding and my amanda data in there is 20001215/duchamp.tomandandy._Local_Users.0.1. I tried amrestore -p /amanda_holding/20001215/duchamp.tomandandy._Local_Users.0.1 | tar xvf duchamp.tomandandy._Local_Users.0.1 but I got two errors : amrestore: 0: skipping cont dumpfile: date 20001215 host duchamp.tomandandy.com disk /Local/Users lev 0 comp .gztar: tar: duchamp.tomandandy.com._Local_Users.0.1: Not found in archive I understood the last error is because this file is not the tar file but the thing that i don't understand is when I checked amrestore.c source code amrestore is taking /amanda_holding/20001215/duchamp.tomandandy.com._Local_Users.0.1 as tapename, so i don't know if it is because amrestore is trying to find the tape or if to use amrestore to restore files from the holding disk i have to define something else Please if does anybody knows something about this please help me Sandra
amrestore problems
hello everybody; I'm sorry for my last question maybe it was not clear. so i'm going to try again. I am trying to use amrestore to restore a data that i have in my holding disk area. How can i do that?. Also I would like to know if somebody knows about cont_dumpfile in compares to a dumpfile. does anybody can help me? thanks a lot Sandra
help
Hi everybody: Since feww weeks ago I have ahd some strange error from amanda Could somebody tell me what happen? The most important is miro.tomandandy because this is my tape server. If somebody can help me thanks a lot? Sandra FAILURE AND STRANGE DUMP SUMMARY: miro.toman /usr/local lev 1 STRANGE duchamp.to /tomandandy/usrlocal lev 0 STRANGE STATISTICS: Total Full Daily Estimate Time (hrs:min)0:20 Run Time (hrs:min) 3:25 Dump Time (hrs:min)2:58 1:15 1:43 Output Size (meg)2822.8 984.6 1838.2 Original Size (meg) 4009.3 1404.1 2605.2 Avg Compressed Size (%)70.4 70.1 70.6 (level:#disks ...) Filesystems Dumped 17 5 12 (1:9 2:1 3:1 5:1) Avg Dump Rate (k/s) 270.6 222.7 305.9 Tape Time (hrs:min)1:48 0:38 1:10 Tape Size (meg) 2823.3 984.7 1838.6 Tape Used (%) 86.5 30.2 56.3 (level:#disks ...) Filesystems Taped17 5 12 (1:9 2:1 3:1 5:1) Avg Tp Write Rate (k/s) 447.9 446.2 448.8 FAILED AND STRANGE DUMP DETAILS: /-- miro.toman /usr/local lev 1 STRANGE sendbackup: start [miro.tomandandy.com:/usr/local level 1] sendbackup: info BACKUP=/bin/gtar sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/bin/gtar -f... - sendbackup: info COMPRESS_SUFFIX=.gz sendbackup: info end ? gtar: ./etc/amanda/miro_daily/index/ernst.tomandandy.com/_Local_Library_CVSRoot/20010111_1.gz.tmp: Warning: Cannot stat: No such file or directory | Total bytes written: 6645760 (6.3MB, 135kB/s) sendbackup: size 6490 sendbackup: end \ /-- duchamp.to /tomandandy/usrlocal lev 0 STRANGE sendbackup: start [duchamp.tomandandy.com:/tomandandy/usrlocal level 0] sendbackup: info BACKUP=/usr/bin/gnutar sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/usr/bin/gnutar -f... - sendbackup: info COMPRESS_SUFFIX=.gz sendbackup: info end ? gtar: ./mailman/logs/qrunner: file changed as we read it | Total bytes written: 54691840 (52MB, 133kB/s) sendbackup: size 53410 sendbackup: end \ NOTES: planner: Last full dump of whiteley.tomandandy.com:/Local on tape overwritten in 1 run. planner: Incremental of duchamp.tomandandy.com:/Local/Users bumped to level 3. planner: Dump larger than tape: full dump of whiteley.tomandandy.com:/Local delayed. planner: Full dump of magritte.tomandandy.com:/public promoted from 24 days ahead. planner: Full dump of whiteley.tomandandy.com:/usr/local promoted from 24 days ahead. planner: Full dump of duchamp.tomandandy.com:/tomandandy/usrlocal promoted from 26 days ahead. planner: Full dump of ernst.tomandandy.com:/usr/local promoted from 26 days ahead. planner: Full dump of ernst.tomandandy.com:/Local/Applications promoted from 26 days ahead. taper: tape miro_daily-21 kb 2891072 fm 17 [OK] DUMP SUMMARY: DUMPER STATSTAPER STATS HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -- - duchamp.toma -ry/CVSRoot 1 590 32 5.4 0:19 1.7 0:005548.8 duchamp.toma -ocal/Users 3 54860 36288 66.1 4:48 126.0 1:32 394.3 duchamp.toma -y/usrlocal 0 53410 12256 22.9 6:41 30.5 0:27 450.6 duchamp.toma /var/mail 1 22970 10976 47.8 1:07 164.7 0:29 377.9 ernst.tomand -plications 0 39080 12288 31.4 2:02 101.1 0:41 301.6 ernst.tomand -ry/CVSRoot 11690288 17.0 0:07 43.4 0:002845.5 ernst.tomand -sers/leigh 1 1512 5.1 6:42 1.3 0:002723.3 ernst.tomand -Users/skot 13750 1056 28.2 0:45 23.5 0:03 350.8 ernst.tomand /usr/local 0 170540 51136 30.0 7:15 117.6 2:04 413.4 magritte.tom -ocal/Users 14530 3136 69.2 0:16 195.3 0:08 402.2 magritte.tom /home 1 35840 32768 91.4 1:24 392.2 1:12 454.8 magritte.tom /public 0 1141460 923968 80.9 57:06 269.7 34:04 452.1 magritte.tom /usr/local 1 200 32 16.0 0:01 61.2 0:005577.3 miro.tomanda /Local 2 78960 15936 20.2 3:56 67.5 0:44 363.6 miro.tomanda /usr/local 16490608 9.4 0:48 12.6 0:002353.9 whiteley.tom /Local 5 24478001780704 72.7 82:21 360.4 65:46 451.3 whiteley.tom /usr/local 0 33340 8544 25.6 2:24 59.3 0:24 355.3 (brought to you by Amanda version 2.4.2-19991216-beta1)
amflush question
Hi Everybody: I know that I did this question before but I still have problems with amflush. I am trying to amflush my data from my holding disk, the data size is 5.3 Gb and my tape doesn't have enough space. Somebody told me that I had to do amflush many times until my holding disk cleaned out but I have used four tapes ( so I did four times amflush) is it normal? or do I have to redefined my chunksize to split more my directories when amanda have to use the holding disk?. Or how many times I have to do amflush? Any suggestions. Thanks a lot Sandra
Amanda question
Hi everybody: could anybody tell me if amanda can backup a HFS+ hard drive? thanks Sandra
amflush question
Hi everyone: I have a question about amflush. If i have huge data in my holding disk and one tape is not enough how can I do to use amflush with more than one tape? Please, any help would be appreciated. Sandra
Mac OS X Beta
Hi everyone: I am trying to install amanda on Mac OS X Beta but when i ran ./configure something wrong happened because after ./configure checked my system and the options that i used , the report from config.status was "unescaped newline inside substitute pattern creating amplot/amplot" " unescaped newline inside substitute pattern creating client-src/patch-system.sh" and more my options for ./configure were: ./configure --without-server --with-gnutar=/usr/bin.. I used without server because I am compiling on a client and when I check config.log I saw that amanda checked "mt" and I don't understand why if this machine with Mac OS X Beta is a client not the tape server, could anybody explain it to me?. I defined that gnutar is in /usr/bin because i checked and this the place where it is. I don't know if I have to change something or if I have to defined anything else. If somebody have tried to install amanda on Mac OS X beta please let me. Thanks a lot sandra
holding disk problems
Hi finally I found my problem with my sonicwall firewall. the problem was the timeout and the machine that I was trying to backup is running on Mac OS X Server and it is too slow so took a long time to compress. Then I had to compress on the tape server, I used fast compression but I still have a problem, today I got the error "data write: file too large" . My Holding disk is on a hard drive with 8 Gb and available 7.6 Gb and the data that I am trying to backup is 5.2 Gb. In my configuration (amanda.conf) I defined the holding disk in this way: holding disk hd1 { comment "main holding disk" directory "/amanda_holding" use -10 Mb chunksize -1 } I don't know what is the problem or If I have to change the use or the chunksize values, I found that when I use a negative value for USE this means that I can use all space except that value and for the CHUNKSIZE -1 means that for big dumps i can dumped on multiple files on my holding disk so I don't understand why i got the error "file too large". I know that the holding disk is used for every dump for every machine in parallel but I am not sure about in what order. I'm sorry if I am doing many questions maybe with easy answers that every knows but after almost two months trying to fix the problem I don't know what can I do. If somebody can help I would really, really really appreciated Thanks Sandra