Problem: While archiving a directory structure, the gtar program would
give an error message that amounted to it telling me I had passed an
invalid argument. However, this would be after it had successfully
tarred up files for over an hour.
It was also apparent that the directory tree was huge with a total size
in excess of 2 Gigs.
Solution: It was found that some of the files were static links to a
different location in the tree. While copying the tree at some point in
the past, the links were not duplicated correctly, and instead the files
they were pointing to were copied multiple times when in fact only the
links should have been copied. This inflated the size of the tree
This also resulted in the realisation that the gtar program had not been
compiled with the options to support over 2 Gigs of data. Thus the tar
program worked until it hit the 2 Gig limit and then gave the default
error message of invalid argument error.
However, this error message lead the engineering team to investigate the
tree and discover the redundancies in the links and copies etc., and
upon correction, the total size was under the 2 Gig limit, and so the
gtar program could be used without a recompile.
However, in the future, it would have to be recompiled to allow over 2
Gigs worth of data in one archive.
Thanks a lot for the help.
-- ------------------------------ Santosh Krishnan
email@example.com (469) 693-7666 - Voice firstname.lastname@example.org - Pager
S U BEFORE POSTING please READ the FAQ located at N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq . and the list POLICY statement located at M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy A To submit questions/summaries to this list send your email message to: N email@example.com A To unsubscribe from this list please send an email message to: G firstname.lastname@example.org E and in the BODY type: R unsubscribe sun-managers S Or . unsubscribe sun-managers email@example.com L To view an archive of this list please visit: I http://www.latech.edu/sunman.html S T
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:21 CDT