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


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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s