Power

 View Only
  • 1.  QShell tar command error: 001-2343 Header field for archive format ustar is too small...

    Posted Wed December 07, 2022 11:44 AM
    Edited by Larry Rippe Wed December 07, 2022 01:39 PM
    Attempting to generate a simple archive file and receiving an error message.
    Command:    tar -cvf /ldrtest/test5.tar /ldrtest/b.txt
    Error Message:  001-2343 Header field for archive format ustar is too small for storing information for file /ldrtest/b.txt.
    I get the same message with the pax command.
    The jar command works but my client wants a .tar file.

    ------------------------------
    Larry Rippe
    ------------------------------


  • 2.  RE: QShell tar command error: 001-2343 Header field for archive format ustar is too small...

    Posted Fri December 09, 2022 10:29 AM
    Larry what is your main objective what are you trying to do  and what version of AIX. do you plan to move this file to another server?

    ------------------------------
    minesh patel
    ------------------------------



  • 3.  RE: QShell tar command error: 001-2343 Header field for archive format ustar is too small...

    Posted Fri December 09, 2022 10:49 AM

    Ultimately, I have a client that is requesting that several .csv files be archived and compressed into a tar.gz file and sent to them.
    I do not know what version of AIX that they use.  

    For the time being, I was just testing with a small .txt to see if I could get the tar command to work in the QShell environment.



    ------------------------------
    Larry Rippe
    ------------------------------



  • 4.  RE: QShell tar command error: 001-2343 Header field for archive format ustar is too small...

    Posted Fri December 09, 2022 10:32 AM
    does b.txt file has any data or empty file.

    ------------------------------
    minesh patel
    ------------------------------



  • 5.  RE: QShell tar command error: 001-2343 Header field for archive format ustar is too small...

    Posted Fri December 09, 2022 10:53 AM
    Yes, the b.txt contains several random alpha characters.
    Note...I was able to get the jar command to work with the same test files and generate a .zip but the client is preferring a .tar.gz

    ------------------------------
    Larry Rippe
    ------------------------------



  • 6.  RE: QShell tar command error: 001-2343 Header field for archive format ustar is too small...

    Posted Fri December 09, 2022 10:59 AM


    ------------------------------
    Larry Rippe
    ------------------------------