tar failure

Flynn, Neill Neill.Flynn at itg.com
Thu Apr 5 09:00:34 UTC 2007


Hi Bill,


In your script you call the tar command as follows:

	tar -czv --ignore-failed-read --totals mysql >$db_bkup_file
2>>$logfile CODE=$?

Maybe you should specify the absolute path to tar, that way you can be
sure which version of tar is being used.

Neill 

-----Original Message-----
From: redhat-sysadmin-list-bounces at redhat.com
[mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Richard
Riley
Sent: 05 April 2007 04:41
To: bill at magicdigits.com; redhat-sysadmin-list at redhat.com
Subject: RE: tar failure

OK. I have finally found an error message I understand, but still don't
understand why or how to fix.

When I ran the tar command manually (as root) insuring an output file
size larger than 2GB, I actually got an error message of "File size
limit exceeded".
My confusion is when I run "ulimit -a" it shows file size "unlimited".
When I run this command on the NFS server I am writing the file to it
also shows "unlimited".  I checked the ulimit.conf file in /etc/security
and it also shows file size is set to "unlimited".  What is more
confusing is this had been working fine for multiple weeks creating a
file over 4.5GB in size.
The only thing that has caused any changes on either machine is running
"up2date -u", but I did not notice anything that I thought could relate
to a file size restriction.
Also, I still have another machine writing files to the NFS server of
over 7.5GB.
Again, DB machine with problem - RHEL 4 - kernel 2.6.9 release 34.0.1
	 NFS machine - RHEL 4 - kernel 2.6.9 release 42.0.8
	Other DB machine - RHEL 4 - kernel 2.6.9 release 34.0.2

Richard

------------------------------------------------------------------------
----
Any chance your output file is hitting 2Gb or some other magical file
size?
Bill Watson
bill at magicdigits.com

-----Original Message-----
From: redhat-sysadmin-list-bounces at redhat.com
[mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Ryan
Simpkins
Sent: Wednesday, April 04, 2007 9:57 PM
To: redhat-sysadmin-list at redhat.com
Subject: Re: tar failure

On Wed, April 4, 2007 16:40, Richard Riley wrote:
> I have a nightly backup process that uses tar writing the output to a 
> file on an NFS mount.  It had been working fine for weeks and suddenly

> on Tuesday started failing with error code of 141.  Anyone know where
I
> can find out what the error code means.  I have tried a google search 
> and looking at tar source code, both to no avail.

SIGPIPE	13	Write on a pipe with no reader, Broken pipe (POSIX)

-Ryan

--
redhat-sysadmin-list mailing list
redhat-sysadmin-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list


--
redhat-sysadmin-list mailing list
redhat-sysadmin-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
This message is for the named person's use only. This communication is for
informational purposes only and has been obtained from sources believed to
be reliable, but it is not necessarily complete and its accuracy cannot be
guaranteed. It is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation of any
transaction. Moreover, this material should not be construed to contain any
recommendation regarding, or opinion concerning, any security. It may
contain confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient.  Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity.

Securities products and services provided to Canadian investors are offered
by ITG Canada Corp. (member CIPF and IDA), an affiliate of Investment
Technology Group, Inc.

ITG Inc. and/or its affiliates reserves the right to monitor and archive
all electronic communications through its network.

ITG Inc. Member NASD, SIPC
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-




More information about the redhat-sysadmin-list mailing list