October 27, 2020

Out Here In The Fields

…of musings and ramblings

tar: 0511-194 Reached end-of-file before expected

1 min read

You will see the error message above if you’re trying to create a tar file with very large size. This is caused by limitation set up on AIX to prevent user to create large files. To set no size limitation on creating files, edit the /etc/security/limits, go to the “default” section, and change “fsize” value to “-1”. Here is how mine lookslike :

default:
        fsize = -1
        core = 2097151
        cpu = -1
        data = 262144
        rss = 65536
        stack = 65536
        nofiles = 2000

Save, and try to start the tar process again.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright © All rights reserved. | Newsphere by AF themes.