Re: dumpcycle / runspercycle / tapecycle best practices?

2004-11-04 Thread Christoph Scheeder
Hi, as i'm using chg-scsi with some changers under linux let's check a few things : 1.) remove all comments from chg-scsi.conf, sometimes i had problems with chg-scsi which went away after removing them all. 2.) set lastslot to 4 or your cleaningtape will be loaded in every search cycle

Amanda's dumper going amok

2004-11-04 Thread Flynn
Hello Everyone. I have a problem with my Amanda setup. Amdump sometimes goes crazy apparently eating up all the machine resources and I can't get any access to anything when this happens, because I think it's lost managing memory swap pages or something. I think the responsible is one of the

Re: DLT1 Tape drive performance...

2004-11-04 Thread Paul Bijnens
Dan Brown wrote: During a backup, or a flush, the tape drive writes data for 4 seconds, then rewinds for 1 second, then writes for 4 seconds, then rewinds for 1 second, etc. This seems like a good way to wear out a drive. That's usually a symptom of a too fast tapedrive connected to a too slow

Re: Problems backup up hde5 (/)

2004-11-04 Thread Paul Bijnens
James Marcinek wrote: OK I got you. Could I still add options, enclosing them with them within the '{}' fields (eg exlcude /var/holding ) servername /var root-tar { exclude /var/holding } Note that the braces syntax REQUIRES that a line break must follow the left curly bracket (from the amanda

Re: Amanda's dumper going amok

2004-11-04 Thread Paul Bijnens
Flynn wrote: Amdump sometimes goes crazy apparently eating up all the machine resources and I can't get any access to anything when this happens, because I think it's lost managing memory swap pages or something. I think the responsible is one of the dumper process (I caught it and killed it once

Re: Chg-disk question

2004-11-04 Thread Stefan G. Weichinger
Hi, Gene, on Donnerstag, 04. November 2004 at 01:33 you wrote to amanda-users: You mean the append meta-data-scripts? Haven't found the time yet to improve them, sorry. Another curious cat, maybe ... GH Hmm, I pretty sure it was you as I haven't sent them out exactly GH willy-nilly. And I

Re: parse of reply message failed

2004-11-04 Thread Paul Bijnens
[EMAIL PROTECTED] wrote: On further inspection, it's a kernel problem - bad UDP checksums. I'll go bug them now. :) To avoid falling in the same trap, what kernel version was that? -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven,

Re: parse of reply message failed

2004-11-04 Thread foo
On Thu, Nov 04, 2004 at 09:48:23AM +0100, Paul Bijnens wrote: [EMAIL PROTECTED] wrote: On further inspection, it's a kernel problem - bad UDP checksums. I'll go bug them now. :) To avoid falling in the same trap, what kernel version was that? 2.6.9. I have a dozen other machines

Amanda server on MacOSX

2004-11-04 Thread David James Houghton
Hello Has anybody had experience of setting up Amanda on MacOS 10.3 server ? regards -- Dave Houghton [EMAIL PROTECTED] System Manager Faculty of HumanitiesWork Tel. No. 0116 207 8260 Clephan Building, Room 0.07a De Montfort University

Re: parse of reply message failed

2004-11-04 Thread Gene Heskett
On Thursday 04 November 2004 04:11, [EMAIL PROTECTED] wrote: On Thu, Nov 04, 2004 at 09:48:23AM +0100, Paul Bijnens wrote: [EMAIL PROTECTED] wrote: On further inspection, it's a kernel problem - bad UDP checksums. I'll go bug them now. :) To avoid falling in the same trap, what kernel

RE: Question about backing up (multiple tapes per session on one device)

2004-11-04 Thread Gavin Henry
Hi, Call amcheck with -m to mail the outputs from the checks. man amcheck -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of James Marcinek Sent: 04 November 2004 00:19 To: [EMAIL PROTECTED] Subject: Question about backing up (multiple tapes per session on

Re: dumpcycle / runspercycle / tapecycle best practices?

2004-11-04 Thread Erik Anderson
On Thu, 04 Nov 2004 09:23:10 +0100, Christoph Scheeder [EMAIL PROTECTED] wrote: Hi, as i'm using chg-scsi with some changers under linux let's check a few things : 1.) remove all comments from chg-scsi.conf, sometimes i had problems with chg-scsi which went away after removing them all.

Re: dumpcycle / runspercycle / tapecycle best practices?

2004-11-04 Thread Matt Hyclak
On Thu, Nov 04, 2004 at 08:31:31AM -0600, Erik Anderson enlightened us: On Thu, 04 Nov 2004 09:23:10 +0100, Christoph Scheeder [EMAIL PROTECTED] wrote: Hi, as i'm using chg-scsi with some changers under linux let's check a few things : 1.) remove all comments from chg-scsi.conf,

Re: Question about backing up (multiple tapes per session on one device)

2004-11-04 Thread James Marcinek
Do you have a changer? If so, Amanda will automatically load the next tape when needed (once you've configured it properly, of course). If not, you can use chg-manual (a 'virtual' tape changer where you are the changer and manually swap out tapes as needed). I believe if you have enough

debugging chg-scsi

2004-11-04 Thread Erik Anderson
Hello all - is there a way to get more information out of chg-scsi? I'm trying to debug a wierd issue: [EMAIL PROTECTED] LPD $ amcheck LPD Amanda Tape Server Host Check - Holding disk /dumps/amanda: 36514756 KB disk space available, that's plenty amcheck-server: could

Re: debugging chg-scsi

2004-11-04 Thread Stephen Carville
On Thursday November 04 2004 8:55 am, Erik Anderson wrote: Hello all - is there a way to get more information out of chg-scsi? I'm trying to debug a wierd issue: Good luck. I tried to get chg-scsi and chg-zg-mtx to works with a Spectra 2000 Treefrog and finally gave up. I ended up writing my

Re: debugging chg-scsi

2004-11-04 Thread Erik Anderson
On Thu, 4 Nov 2004 09:44:38 -0800, Stephen Carville [EMAIL PROTECTED] wrote: Good luck. I tried to get chg-scsi and chg-zg-mtx to works with a Spectra 2000 Treefrog and finally gave up. I ended up writing my own changer control program. That's encouraging. ;-(

Re: debugging chg-scsi

2004-11-04 Thread Jon LaBadie
On Thu, Nov 04, 2004 at 10:55:48AM -0600, Erik Anderson wrote: Hello all - is there a way to get more information out of chg-scsi? I'm trying to debug a wierd issue: [EMAIL PROTECTED] LPD $ amcheck LPD Have you tried reading the debugfiles of amcheck and maybe (I've not used it) of

Re: debugging chg-scsi

2004-11-04 Thread Jon LaBadie
On Thu, Nov 04, 2004 at 11:52:16AM -0600, Erik Anderson wrote: On Thu, 4 Nov 2004 09:44:38 -0800, Stephen Carville [EMAIL PROTECTED] wrote: Good luck. I tried to get chg-scsi and chg-zg-mtx to works with a Spectra 2000 Treefrog and finally gave up. I ended up writing my own changer control

Re: debugging chg-scsi

2004-11-04 Thread Gene Heskett
On Thursday 04 November 2004 12:52, Erik Anderson wrote: On Thu, 4 Nov 2004 09:44:38 -0800, Stephen Carville [EMAIL PROTECTED] wrote: Good luck. I tried to get chg-scsi and chg-zg-mtx to works with a Spectra 2000 Treefrog and finally gave up. I ended up writing my own changer control

Re: debugging chg-scsi

2004-11-04 Thread Eric Schnoebelen
Gene Heskett writes: - On Thursday 04 November 2004 12:52, Erik Anderson wrote: - On Thu, 4 Nov 2004 09:44:38 -0800, Stephen Carville - [EMAIL PROTECTED] wrote: - Good luck. I tried to get chg-scsi and chg-zg-mtx to works with a - Spectra 2000 Treefrog and finally gave up. I ended up writing

Re: debugging chg-scsi

2004-11-04 Thread Stephen Carville
On Thursday November 04 2004 9:52 am, Erik Anderson wrote: On Thu, 4 Nov 2004 09:44:38 -0800, Stephen Carville [EMAIL PROTECTED] wrote: Good luck. I tried to get chg-scsi and chg-zg-mtx to works with a Spectra 2000 Treefrog and finally gave up. I ended up writing my own changer control

Re: debugging chg-scsi

2004-11-04 Thread Erik Anderson
On Thu, 4 Nov 2004 12:52:57 -0500, Jon LaBadie [EMAIL PROTECTED] wrote: Have you tried reading the debugfiles of amcheck and maybe (I've not used it) of chg-scsi? They are probably in the /tmp/amanda directory. No I haven't tried that. They're not in /tmp/amanda. Is that path set at

Re: debugging chg-scsi

2004-11-04 Thread Erik Anderson
On Thu, 04 Nov 2004 12:28:11 -0600, Eric Schnoebelen [EMAIL PROTECTED] wrote: One thing that chg-scsi seems to need, and I didn't see in the configuration file, is a non-blocking control device for the tape drive, in addition to the blocking device node used for writes.. On linux, the

Re: debugging chg-scsi

2004-11-04 Thread Erik Anderson
On Thu, 4 Nov 2004 12:54:12 -0600, Erik Anderson [EMAIL PROTECTED] wrote: However, I just tried putting /dev/sg2 into my chg-scsi.conf. I re-ran amcheck, and not it appears that it's actually doing something. We'll see how this turns out after it finishes. Okay - we're getting closer here.

Re: debugging chg-scsi

2004-11-04 Thread Jon LaBadie
On Thu, Nov 04, 2004 at 12:02:23PM -0600, Erik Anderson wrote: On Thu, 4 Nov 2004 12:52:57 -0500, Jon LaBadie [EMAIL PROTECTED] wrote: Have you tried reading the debugfiles of amcheck and maybe (I've not used it) of chg-scsi? They are probably in the /tmp/amanda directory. No I

Re: debugging chg-scsi

2004-11-04 Thread Erik Anderson
On Thu, 4 Nov 2004 14:05:05 -0500, Jon LaBadie [EMAIL PROTECTED] wrote: Tough to remember all details of a multi-post thread. No problem.

Re: dumpcycle / runspercycle / tapecycle best practices?

2004-11-04 Thread Eric Siegerman
On Wed, Nov 03, 2004 at 10:53:59PM +0100, Jukka Salmi wrote: Hmm, when setting dumpcycle to zero, to what value should runspercycle be set if amdump runs once a day? Zero (same as dumpcycle) or one? Both settings are equivalent. From planner.c: if (runs_per_cycle = 0) {

Re: debugging chg-scsi

2004-11-04 Thread Christoph Scheeder
Hi again, you need WRITE-permisions on the sg-device-nodes to issue commands to the devices, but your listing only shows read and execute permisions. mine look like crw-rw 1 root backup 21, 0 Aug 28 2000 /dev/sg0 crw-rw 1 root backup 21, 1 Aug 28 2000 /dev/sg1 crw-rw 1 root backup

Re: dumpcycle / runspercycle / tapecycle best practices?

2004-11-04 Thread Jukka Salmi
Eric Siegerman -- amanda-users (2004-11-04 14:02:13 -0500): On Wed, Nov 03, 2004 at 10:53:59PM +0100, Jukka Salmi wrote: Hmm, when setting dumpcycle to zero, to what value should runspercycle be set if amdump runs once a day? Zero (same as dumpcycle) or one? Both settings are equivalent.

Re: parse of reply message failed

2004-11-04 Thread foo
On Thu, Nov 04, 2004 at 04:11:18AM -0500, foo wrote: On Thu, Nov 04, 2004 at 09:48:23AM +0100, Paul Bijnens wrote: To avoid falling in the same trap, what kernel version was that? 2.6.9. I have a dozen other machines running 2.6.9 without this problem, though. I'm not 100% sure, but it

Re: debugging chg-scsi

2004-11-04 Thread Erik Anderson
On Thu, 4 Nov 2004 14:51:54 -0600, Erik Anderson [EMAIL PROTECTED] wrote: Okay - here's the deal. My /dev/sg* entries are symlins. They're pointing as follows: /dev/sg0 - scsi/host0/bus0/target0/lun0/generic /dev/sg1 - scsi/host1/bus0/target1/lun0/generic /dev/sg2 -

Re: debugging chg-scsi

2004-11-04 Thread Frank Smith
--On Thursday, November 04, 2004 13:03:43 -0600 Erik Anderson [EMAIL PROTECTED] wrote: On Thu, 4 Nov 2004 12:54:12 -0600, Erik Anderson [EMAIL PROTECTED] wrote: However, I just tried putting /dev/sg2 into my chg-scsi.conf. I re-ran amcheck, and not it appears that it's actually doing

Re: debugging chg-scsi

2004-11-04 Thread Erik Anderson
On Thu, 04 Nov 2004 20:37:13 +0100, Christoph Scheeder [EMAIL PROTECTED] wrote: Hi again, you need WRITE-permisions on the sg-device-nodes to issue commands to the devices, but your listing only shows read and execute permisions. mine look like Okay - here's the deal. My /dev/sg* entries are

Re: debugging chg-scsi

2004-11-04 Thread Erik Anderson
On Thu, 04 Nov 2004 14:56:55 -0600, Frank Smith [EMAIL PROTECTED] wrote: 'operation not permitted' could be either using the wrong device, such as trying to rewind the changer device instead of the tape device, or the permissions on the devices don't allow access to your backup user. Do you

Re: debugging chg-scsi

2004-11-04 Thread Frank Smith
--On Thursday, November 04, 2004 14:51:54 -0600 Erik Anderson [EMAIL PROTECTED] wrote: On Thu, 04 Nov 2004 20:37:13 +0100, Christoph Scheeder [EMAIL PROTECTED] wrote: Hi again, you need WRITE-permisions on the sg-device-nodes to issue commands to the devices, but your listing only shows

Re: debugging chg-scsi

2004-11-04 Thread Erik Anderson
On Thu, 04 Nov 2004 15:36:05 -0600, Frank Smith [EMAIL PROTECTED] wrote: Maybe, mabe not. Depends on the user/group of the devices and the user/group Amanda runs as. Also, while sg is the proper device to use to control the changer, it doesn't understand tape commands like rewind, so make

Re: debugging chg-scsi

2004-11-04 Thread Gene Heskett
On Thursday 04 November 2004 14:37, Christoph Scheeder wrote: Hi again, you need WRITE-permisions on the sg-device-nodes to issue commands to the devices, but your listing only shows read and execute permisions. mine look like crw-rw 1 root backup 21, 0 Aug 28 2000 /dev/sg0 crw-rw 1

Re: debugging chg-scsi

2004-11-04 Thread Erik Anderson
On Thu, 4 Nov 2004 17:12:59 -0500, Gene Heskett [EMAIL PROTECTED] wrote: I probably shouldn't jump in here, but are you aware that some changers actually have the changer robot at the same scsi address, but at the next higher LUN? I ask, because the default kernels shipped with redhat, do not

Re: debugging chg-scsi

2004-11-04 Thread Gene Heskett
On Thursday 04 November 2004 16:40, Erik Anderson wrote: On Thu, 04 Nov 2004 15:36:05 -0600, Frank Smith [EMAIL PROTECTED] wrote: Maybe, mabe not. Depends on the user/group of the devices and the user/group Amanda runs as. Also, while sg is the proper device to use to control the changer, it

Re: DLT1 Tape drive performance...

2004-11-04 Thread Dan Brown
Paul Bijnens wrote: Dan Brown wrote: During a backup, or a flush, the tape drive writes data for 4 seconds, then rewinds for 1 second, then writes for 4 seconds, then rewinds for 1 second, etc. This seems like a good way to wear out a drive. That's usually a symptom of a too fast tapedrive

Re: debugging chg-scsi

2004-11-04 Thread Gene Heskett
On Thursday 04 November 2004 17:17, Erik Anderson wrote: On Thu, 4 Nov 2004 17:12:59 -0500, Gene Heskett [EMAIL PROTECTED] wrote: I probably shouldn't jump in here, but are you aware that some changers actually have the changer robot at the same scsi address, but at the next higher LUN? I

digest?

2004-11-04 Thread Mathias Koerber
I believe I have asked this question before but have not had a solution. There is a digest version for this list. It's available through yahoo-groups. However, to be able to post to the list, one needs to be subscribed to the original list, which means I get the full list plus the digest. I

Re: DLT1 Tape drive performance...

2004-11-04 Thread Jon LaBadie
On Thu, Nov 04, 2004 at 05:38:13PM -0600, Dan Brown wrote: This may be a problem then as the IDE holding disk is NFS mounted from a third machine. The server with the backup is a SCSI only system and doesn't support IDE. It was worth neither the cost of an expensive SCSI drive