On Fri, Feb 16, 2007 at 11:27:12AM -0500, Mark Hennessy wrote: > I'm actually running AMANDA 2.51p3 now, sorry about the confusion caused by > my mistake in the subject. > > How would I set this gtar setting with AMANDA? Would it be in the source for > sendbackup-gnutar? > > Does anyone know what the proper parameter would be? Tar has to archive a > tree containing 130GB of data and there are 3GB of RAM on the machine > performing the backups. > > -- > Mark Hennessy > > > -----Original Message----- > > From: David W. Schuler > > Sent: Friday, February 16, 2007 11:14 AM > > To: Mark Hennessy > > Subject: Re: AMANDA 2.51p2 and gtar 1.16.1 and error 2 > > > > Hi Mark: > > > > I'm not an Amanda user... but just keep tabs on Amanda to remain aware > > of what is happening in this space. I do, however, use GNU tar with > > various tape drives and layouts... and that's why I'm > > painfully familiar > > with this error. > > > > For the tar command, it's the "-b" flag that controls the blocksize. > > > > Unfortunately, I can't relate this to where it is stored in > > Amanda, nor > > in what blocksizes Amanda might use. > > > > Sorry... > > --------------------------------------------------------------------- > > David W. Schuler > > > > On Fri, 16 Feb 2007 11:05:27 EST "Mark Hennessy" wrote: > > >Where is that setting kept? > > > > > >-- > > > Mark Hennessy > > > > > > > > >> -----Original Message----- > > >> From: David W. Schuler > > >> Sent: Friday, February 16, 2007 11:05 AM > > >> To: Mark Hennessy > > >> Subject: Re: AMANDA 2.51p2 and gtar 1.16.1 and error 2 > > >> > > >> I have seen this error when the tape blocksize is not > > >> specified correctly > > >> to GNU tar. It has nothing to do with memory. > > >> > > >> > > --------------------------------------------------------------------- > > >> David W. Schuler > > >> > > >> On Fri, 16 Feb 2007 10:26:47 EST "Mark Hennessy" wrote: > > >> >What could be causing this error? > > >> > > > >> >sendbackup: info BACKUP=/usr/local/bin/gtar > > >> >sendbackup: info RECOVER_CMD=/usr/local/bin/gtar -f - ... > > >> >sendbackup: info end > > >> >? gtar: memory exhausted > > >> >? gtar: Error is not recoverable: exiting now > > >> >sendbackup: error [dump (9459) /usr/local/bin/gtar returned 2] > > >> > > > >> >The path being backed up contains about 125GB of data. L0's > > >> work fine, but > > >> >L1's always die with that error above. > > >> > > > >> >I'm using FreeBSD 6.2 and AMANDA and gtar compiled from source. > > >> > > > >> >-- > > >> > Mark Hennessy >
If David is reading, did you have your bad experiences while using gnutar to feed a tape drive directly? I ask as amanda does not direct tar's output to the drive, but into a pipe, then to a socket. I doubt blocksize would be a factor in that scenario. I didn't check to confirm this, but I don't think that amanda specifies a blocksize to tar, allowing the default to be used. Mark, looking at the gnutar code shows the message "memory exhausted" in about 3 locations. One that I noted was the pattern matching compiler (regcomp). Do you use a lot of include/exclude patterns on this DLE? -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road (609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)