RE: Need A sample Tapelist file
-Original Message- From: Gene Heskett [mailto:[EMAIL PROTECTED] On Tuesday 24 June 2003 17:27, Harry Mbang wrote: Hi, I am still trying to get my first successful Amanda backup. Now when I run amcheck, I get an error cannot read/write /usr/local/var/Amanda/gnutar-lists: No such file or directory Indeed there is no such file or directory. My gnutar-lists is located in /var/lib/Amanda. What shall I do? I am also guessing that Amanda is going to want read/write other files and folders in the non-extisting directory. Should I recompile Amanda with some option specifying the default directory for that type files and folders? Thanks in advance for any advice. Harry. It sounds as if you have a mix-n-match install there. If an rpm, it could be /var/lib/amanda. But the default for building a tarball is /usr/local/whatever. Move your tapelists and the rest of your config stuff to /usr/local/etc/amanda and see if that fixes things by running amcheck (as the user who normally runs amanda, it won't run as root), and fixing any other errors (warnings can be ignored) that pop up. Also do an 'rpm -e amanda*' to get rid of the rpms , they have no business surviving on the system if you have built amanda from a tarball. Or you could do what I did and add the config parameter into your amanda.conf file. tapelist /var/amanda/CONFIG-NAME/tapelist # list of used tapes
RE: Need A sample Tapelist file
Hi, thanks all for the responses. I went followed your advice of reinstalling Amanda. Now I have the config folder in /usr/local/etc/Amanda. I am now at the point where when I do amcheck, I get three errors: 1)Can not open exclude file /usr/local/lib/Amanda/exclude/gtar ... 2)Can not read/write /etc/amandates ... 3) Cannot read/write /usr/local/var/Amanda/gnutar-lists/ ... I am at a loss because unlike before I cannot find these files anywhere. Any ideas? I cannot find reference to a similar problem in the archives (scanning the titles). Thanks in advance. -Original Message- From: Gene Heskett [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 11:15 PM To: Harry Mbang; [EMAIL PROTECTED] Subject: Re: Need A sample Tapelist file On Tuesday 24 June 2003 17:27, Harry Mbang wrote: Hi, I am still trying to get my first successful Amanda backup. Now when I run amcheck, I get an error cannot read/write /usr/local/var/Amanda/gnutar-lists: No such file or directory Indeed there is no such file or directory. My gnutar-lists is located in /var/lib/Amanda. What shall I do? I am also guessing that Amanda is going to want read/write other files and folders in the non-extisting directory. Should I recompile Amanda with some option specifying the default directory for that type files and folders? Thanks in advance for any advice. Harry. It sounds as if you have a mix-n-match install there. If an rpm, it could be /var/lib/amanda. But the default for building a tarball is /usr/local/whatever. Move your tapelists and the rest of your config stuff to /usr/local/etc/amanda and see if that fixes things by running amcheck (as the user who normally runs amanda, it won't run as root), and fixing any other errors (warnings can be ignored) that pop up. Also do an 'rpm -e amanda*' to get rid of the rpms , they have no business surviving on the system if you have built amanda from a tarball. -- Cheers, Gene AMD [EMAIL PROTECTED] 320M [EMAIL PROTECTED] 512M 99.26% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
Re: Need A sample Tapelist file
Harry Mbang wrote: 1)Can not open exclude file /usr/local/lib/Amanda/exclude/gtar ... So you have a dumptype that says there is an exclude file there. Alternative solutions: - remove the directive that you have your exclude file - add the directive optional to the exclude statement so that amanda doesn't complain when the file is not there - create the file (may be zero length, or filled with real exclude patterns) And btw, the file should be on the CLIENT, each client that you backup with that dumptype. 2)Can not read/write /etc/amandates ... as root: touch /etc/amandates; chown amanda /etc/amandates 3) Cannot read/write /usr/local/var/Amanda/gnutar-lists/ ... As amanda (or as root, and chown amanda ... afterwards: mkdir /usr/local/var/Amanda/gnutar-lists
RE: Need A sample Tapelist file
Hey guys, I switched from using a tar based program for dumptype to using nocomp-test. It seemed to work. I am yet to do a restore. It seems like my previous problems are due to the way I have gnutar set up. -Original Message- From: Gene Heskett [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 11:15 PM To: Harry Mbang; [EMAIL PROTECTED] Subject: Re: Need A sample Tapelist file On Tuesday 24 June 2003 17:27, Harry Mbang wrote: Hi, I am still trying to get my first successful Amanda backup. Now when I run amcheck, I get an error cannot read/write /usr/local/var/Amanda/gnutar-lists: No such file or directory Indeed there is no such file or directory. My gnutar-lists is located in /var/lib/Amanda. What shall I do? I am also guessing that Amanda is going to want read/write other files and folders in the non-extisting directory. Should I recompile Amanda with some option specifying the default directory for that type files and folders? Thanks in advance for any advice. Harry. It sounds as if you have a mix-n-match install there. If an rpm, it could be /var/lib/amanda. But the default for building a tarball is /usr/local/whatever. Move your tapelists and the rest of your config stuff to /usr/local/etc/amanda and see if that fixes things by running amcheck (as the user who normally runs amanda, it won't run as root), and fixing any other errors (warnings can be ignored) that pop up. Also do an 'rpm -e amanda*' to get rid of the rpms , they have no business surviving on the system if you have built amanda from a tarball. -- Cheers, Gene AMD [EMAIL PROTECTED] 320M [EMAIL PROTECTED] 512M 99.26% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
RE: Need A sample Tapelist file
Hi, I am still trying to get my first successful Amanda backup. Now when I run amcheck, I get an error cannot read/write /usr/local/var/Amanda/gnutar-lists: No such file or directory Indeed there is no such file or directory. My gnutar-lists is located in /var/lib/Amanda. What shall I do? I am also guessing that Amanda is going to want read/write other files and folders in the non-extisting directory. Should I recompile Amanda with some option specifying the default directory for that type files and folders? Thanks in advance for any advice. Harry.
Re: Need A sample Tapelist file
cannot read/write /usr/local/var/Amanda/gnutar-lists: No such file or directory Indeed there is no such file or directory. My gnutar-lists is located in /var/lib/Amanda. What shall I do? I am also guessing that Amanda is going to want read/write other files and folders in the non-extisting directory. Should I recompile Amanda with some option specifying the default directory for that type files and folders? Thanks in advance for any advice. either create that directory and allow the amanda user read:write on it or symlink from /usr/local/var/Amanda/gnutar-lists to /var/lib/Amanda Tom
Re: Need A sample Tapelist file
On Tue, Jun 24, 2003 at 05:27:45PM -0400, Harry Mbang wrote: Hi, I am still trying to get my first successful Amanda backup. Now when I run amcheck, I get an error cannot read/write /usr/local/var/Amanda/gnutar-lists: No such file or directory Indeed there is no such file or directory. My gnutar-lists is located in /var/lib/Amanda. What shall I do? I am also guessing that Amanda is going to want read/write other files and folders in the non-extisting directory. Should I recompile Amanda with some option specifying the default directory for that type files and folders? Thanks in advance for any advice. First, gnutar-lists has nothing to do with the tapelist file subject. When you ran configure, what did you specify as the prefix? The default is /usr/local/var/amanda I believe. So there is a good chance, as you surmise, that other things will be expected there if you did not set a prefix. Run configure --help to check the actual syntax. Before recompiling, make sure to do a make uninstall and make distclean to get rid of remnants of the old installation and configure data. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: Need A sample Tapelist file
On Tuesday 24 June 2003 17:27, Harry Mbang wrote: Hi, I am still trying to get my first successful Amanda backup. Now when I run amcheck, I get an error cannot read/write /usr/local/var/Amanda/gnutar-lists: No such file or directory Indeed there is no such file or directory. My gnutar-lists is located in /var/lib/Amanda. What shall I do? I am also guessing that Amanda is going to want read/write other files and folders in the non-extisting directory. Should I recompile Amanda with some option specifying the default directory for that type files and folders? Thanks in advance for any advice. Harry. It sounds as if you have a mix-n-match install there. If an rpm, it could be /var/lib/amanda. But the default for building a tarball is /usr/local/whatever. Move your tapelists and the rest of your config stuff to /usr/local/etc/amanda and see if that fixes things by running amcheck (as the user who normally runs amanda, it won't run as root), and fixing any other errors (warnings can be ignored) that pop up. Also do an 'rpm -e amanda*' to get rid of the rpms , they have no business surviving on the system if you have built amanda from a tarball. -- Cheers, Gene AMD [EMAIL PROTECTED] 320M [EMAIL PROTECTED] 512M 99.26% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
Re: Need A sample Tapelist file
On Fri, 13 Jun 2003 at 11:25am, Harry Mbang wrote Could someone please send me an example of a tapelist file or point me to where I can find such. I have installed Amanda several times on a Pentium 4 (HP VL 420) running Suse 8.1 Professional, but each time the tapelist (what I understand to be one of the three main configuration files along with amanda.conf and disklist) is not created. I am using a PowerTape (PT-25) with the following specs: tapelist is created when you run amlabel. What exactly is amlabel complaining about? -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Re: Need A sample Tapelist file
Harry Mbang wrote: Could someone please send me an example of a tapelist file or point me to where I can find such. I have installed Amanda several times on a Pentium 4 (HP VL 420) running Suse 8.1 Professional, but each time the tapelist (what I understand to be one of the three main configuration files along with amanda.conf and disklist) is not created. I am using a There only two main configuration files (those two). For the syntax see man amanda, sectino TAPETYPE. In short: add the directives to amanda.conf: define tapetype PT-25 { length 1206 mbytes filemark0 kbytes speed 179 kps } define tapetype DT-2400 { ... } You could also use the includefile directive of amanda.conf and make a separate tapelist file with the above contents. Then add the line: includefile /the/path/to/your/tapelistfile instead in the amanda.conf file. PowerTape (PT-25) with the following specs: { length 1206 mbytes filemark0 kbytes speed 179 kps } and a DT-2400 Cartridge. -- 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: Need A sample Tapelist file
tapelist starts as an empty file. `touch tapelist` will get you ready for amlabel. -Original Message-From: Harry Mbang [mailto:[EMAIL PROTECTED]Sent: Friday, June 13, 2003 11:25 AMTo: [EMAIL PROTECTED]Subject: Need A sample Tapelist file Hi, Could someone please send me an example of a tapelist file or point me to where I can find such. I have installed Amanda several times on a Pentium 4 (HP VL 420) running Suse 8.1 Professional, but each time the tapelist (what I understand to be one of the three main configuration files along with amanda.conf and disklist) is not created. I am using a PowerTape (PT-25) with the following specs: { length 1206 mbytes filemark 0 kbytes speed 179 kps } and a DT-2400 Cartridge. I believe if I know the format of a tapelist I will be able to proceed with using amlabel which complains of a missing tapelist file, so please give me a sample tapelist file. However, if anyone knows why tapelist is not created please clue me in. Cheers. Harry.
Re: Need A sample Tapelist file
On Fri, Jun 13, 2003 at 11:28:44AM -0400, Bort, Paul wrote: tapelist starts as an empty file. `touch tapelist` will get you ready for amlabel. Minor addendum, Don't even allow blank lines in the file when you create it. I.e., do not create it with an editor. An ls -l should show it as zero bytes long. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
RE: Need A sample Tapelist file
Hi Paul, Do I need to specify the DT-2400 like that, and in addition to the PT-25. I ask because the DT-2400 is a tape cartridge and I thought only the drive's specifications were needed. Do I understand that you do not have a separate tapelist? Thanks for the response. Harry. -Original Message- From: Paul Bijnens [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 11:44 AM To: Harry Mbang Cc: [EMAIL PROTECTED] Subject: Re: Need A sample Tapelist file Harry Mbang wrote: Could someone please send me an example of a tapelist file or point me to where I can find such. I have installed Amanda several times on a Pentium 4 (HP VL 420) running Suse 8.1 Professional, but each time the tapelist (what I understand to be one of the three main configuration files along with amanda.conf and disklist) is not created. I am using a There only two main configuration files (those two). For the syntax see man amanda, sectino TAPETYPE. In short: add the directives to amanda.conf: define tapetype PT-25 { length 1206 mbytes filemark0 kbytes speed 179 kps } define tapetype DT-2400 { ... } You could also use the includefile directive of amanda.conf and make a separate tapelist file with the above contents. Then add the line: includefile /the/path/to/your/tapelistfile instead in the amanda.conf file. PowerTape (PT-25) with the following specs: { length 1206 mbytes filemark0 kbytes speed 179 kps } and a DT-2400 Cartridge. -- 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: Need A sample Tapelist file
Harry Mbang wrote: Do I need to specify the DT-2400 like that, and in addition to the PT-25. I ask because the DT-2400 is a tape cartridge and I thought only the drive's specifications were needed. Do I understand that you do not have a separate tapelist? Thanks for the response. euh no. I had never heard of a PT-25 nor a DT-2400, so I was assuming you had two tape drives. But reading your first mail again, the tapelist is not the same as the tapetype. The tapelist file is where amanda keeps the labels (and use dates) of the tapes you labeled. I vaguely remember there was a little bug in amanda, that if the tapelist file contains an empty line (ls -l shows size 1 instead of 0) then it triggered some error. Make sure the tapelist file is size 0 (or non-existant) when you label your very first tape. And of course the user amanda should be able to write into the file and the directory containing that file (~amanda/TheConfig/tapelist probably). Harry. -Original Message- From: Paul Bijnens [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 11:44 AM To: Harry Mbang Cc: [EMAIL PROTECTED] Subject: Re: Need A sample Tapelist file Harry Mbang wrote: Could someone please send me an example of a tapelist file or point me to where I can find such. I have installed Amanda several times on a Pentium 4 (HP VL 420) running Suse 8.1 Professional, but each time the tapelist (what I understand to be one of the three main configuration files along with amanda.conf and disklist) is not created. I am using a There only two main configuration files (those two). For the syntax see man amanda, sectino TAPETYPE. In short: add the directives to amanda.conf: define tapetype PT-25 { length 1206 mbytes filemark0 kbytes speed 179 kps } define tapetype DT-2400 { ... } You could also use the includefile directive of amanda.conf and make a separate tapelist file with the above contents. Then add the line: includefile /the/path/to/your/tapelistfile instead in the amanda.conf file. PowerTape (PT-25) with the following specs: { length 1206 mbytes filemark0 kbytes speed 179 kps } and a DT-2400 Cartridge. -- 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: Need A sample Tapelist file
comment Root partitions without compression compress none } define dumptype comp-high { global comment very important partitions on fast machines compress client best priority high } define dumptype nocomp-high { comp-high comment very important partitions on slow machines compress none } define dumptype nocomp-test { global comment test dump without compression, no /etc/dumpdates recording compress none record no priority medium } define dumptype comp-test { nocomp-test comment test dump with compression, no /etc/dumpdates recording compress client fast } # network interfaces # # These are referred to by the disklist file. They define the attributes # of the network interface that the remote machine is accessed through. # Notes: - netusage above defines the attributes that are used when the # disklist entry doesn't specify otherwise. #- the values below are only samples. #- specifying an interface does not force the traffic to pass # through that interface. Your OS routing tables do that. This # is just a mechanism to stop Amanda trashing your network. # Attributes are: # use - bandwidth above which amanda won't start # backups using this interface. Note that if # a single backup will take more than that, # amanda won't try to make it run slower! define interface local { comment a local disk use 1000 kbps } define interface eth0 { comment 10 Mbps ethernet use 800 kbps } # You may include other amanda configuration files, so you can share # dumptypes, tapetypes and interface definitions among several # configurations. #includefile /usr/local/amanda.conf.main Disklist: #[I deleted the comments in this email] localhost /root/HelloWorld-Reloaded root-tar log.20030613.0: START planner date 20030613 INFO planner Adding new disk localhost:/root/HelloWorld-Reloaded. START driver date 20030613 START taper datestamp 20030613 label test00 tape 0 FAIL planner localhost /root/HelloWorld-Reloaded 0 [Request to localhost timed out.] FINISH planner date 20030613 WARNING driver WARNING: got empty schedule from planner STATS driver startup time 30.135 INFO taper tape test00 kb 0 fm 0 [OK] FINISH driver date 20030613 time 34.167 -Original Message- From: Paul Bijnens [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 11:44 AM To: Harry Mbang Cc: [EMAIL PROTECTED] Subject: Re: Need A sample Tapelist file Harry Mbang wrote: Could someone please send me an example of a tapelist file or point me to where I can find such. I have installed Amanda several times on a Pentium 4 (HP VL 420) running Suse 8.1 Professional, but each time the tapelist (what I understand to be one of the three main configuration files along with amanda.conf and disklist) is not created. I am using a There only two main configuration files (those two). For the syntax see man amanda, sectino TAPETYPE. In short: add the directives to amanda.conf: define tapetype PT-25 { length 1206 mbytes filemark0 kbytes speed 179 kps } define tapetype DT-2400 { ... } You could also use the includefile directive of amanda.conf and make a separate tapelist file with the above contents. Then add the line: includefile /the/path/to/your/tapelistfile instead in the amanda.conf file. PowerTape (PT-25) with the following specs: { length 1206 mbytes filemark0 kbytes speed 179 kps } and a DT-2400 Cartridge. -- 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: Need A sample Tapelist file
On Fri, 13 Jun 2003 at 1:45pm, Harry Mbang wrote the tapelist. SO I was able to label the tape but I amdump did not work. Please find below the Amanda.conf, disklist and log file. If Start with docs/INSTALL, FAQ-O-Matic (linked to on www.amanda.org), and the list archives. You want to be debugging amcheck first, not amdump. FAIL planner localhost /root/HelloWorld-Reloaded 0 [Request to localhost timed out.] This is a very common problem when getting started. The above resources should do it. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University