- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Size restriction on tar command
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2014 07:50 AM
11-03-2014 07:50 AM
Size restriction on cat comman
I am trying to combine 6 tar files from symantec by using the cat command, but the combined tar file is always messed up, is there a limit on that? if so how to increaese it?
BL860cI2 - hp-ux 11vi3 patch march 2014.
- Tags:
- tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2014 08:03 AM - edited 11-03-2014 08:05 AM
11-03-2014 08:03 AM - edited 11-03-2014 08:05 AM
Re: Size restriction on cat command
>I am trying to combine 6 tar files
Were the 6 files originally one tarfile that was split? If they are actually 6 tarfiles, why do you want to combine them?
Is the total over 2 GB and do you have largefiles enabled?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2014 08:08 AM
11-03-2014 08:08 AM
Re: Size restriction on cat command
yes largefiles is enabled, the combined total is 9.8G, the other tar files that i combined was 4.5 and it worked with no problems..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2014 09:53 AM - edited 11-04-2014 09:20 AM
11-03-2014 09:53 AM - edited 11-04-2014 09:20 AM
Re: Size restriction on tar command
>it worked with no problems.
Is the file size a multiple of 512 bytes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2014 09:56 AM
11-03-2014 09:56 AM
Re: Size restriction on cat command
here is what i have to work with.
-rw-r--r-- 1 root sys 1835008000 Nov 3 10:20 1
-rw-r--r-- 1 root sys 1835008000 Nov 3 10:22 2
-rw-r--r-- 1 root sys 1835008000 Nov 3 10:24 3
-rw-r--r-- 1 root sys 1835008000 Nov 3 10:26 4
-rw-r--r-- 1 root sys 1835008000 Nov 3 10:30 5
-rw-r--r-- 1 root sys 648386560 Nov 3 10:32 6
i had to rename them to 1 thru 6, symantec had a 20+ charcter name to start with...when i am done with the command
cat 1 2 3 4 5 6 > NB_Appliance_N_2.6.0.1-1.tar
i end up with a tar file that looks like this
-rw-r--r-- 1 root sys 9823426560 Nov 3 12:32 NB_Appliance_N_2.6.0.1-1.tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2014 10:12 AM - edited 11-04-2014 09:20 AM
11-03-2014 10:12 AM - edited 11-04-2014 09:20 AM
Re: Size restriction on tar command
>-rw-r--r-- 1 root sys 9823426560 Nov 3 12:32 NB_Appliance_N_2.6.0.1-1.tar
Looks like the right sum. What errors does "tar -tvf NB_Appliance_N_2.6.0.1-1.tar" give?
>I had to rename them to 1 thru 6, symantec had a 20+ character name
Not sure why? Just put the cat in a script or use wildcards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2014 11:19 AM
11-03-2014 11:19 AM
Re: Size restriction on cat command
here is what happens when i extract the tar file.
x update.rpm.md5_checksum, 33 bytes, 1 tape blocks
x update.rpm.sha1_checksum, 81 bytes, 1 tape blocks
x SYMC_NBAPP_update-2.6.0.1-1.x86_64.rpm, 81 bytes, 1 tape blocks
khepx007:/var/opt/ignite/recovery/mec#
notice the file size of the 3rd file its supposed to be alot bigger..not sure of the exact size, symantec havent told me
but the total size is over 9G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2014 11:52 AM
11-03-2014 11:52 AM
Re: Size restriction on cat command
i even set ulimit to unlimited just to verify that it wasnt that also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2014 09:17 AM - edited 11-04-2014 09:21 AM
11-04-2014 09:17 AM - edited 11-04-2014 09:21 AM
Re: Size restriction on tar command
These appear to be Linux files, why are you using HP-UX's tar? Perhaps you need gnu tar?
- Tags:
- gtar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2014 07:16 AM
11-17-2014 07:16 AM
Re: Size restriction on tar command
It actually ended up being a weird setup from symantec, we had to do it different and on the PC side this time...
thanks everyone