Re: Q: HP C7971A tapetype (Ultrium LTO 1)
Alexey I. Froloff wrote: * Alexey I. Froloff raorn@ [040707 14:10]: P.S. Right now I figured how to turn HW compression off (with mt utility) and started amtapetype again... Thanks to all for your help. amtapetype finished successfully. $ /usr/sbin/amtapetype -e 100g -f /dev/nst0 -t HP-C7971A Writing 1024 Mbyte compresseable data: 25 sec Writing 1024 Mbyte uncompresseable data: 72 sec WARNING: Tape drive has hardware compression enabled Estimated time to write 2 * 102400 Mbyte: 14400 sec = 4 h 0 min wrote 3244032 32Kb blocks in 99 files in 7310 seconds (short write) wrote 3244032 32Kb blocks in 198 files in 7666 seconds (short write) define tapetype HP-C7971A { comment just produced by tapetype prog (hardware compression on) length 101376 mbytes filemark 0 kbytes speed 13871 kps } Noticed the speed increase when specifying '-e 100g' ! And notice that even with hardware compression on, these drives can put 100 Gbyte on tape, thanks to the intelligent hwcompr algorithm that somehow avoids compressing random data. I wish I owned one of those drives. -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.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 * ***
[RESULTS MISSING]
Hi, Amanda has send this report today, and i don't know if the backup of the disk is done ok. svrbackup //svrficheros/usr RESULTS MISSING svrbackup //svrcitrixs/YagoMir RESULTS MISSING svrbackup //svrcitrixs/carto RESULTS MISSING What mean those errors. Thank you! -- Daniel García Franco e-mail: [EMAIL PROTECTED] SADIEL, S.A. C\ Isaac Newton s/n, Edificio Sadiel, Isla de la Cartuja C.P. 41002 SEVILLA Tlf: +34 955043600 (83736) Fax: 955043601 http://www.sadiel.es e-mail: [EMAIL PROTECTED]
Re: Q: HP C7971A tapetype (Ultrium LTO 1)
* Paul Bijnens paul.bijnens@ [040708 12:18]: Noticed the speed increase when specifying '-e 100g' ! Yes! And notice that even with hardware compression on, these drives can put 100 Gbyte on tape, thanks to the intelligent hwcompr algorithm that somehow avoids compressing random data. I think it worth a try with -e 200g option. I wish I owned one of those drives. :-) -- Regards, Alexey I. Froloff AIF5-RIPN, AIF5-RIPE --- Inform-Mobil, Ltd. System Administrator http://www.inform-mobil.ru/ Tel: +7(095)504-4709, Fax: +7(095)513-1006 pgpAbAx5VeloN.pgp Description: PGP signature
Re: Q: HP C7971A tapetype (Ultrium LTO 1)
On Thursday 08 July 2004 01:32, Alexey I. Froloff wrote: * Alexey I. Froloff raorn@ [040707 14:10]: P.S. Right now I figured how to turn HW compression off (with mt utility) and started amtapetype again... Thanks to all for your help. amtapetype finished successfully. $ /usr/sbin/amtapetype -e 100g -f /dev/nst0 -t HP-C7971A Writing 1024 Mbyte compresseable data: 25 sec Writing 1024 Mbyte uncompresseable data: 72 sec WARNING: Tape drive has hardware compression enabled Please disable this as it hides the true tapesize from amtapetype AND amanda. amanda can do a much better job of filling up a tape if amanda knows how much a tape can hold. You can use the optional gzip compressor on portions of the system to much better advantage in terms of achieved compression ratios, and generally can stuff more data onto a tape than using the hardware compressor can do. Here, under what would be termed ideal conditions, I've had amanda email me and rep[ort that it just put a bit over 12Gb on a 4Gb tape that has the last 370megs reserved for something else I'm doing here. amtapetype uses /dev/urandom as a data source, which will overpower the hardware compressor and make the data on the tape larger, by maybe 10-15%, than what was fed in, so you do not get a good estimate of the tapesize from that effect alone. Estimated time to write 2 * 102400 Mbyte: 14400 sec = 4 h 0 min wrote 3244032 32Kb blocks in 99 files in 7310 seconds (short write) wrote 3244032 32Kb blocks in 198 files in 7666 seconds (short write) define tapetype HP-C7971A { comment just produced by tapetype prog (hardware compression on) length 101376 mbytes filemark 0 kbytes speed 13871 kps } -- Cheers, Gene There are 4 boxes to be used in defense of liberty. Soap, ballot, jury, and ammo. Please use in that order, starting now. -Ed Howdershelt, Author Additions to this message made by Gene Heskett are Copyright 2004, Maurice E. Heskett, all rights reserved.
Re: Q: HP C7971A tapetype (Ultrium LTO 1)
On Thu, 8 Jul 2004 at 8:35am, Gene Heskett wrote On Thursday 08 July 2004 01:32, Alexey I. Froloff wrote: * Alexey I. Froloff raorn@ [040707 14:10]: P.S. Right now I figured how to turn HW compression off (with mt utility) and started amtapetype again... Thanks to all for your help. amtapetype finished successfully. $ /usr/sbin/amtapetype -e 100g -f /dev/nst0 -t HP-C7971A Writing 1024 Mbyte compresseable data: 25 sec Writing 1024 Mbyte uncompresseable data: 72 sec WARNING: Tape drive has hardware compression enabled Please disable this as it hides the true tapesize from amtapetype AND amanda. amanda can do a much better job of filling up a tape if amanda knows how much a tape can hold. You can use the optional gzip compressor on portions of the system to much better advantage in terms of achieved compression ratios, and generally can stuff more data onto a tape than using the hardware compressor can do. Here, under what would be termed ideal conditions, I've had amanda email me and rep[ort that it just put a bit over 12Gb on a 4Gb tape that has the last 370megs reserved for something else I'm doing here. Actually Gene, for this drive disabling hardware compression isn't necessary. It's an LTO/Ultrium drive, and those are actually smart enough to not compress already compressed data. Notice (below) how he still gets the full 100GB native capacity? With those drives, you get the best of both worlds -- you can mix software and hardware compression. Very, very slick. Estimated time to write 2 * 102400 Mbyte: 14400 sec = 4 h 0 min wrote 3244032 32Kb blocks in 99 files in 7310 seconds (short write) wrote 3244032 32Kb blocks in 198 files in 7666 seconds (short write) define tapetype HP-C7971A { comment just produced by tapetype prog (hardware compression on) length 101376 mbytes filemark 0 kbytes speed 13871 kps } -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: Q: HP C7971A tapetype (Ultrium LTO 1)
Actually Gene, for this drive disabling hardware compression isn't necessary. It's an LTO/Ultrium drive, and those are actually smart enough to not compress already compressed data. Notice (below) how he still gets the full 100GB native capacity? With those drives, you get the best of both worlds -- you can mix software and hardware compression. Very, very slick. I can agree - We have a couple of autoloaders with these in and they have reported very similar results while using amtapetype. They are very neat indeed - And reliable so far thanks
Re: Q: HP C7971A tapetype (Ultrium LTO 1)
On Thursday 08 July 2004 08:50, Joshua Baker-LePain wrote: On Thu, 8 Jul 2004 at 8:35am, Gene Heskett wrote On Thursday 08 July 2004 01:32, Alexey I. Froloff wrote: * Alexey I. Froloff raorn@ [040707 14:10]: P.S. Right now I figured how to turn HW compression off (with mt utility) and started amtapetype again... Thanks to all for your help. amtapetype finished successfully. $ /usr/sbin/amtapetype -e 100g -f /dev/nst0 -t HP-C7971A Writing 1024 Mbyte compresseable data: 25 sec Writing 1024 Mbyte uncompresseable data: 72 sec WARNING: Tape drive has hardware compression enabled Please disable this as it hides the true tapesize from amtapetype AND amanda. amanda can do a much better job of filling up a tape if amanda knows how much a tape can hold. You can use the optional gzip compressor on portions of the system to much better advantage in terms of achieved compression ratios, and generally can stuff more data onto a tape than using the hardware compressor can do. Here, under what would be termed ideal conditions, I've had amanda email me and rep[ort that it just put a bit over 12Gb on a 4Gb tape that has the last 370megs reserved for something else I'm doing here. Actually Gene, for this drive disabling hardware compression isn't necessary. It's an LTO/Ultrium drive, and those are actually smart enough to not compress already compressed data. Notice (below) how he still gets the full 100GB native capacity? With those drives, you get the best of both worlds -- you can mix software and hardware compression. Very, very slick. And a bit expen$ive for my retired blood. I've spent $200+ on a fresh pair of drives here since the first of the year, and they are both dead now, acting like worn out heads. So if I ever get this machine stable enough to worry about amanda, I'll see if I can make amanda use dvd+-rw's instead. But right now the video card died yesterday, and an atempt to recomipile kde-3.2.3 is meeting with a bus error in the middle of the qt-x11-free-3.2.3 build. Hello... Bus error? Nothing in the logs, nada, zip zero. Estimated time to write 2 * 102400 Mbyte: 14400 sec = 4 h 0 min wrote 3244032 32Kb blocks in 99 files in 7310 seconds (short write) wrote 3244032 32Kb blocks in 198 files in 7666 seconds (short write) define tapetype HP-C7971A { comment just produced by tapetype prog (hardware compression on) length 101376 mbytes filemark 0 kbytes speed 13871 kps } -- Cheers, Gene There are 4 boxes to be used in defense of liberty. Soap, ballot, jury, and ammo. Please use in that order, starting now. -Ed Howdershelt, Author Additions to this message made by Gene Heskett are Copyright 2004, Maurice E. Heskett, all rights reserved.
RE: Installation problems
Steve, try checking out the logs in /tmp/amanda (if that's where your logs are set to for the client). You can check rundump or sendsize. It should show you the absolute path of the dump program and possibly any parameters used when performing the dump command. -Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 5:16 PM To: [EMAIL PROTECTED] Subject: Installation problems Hello, I've recently started trying to get amanda installed (the newest version as of a week ago) on a few of my linux boxes here in the shop and I've come across two problems. The the server install went smoothly on my Debian Sarge install, as well as a client install on 3 Fedora boxes. However, when I did a client install on two of my other debian boxes, amcheck returns that it cannot find DUMP on those machines. I've checked all of the following: 1) Dump is installed 2) The amanda user has priveleges to use dump 3) Permissions are exactly the same as on my my working amanda server as well as the working fedora boxes. I've checked the FAQ on the website as well as the help documents included with amanda and these mainly suggest that if dump works for the user on the client machine, it should for the server. Soo..I'm stuck. If anyone has any ideas about what I should be checking /doing I'd greatly appreciate it! Thanks! -Steve
Re: Q: HP C7971A tapetype (Ultrium LTO 1)
On Thu, Jul 08, 2004 at 08:50:17AM -0400, Joshua Baker-LePain wrote: On Thu, 8 Jul 2004 at 8:35am, Gene Heskett wrote On Thursday 08 July 2004 01:32, Alexey I. Froloff wrote: * Alexey I. Froloff raorn@ [040707 14:10]: P.S. Right now I figured how to turn HW compression off (with mt utility) and started amtapetype again... Thanks to all for your help. amtapetype finished successfully. $ /usr/sbin/amtapetype -e 100g -f /dev/nst0 -t HP-C7971A Writing 1024 Mbyte compresseable data: 25 sec Writing 1024 Mbyte uncompresseable data: 72 sec WARNING: Tape drive has hardware compression enabled Please disable this as it hides the true tapesize from amtapetype AND amanda. amanda can do a much better job of filling up a tape if amanda knows how much a tape can hold. ... Actually Gene, for this drive disabling hardware compression isn't necessary. It's an LTO/Ultrium drive, and those are actually smart enough to not compress already compressed data. Notice (below) how he still gets the full 100GB native capacity? With those drives, you get the best of both worlds -- you can mix software and hardware compression. Very, very slick. Gene's second point is still valid though. What is the actual real world data capacity of the tape? Amanda will think 100GB and yet the HW compressor will be shrinking that 0-80% depending on the data compressability. So running tapetype if you plan to use HW compression is basically a time-waster as you will be guess-timating the actual data capacity anyway. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
please, help with samba/windows setup
Hi there ! I am having trouble to setup amanda to backup shares from a Windows 2000 server. I am not sure this is possible, (I suspect is not), so I am writing to get a confirmation that this is impossible and ask for suggestions to backup the windows 2000 shares. The PDC is a windows 2000 machine. it's NetBIOS name is kgbserver. The shares that I want to backup are named //kgbserver/Others and //kgbserver/Docs. The amanda server is a RH9.0, with samba configured as security=DOMAIN . The samba NetBIOS name is KGBSERVER2. This is why I think this could be a problem. The samba server is not the PDC for that domain. It is just a client for that domain. This makes any sense ? In the disklist file I put the following lines for the shares I want to backup: kgbserver2 //kgbserver/Others nocomp-user-gnutar kgbserver2 //kgbserver/Docs nocomp-user-gnutar The file /etc/amandapass was configured with the Administrator and password for the Windows machine: //kgbserver/Others administrator%ajjj882 KGB //kgbserver/Docsadministrator%ajjj882 KGB On the amanda server (RH9.0) I can browse the Windows 2000's shares with smbclient, for example: # smbclient -L //kgbserver -U administrator%ajjj882 -W KGB added interface ip=192.168.155.202 bcast=192.168.155.255 nmask=255.255.255.0 Domain=[KGB] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] Sharename Type Comment - --- ...etc... and browsing a specific share: # smbclient //kgbserver/Others -U administrator%ajjj882 -W KGB added interface ip=192.168.155.202 bcast=192.168.155.255 nmask=255.255.255.0 Domain=[KGB] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] smb: \ ls . D0 Fri Jun 25 14:46:26 2004 .. D0 Fri Jun 25 14:46:26 2004 ENVELOPES D0 Thu Feb 28 15:02:23 2002 ...etc ...and even smbtar work fine: # cd /tmp # smbtar -s kgbserver -u administrator%ajjj882 -x Others -t others.tar # tar -tvf others.tar ...etc... ...and amcheck works fine too: # /bin/su - amanda -c /usr/sbin/amcheck -c DialySet1 Amanda Backup Client Hosts Check Client check: 2 hosts checked in 10.682 seconds, 0 problems found (brought to you by Amanda 2.4.3) The amdump fail with the following message: FAILURE AND STRANGE DUMP SUMMARY: planner: ERROR Request to kgbserver2 timed out. and from DUMP summary: DUMP SUMMARY: DUMPER STATSTAPER STATS HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -- - kgbserver2 -ver/Others MISSING -- kgbserver2 -erver/Docs MISSING -- Is this setup really impossible ? As last resort, I configured Amanda to backup the mount point /mnt/kgbserver/Others and /mnt/kgbserver/Docs from the machine kgbserver2. These mount points are mounted at boot time via /etc/fstab using smbfs. Is there another better solution ? I will appreciated any ideas and comments. thank you gurus in advance, Amanda server: RH9.0, running 2.4.20-30.9. amanda version: 2.4.3-4 (from the rpm package) samba version: 2.2.7a release 8.9.0 (from the rpm package) -- Miguel Angelo Rozsas K3M Consultoria 19 3232 8886 --- Esta mensagem foi verificada pelo e-mail seguro Maxiweb. McAfee VirusScan / Vacina v4374 atualizada em 07/07/2004 powered by wstation (www.wstation.com.br)
Cygwin question...
Hi! I have a number of Win2K machines I'm backing up using cygwin-based Amanda. Most of them work just great, however I haven't added a new machine for several months. Just a few days ago, I added a new machine, using the already-compiled binaries from the other machines, and I'm having a problem... First, this is amanda 2.4.4 (I haven't done any upgrades for a while, so there may be newer versions out). It was compiled on Cygwin 1.3.20. I'm trying to run it on Cygwin 1.5.10. I realize that this might be the problem, but I'd rather not recompile it if I can, as it was a pain to get compiled correctly. It passes amcheck just fine. However, when it actually tries to back up, I get the following errors in the log files: in amandad.*.debug (this being the third amadad.debug file from the evening): amandad: time 0.020: bsd security: remote host xxx.xxx.xxx.edu user amanda local user SYSTEM amandad: time 0.020: amandahosts security check passed amandad: time 0.020: running service /usr/local/amanda/libexec/sendbackup ERROR [sendbackup: could not create data socket: Operation not permitted] in sendbackup.*.debug: sendbackup: debug 1 pid 1344 ruid 18 euid 18: start at Wed Jul 7 23:24:05 2004 /usr/local/amanda/libexec/sendbackup: version 2.4.4 parsed request as: program `GNUTAR' disk `/cygdrive/c' device `/cygdrive/c' level 0 since 1970:1:1:0:0:0 options `|;auth=bsd;srvcomp-fast;index;include-list=.amanda-gtar-includes;' sendbackup: stream_server: socket() failed: Operation not permitted sendbackup: time 0.005: ERROR [sendbackup: could not create data socket: Operation not permitted] sendbackup: time 0.005: pid 1344 finish time Wed Jul 7 23:24:05 2004 Does anyone have any ideas what might be causing this? A google search revealed nothing... Thanks, Ricky
Erroneous Last full dump overwritten message
I go this message last night: NOTES: planner: Last full dump of www:sda11 on tape overwritten in 1 run. And yet, I have plenty of level 0 backups: [EMAIL PROTECTED]:~$ amadmin Outside find www sda11 Scanning /dumps/amanda... date host disk lv tape or file file status 2004-06-09 www sda11 2 Outside-21 10 OK 2004-06-11 www sda11 3 Outside-01 12 OK 2004-06-12 www sda11 0 Outside-02 15 OK 2004-06-15 www sda11 1 Outside-03 12 OK 2004-06-16 www sda11 2 Outside-04 13 OK 2004-06-17 www sda11 3 Outside-05 11 OK 2004-06-19 www sda11 3 Outside-07 14 OK 2004-06-22 www sda11 0 Outside-08 15 OK 2004-06-23 www sda11 1 Outside-09 13 OK 2004-06-24 www sda11 2 Outside-10 13 OK 2004-06-25 www sda11 3 Outside-11 9 OK 2004-06-26 www sda11 0 Outside-12 16 OK 2004-06-29 www sda11 1 Outside-13 12 OK 2004-06-30 www sda11 2 Outside-14 11 OK 2004-07-01 www sda11 3 Outside-15 10 OK 2004-07-02 www sda11 3 Outside-16 12 OK 2004-07-03 www sda11 3 Outside-17 11 OK 2004-07-07 www sda11 0 --- 0 FAILED (driver) [dump to tape failed] 2004-07-07 www sda11 0 --- 0 FAILED (dumper) [data write: Connection reset by peer] 2004-07-07 www sda11 0 Outside-19 14 [out of tape] 2004-07-08 www sda11 0 Outside-20 16 OK [EMAIL PROTECTED]:~$ This indicates that one was just made last night, but three others existed within the tapecycle. My amanda.conf setting are: dumpcycle 8 # the number of days in the normal dump cycle runspercycle 8 # the number of amdump runs in dumpcycle days tapecycle 15 tapes # the number of tapes in rotation Is this message indicating that there's no level 0 backup within the last dumpcycle tapes? This isn't a big concern; I've been just ignoring it for a couple of years now. But today, I'm curious and have the time to write about it. Also, is there something missing after the word 'tape' in the message, planner: Last full dump of www:sda11 on tape overwritten in 1 run.? On my other operating amanda system, this is usually filled in by the tape name. Thanks for your thoughts and suggestions. -Kevin - E. Kevin Zembower Unix Administrator Johns Hopkins University/Center for Communications Programs 111 Market Place, Suite 310 Baltimore, MD 21202 410-659-6139
RE: please, help with samba/windows setup
A few things I would check: *) Since you area already part of a domain, your amandapass does not require the third field that specifies the workgroup. *) Your disklist specifies nocomp-user-gnutar as the backup method. What is listed in there? *) check out the errors logs in /tmp/amanda. It might help highlight a few issues with the backup errors. *) The packages that you are using are fairly old. You might want to try upgrading them as the updated package might contain fixes relevant to your problem. I am able to successfully backup windows2000 systems using amanda on a redhat box, so I do know that this works. It has nothing to do with your linux box needing to be a PDC. So long as your linux box is a member of the domain, you should be okay. -Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 9:34 AM To: [EMAIL PROTECTED] Subject: please, help with samba/windows setup Hi there ! I am having trouble to setup amanda to backup shares from a Windows 2000 server. I am not sure this is possible, (I suspect is not), so I am writing to get a confirmation that this is impossible and ask for suggestions to backup the windows 2000 shares. The PDC is a windows 2000 machine. it's NetBIOS name is kgbserver. The shares that I want to backup are named //kgbserver/Others and //kgbserver/Docs. The amanda server is a RH9.0, with samba configured as security=DOMAIN . The samba NetBIOS name is KGBSERVER2. This is why I think this could be a problem. The samba server is not the PDC for that domain. It is just a client for that domain. This makes any sense ? In the disklist file I put the following lines for the shares I want to backup: kgbserver2 //kgbserver/Others nocomp-user-gnutar kgbserver2 //kgbserver/Docs nocomp-user-gnutar The file /etc/amandapass was configured with the Administrator and password for the Windows machine: //kgbserver/Others administrator%ajjj882 KGB //kgbserver/Docsadministrator%ajjj882 KGB On the amanda server (RH9.0) I can browse the Windows 2000's shares with smbclient, for example: # smbclient -L //kgbserver -U administrator%ajjj882 -W KGB added interface ip=192.168.155.202 bcast=192.168.155.255 nmask=255.255.255.0 Domain=[KGB] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] Sharename Type Comment - --- ...etc... and browsing a specific share: # smbclient //kgbserver/Others -U administrator%ajjj882 -W KGB added interface ip=192.168.155.202 bcast=192.168.155.255 nmask=255.255.255.0 Domain=[KGB] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] smb: \ ls . D0 Fri Jun 25 14:46:26 2004 .. D0 Fri Jun 25 14:46:26 2004 ENVELOPES D0 Thu Feb 28 15:02:23 2002 ...etc ...and even smbtar work fine: # cd /tmp # smbtar -s kgbserver -u administrator%ajjj882 -x Others -t others.tar # tar -tvf others.tar ...etc... ...and amcheck works fine too: # /bin/su - amanda -c /usr/sbin/amcheck -c DialySet1 Amanda Backup Client Hosts Check Client check: 2 hosts checked in 10.682 seconds, 0 problems found (brought to you by Amanda 2.4.3) The amdump fail with the following message: FAILURE AND STRANGE DUMP SUMMARY: planner: ERROR Request to kgbserver2 timed out. and from DUMP summary: DUMP SUMMARY: DUMPER STATSTAPER STATS HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -- - kgbserver2 -ver/Others MISSING -- kgbserver2 -erver/Docs MISSING -- Is this setup really impossible ? As last resort, I configured Amanda to backup the mount point /mnt/kgbserver/Others and /mnt/kgbserver/Docs from the machine kgbserver2. These mount points are mounted at boot time via /etc/fstab using smbfs. Is there another better solution ? I will appreciated any ideas and comments. thank you gurus in advance, Amanda server: RH9.0, running 2.4.20-30.9. amanda version: 2.4.3-4 (from the rpm package) samba version: 2.2.7a release 8.9.0 (from the rpm package) -- Miguel Angelo Rozsas K3M Consultoria 19 3232 8886 --- Esta mensagem foi verificada pelo e-mail seguro Maxiweb. McAfee VirusScan / Vacina v4374 atualizada em 07/07/2004 powered by wstation
Question about amandad launching
Hello List, I'm very newbie with amanda, so maybe my question will be very simple. I've search on Internet, Amanda's documentation and archives but no answer for my problem, I cannot launch correctly amandad, here is my debug logs (/tmp/amanda/amanda-.debug) : amandad: dgram_recv: recvfrom() failed: Socket operation on non-socket amandad: error receiving message: Socket operation on non-socket amandad: time 1.231: error receiving message: Socket operation on non-socket amandad: time 1.231: pid 9348 finish time Thu Jul 8 15:59:00 2004 Do you know what is my problem ?? Here are the Other lines of the amanda.debug file : [EMAIL PROTECTED] /]$ more /tmp/amanda/amandad.20040708155859.debug amandad: debug 1 pid 9348 ruid 500 euid 500: start at Thu Jul 8 15:58:59 2004 amandad: version 2.4.4p3 amandad: build: VERSION="Amanda-2.4.4p3" amandad: BUILT_DATE="jeu jui 1 10:40:01 CEST 2004" amandad: BUILT_MACH="Linux corap-47.rap.prd.fr 2.6.3-7mdk #1 Wed Mar 17 15:56:42 CET 2004 i686 unknown unknown GNU/Linux" amandad: CC="gcc" amandad: CONFIGURE_COMMAND="'./configure' '--with-user=amanda' '--with-group=disk' '--with-configdir=/etc/amanda'" 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="/etc/amanda" DEV_PREFIX="/dev/" amandad: RDEV_PREFIX="/dev/r" DUMP="/sbin/dump" amandad: RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF amandad: XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF amandad: SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/gtar" amandad: COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip" amandad: LPRCMD="/usr/bin/lpr" MAILER="/usr/bin/Mail" amandad: listed_incr_dir="/usr/local/var/amanda/gnutar-lists" amandad: defs: DEFAULT_SERVER="corap-47.rap.prd.fr" amandad: DEFAULT_CONFIG="DailySet1" amandad: DEFAULT_TAPE_SERVER="corap-47.rap.prd.fr" 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="amanda" FORCE_USERID HAVE_GZIP amandad: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast" amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc" Thanks. Lionel.
amdump/amrecover problem
Hi, I've got the following error when I run amrecover: - amrecover add dumpdates Added /etc/dumpdates amrecover extract Extracting files using tape drive 0 on host typha.nmsu.edu. The following tapes are needed: Biology-1 Restoring files into directory /home/cngo Continue [?/Y/n]? y Extracting files using tape drive 0 on host typha.nmsu.edu. Load tape Biology-1 now Continue [?/Y/n/s/t]? y EOF, check amidxtaped.timestamp.debug file on typha.nmsu.edu. amrecover: short block 0 bytes UNKNOWN file amrecover: Can't read file header extract_list - child returned non-zero status: 1 Continue [?/Y/n/r]? y amrecover That error disappears if I comment out the 'tapedev 0 'in my amanda.conf file -amanda.conf-- tpchanger chg-scsi# the tape-changer glue script tapedev 0 changerfile /usr/pkg/etc/amanda/backup/chg-scsi.conf --- However if I do that, amcheck generates the following error: --- % amcheck backup Amanda Tape Server Host Check - Holding disk /data/amanda: 24318770 KB disk space available, that's plenty amcheck-server: could not get changer info: check your config and use a config file for chg-scsi Amanda Backup Client Hosts Check Client check: 1 host checked in 0.060 seconds, 0 problems found (brought to you by Amanda 2.4.4p2) --- if I change 'tapedev 0 ' to 'tapedev enrst0' for example, amrecover works well but amcheck still gives that error message. As I understand from amanda documents, the value of tapedev is the configuration to use, so it should be a number between 0 and 9. I don't think it's good idea to set 'tapedev 0' when running amdump and comment it out when running amrecover. I would appreciate it very much if anyone could advise me how to resolve that problem. Thank you very much, Co
Re: Erroneous Last full dump overwritten message
KEVIN ZEMBOWER wrote: Also, is there something missing after the word 'tape' in the message, planner: Last full dump of www:sda11 on tape overwritten in 1 run.? On my other operating amanda system, this is usually filled in by the tape name. I've seen the same thing here, and I believe it is caused by a dump that's been forgotten on holding disk and won't be flushed. Can happen when you do several amdumps on the same day, it seems. Sound plausible to someone? Alex -- Alexander Jolk / BUF Compagnie tel +33-1 42 68 18 28 / fax +33-1 42 68 18 29
Re: Erroneous Last full dump overwritten message
Alexander Jolk wrote: KEVIN ZEMBOWER wrote: Also, is there something missing after the word 'tape' in the message, planner: Last full dump of www:sda11 on tape overwritten in 1 run.? On my other operating amanda system, this is usually filled in by the tape name. I've seen the same thing here, and I believe it is caused by a dump that's been forgotten on holding disk and won't be flushed. Can happen when you do several amdumps on the same day, it seems. Sound plausible to someone? That's correct. It's a little bug in the code. Creating a little patch is on my todo list (when I find the time). The bug is in this little subroutine in planner.c. Something that shouldnt happen does happen: when the last full dump is on holdingdisk, then the routine gets called with an empty label, and it returns 1 to trigger warning message. 925 static int when_overwrite(label) 926 char *label; 927 { 928 tape_t *tp; 929 930 if((tp = lookup_tapelabel(label)) == NULL) 931 return 1; /* shouldn't happen, but trigger warning message */ 932 else if(!reusable_tape(tp)) 933 return 1024; 934 else if(lookup_nb_tape() conf_tapecycle) 935 return (lookup_nb_tape() - tp-position) / conf_runtapes; 936 else 937 return (conf_tapecycle - tp-position) / conf_runtapes; 938 } 939 You see where the empty tape name comes from and the overwritten in 1 run too. I didn't yet decide how to resolve it. Is an empty label really an indication of a dump on holdingdisk in all cases? In that case just return 1024 or so. Or should we change infofile to use some string like **HOLDINGDISK** as a fake tapelabel? -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.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 * ***
Re: amdump/amrecover problem
[EMAIL PROTECTED] writes: - I've got the following error when I run amrecover: - - - - amrecover add dumpdates - Added /etc/dumpdates - amrecover extract - - Extracting files using tape drive 0 on host typha.nmsu.edu. - The following tapes are needed: Biology-1 - - Restoring files into directory /home/cngo - Continue [?/Y/n]? y - - Extracting files using tape drive 0 on host typha.nmsu.edu. - Load tape Biology-1 now - Continue [?/Y/n/s/t]? y - EOF, check amidxtaped.timestamp.debug file on typha.nmsu.edu. - amrecover: short block 0 bytes - UNKNOWN file - amrecover: Can't read file header - extract_list - child returned non-zero status: 1 - Continue [?/Y/n/r]? y - amrecover - What are the contents of amidxtaped.timestamp.debug? That'd probably be most enlightening. As a guess, I'd say that the tape `Biology-1' wasn't loaded when amidxtaped went to try and read from it. Did you see (hear?) the robot load the tape at the after you answered yes, and before the above error message occurred. - That error disappears if I comment out the 'tapedev 0 'in my amanda.conf - file The error disappears, but are you able to restore the file? -- Eric Schnoebelen[EMAIL PROTECTED] http://www.cirr.com If bankers can count, how come they have eight windows and only four tellers?
Re: amdump/amrecover problem
On Thursday 08 July 2004 14:52, Eric Schnoebelen wrote: [EMAIL PROTECTED] writes: - I've got the following error when I run amrecover: - - - - amrecover add dumpdates - Added /etc/dumpdates - amrecover extract - - Extracting files using tape drive 0 on host typha.nmsu.edu. - The following tapes are needed: Biology-1 - - Restoring files into directory /home/cngo - Continue [?/Y/n]? y - - Extracting files using tape drive 0 on host typha.nmsu.edu. - Load tape Biology-1 now - Continue [?/Y/n/s/t]? y - EOF, check amidxtaped.timestamp.debug file on typha.nmsu.edu. - amrecover: short block 0 bytes - UNKNOWN file - amrecover: Can't read file header - extract_list - child returned non-zero status: 1 - Continue [?/Y/n/r]? y - amrecover - What are the contents of amidxtaped.timestamp.debug? That'd probably be most enlightening. There are several debug and diagnostics files at /tmp/amanda. They follow that convention. Do you told to amanda to backup the /tmp directory (or / filesystem) ? Or maybe your /tmp is full, preveting the creation of the file... As a guess, I'd say that the tape `Biology-1' wasn't loaded when amidxtaped went to try and read from it. Did you see (hear?) the robot load the tape at the after you answered yes, and before the above error message occurred. - That error disappears if I comment out the 'tapedev 0 'in my amanda.conf - file The error disappears, but are you able to restore the file? -- Eric Schnoebelen [EMAIL PROTECTED] http://www.cirr.com If bankers can count, how come they have eight windows and only four tellers? --- Esta mensagem foi verificada pelo e-mail seguro Maxiweb. McAfee VirusScan / Vacina v4374 atualizada em 07/07/2004 powered by wstation (www.wstation.com.br) -- Miguel Angelo Rozsas K3M Consultoria 19 3232 8886 --- Esta mensagem foi verificada pelo e-mail seguro Maxiweb. McAfee VirusScan / Vacina v4374 atualizada em 07/07/2004 powered by wstation (www.wstation.com.br)
problems compiling amanda 2.4.4p3 or p2 on AIX 5.2...
x-tad-biggerHello everyone. Is there anyone who can help me with this little problem I am having during compilation? I have the latest amanda source, 2.4.4p3 and trying to compile it on an AIX 5.2 system. I run into this same error with the 2.4.4p2 source as well... so what is it that I need to tweak or add?? ./configure --without-server --with-user=amanda --with-group=disk --prefix=/usr/local/amanda messages to note: --PASTED-->> configure: WARNING: *** Neither shmget() nor mmap() found! configure: WARNING: *** This system will not support the Amanda server. --END PASTE-->> * should not be a problem seeing that I only want to make this AIX box an amanda client. now, when running make, it craps out at the very start with this: --PASTED-->> Making all in config /home/amnguyen/amanda-2.4.4p3/config make[1]: Entering directory `/home/amnguyen/amanda-2.4.4p3/config' make all-am make[2]: Entering directory `/home/amnguyen/amanda-2.4.4p3/config' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/amnguyen/amanda-2.4.4p3/config' make[1]: Leaving directory `/home/amnguyen/amanda-2.4.4p3/config' Making all in common-src /home/amnguyen/amanda-2.4.4p3/common-src make[1]: Entering directory `/home/amnguyen/amanda-2.4.4p3/common-src' if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -q32 -D_LARGE_FILES -qlonglong -q32 -D_LARGE_FILES -qlonglong -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c -o alloc.lo alloc.c; \ then mv -f .deps/alloc.Tpo .deps/alloc.Plo; else rm -f .deps/alloc.Tpo; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -q32 -D_LARGE_FILES -qlonglong -q32 -D_LARGE_FILES -qlonglong -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c alloc.c -DPIC gcc: unrecognized option `-q32' gcc: unrecognized option `-qlonglong' gcc: unrecognized option `-q32' gcc: unrecognized option `-qlonglong' In file included from alloc.c:33: amanda.h:793: error: conflicting types for `bind' /usr/include/sys/socket.h:433: error: previous declaration of `bind' amanda.h:809: error: conflicting types for `connect' /usr/include/sys/socket.h:434: error: previous declaration of `connect' amanda.h:873: error: conflicting types for `gethostname' /usr/include/unistd.h:817: error: previous declaration of `gethostname' amanda.h:892: error: conflicting types for `getsockopt' /usr/include/sys/socket.h:435: error: previous declaration of `getsockopt' amanda.h:898: error: conflicting types for `gettimeofday' /usr/include/sys/time.h:158: error: previous declaration of `gettimeofday' amanda.h:944: error: conflicting types for `memmove' /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/include/string.h:118: error: previous declaration of `memmove' amanda.h:1020: error: conflicting types for `sendto' /usr/include/sys/socket.h:439: error: previous declaration of `sendto' amanda.h:1056: error: conflicting types for `setpgrp' /usr/include/unistd.h:825: error: previous declaration of `setpgrp' amanda.h:1061: error: conflicting types for `setsockopt' /usr/include/sys/socket.h:440: error: previous declaration of `setsockopt' In file included from alloc.c:33: amanda.h:1123: error: conflicting types for `strncasecmp' /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/include/string.h:238: error: previous declaration of `strncasecmp' make[1]: *** [alloc.lo] Error 1 make[1]: Leaving directory `/home/amnguyen/amanda-2.4.4p3/common-src' make: *** [all-recursive] Error 1 --END PASTE-->> I'm using GNU tar, sed, bison, m4, texinfo... GCC 3.3.3 (the binaries compiled with AIX 5.1, but I don't believe that to be a problem since I get the same error message compiling amanda on AIX 4.3 with a different version of gcc) Feedback and answers much appreciated! Thank you in advance, Anthony Nguyen wannabe AIX administrator/x-tad-bigger
Compiling Amanda on Suse Ent Server 8
Title: Compiling Amanda on Suse Ent Server 8 Hi all, Anyone got a good guide for compiling amanda on suse or similar, other than the INSTALL guide? Cheers, Gavin.
Re: amdump/amrecover problem
Hi, I'm sure the tape was loaded because I checked it by running amtape and the files are restored when I comment out the tapedev 0. Please have a look at the amidxtaped* file attached. It seems that parameter for the tape device argv [7]=0 is not what amrecover wants. Thank you very much, Co Quoting Eric Schnoebelen [EMAIL PROTECTED]: [EMAIL PROTECTED] writes: - I've got the following error when I run amrecover: - - - - amrecover add dumpdates - Added /etc/dumpdates - amrecover extract - - Extracting files using tape drive 0 on host typha.nmsu.edu. - The following tapes are needed: Biology-1 - - Restoring files into directory /home/cngo - Continue [?/Y/n]? y - - Extracting files using tape drive 0 on host typha.nmsu.edu. - Load tape Biology-1 now - Continue [?/Y/n/s/t]? y - EOF, check amidxtaped.timestamp.debug file on typha.nmsu.edu. - amrecover: short block 0 bytes - UNKNOWN file - amrecover: Can't read file header - extract_list - child returned non-zero status: 1 - Continue [?/Y/n/r]? y - amrecover - What are the contents of amidxtaped.timestamp.debug? That'd probably be most enlightening. As a guess, I'd say that the tape `Biology-1' wasn't loaded when amidxtaped went to try and read from it. Did you see (hear?) the robot load the tape at the after you answered yes, and before the above error message occurred. - That error disappears if I comment out the 'tapedev 0 'in my amanda.conf - file The error disappears, but are you able to restore the file? -- Eric Schnoebelen [EMAIL PROTECTED] http://www.cirr.com If bankers can count, how come they have eight windows and only four tellers? amidxtaped: debug 1 pid 3582 ruid euid : start at Thu Jul 8 08:13:53 2004 amidxtaped: version 2.4.4p2 amidxtaped: time 0.190: SECURITY USER root amidxtaped: time 0.190: bsd security: remote host typha.nmsu.edu user root local user backup amidxtaped: time 0.190: amandahosts security check passed amidxtaped: time 0.190: CONFIG=backup amidxtaped: time 0.190: LABEL=Biology-1 amidxtaped: time 0.190: FSF=1 amidxtaped: time 0.190: HEADER amidxtaped: time 0.190: DEVICE=0 amidxtaped: time 0.190: HOST=^typha$ amidxtaped: time 0.190: DISK=^sd0a$ amidxtaped: time 0.190: DATESTAMP=20040707 amidxtaped: time 0.191: END amidxtaped: time 0.192: amrestore_nargs=0 amidxtaped: time 0.192: Ready to execv amrestore with: path = /usr/pkg/sbin/amrestore argv[0] = amrestore argv[1] = -p argv[2] = -h argv[3] = -l argv[4] = Biology-1 argv[5] = -f argv[6] = 1 argv[7] = 0 argv[8] = ^typha$ argv[9] = ^sd0a$ argv[10] = 20040707 amrestore: could not stat 0: No such file or directory amidxtaped: time 0.195: amrestore terminated normally with status: 2 amidxtaped: could not stat 0: No such file or directory amidxtaped: time 0.195: could not stat 0: No such file or directory amidxtaped: time 0.195: pid 3582 finish time Thu Jul 8 08:13:53 2004
recommend a cheap jukebox?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Can anyone recommend a cheap jukebox - or are they all in the thousands-of-dollars range? I currently use DDS4 tapes. Max. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFA7fpr4frZ3W7OHZMRAgIlAJwOw9uBOcT+gqfzXFN4LCtx2kdW6gCfQVhg YH7cRd0YeN0tjH4SXdtJg4Y= =6qaA -END PGP SIGNATURE-