Operating System - HP-UX
1752808 Members
6340 Online
108789 Solutions
New Discussion юеВ

Re: Unzipping large files

 
SOLVED
Go to solution
Alex Grigore
Advisor

Unzipping large files

Hello,

We have made a backup using the command:
/usr/bin/zip -r - /d0/folder_with_large_files | split -b 1500m - name_ 1>>$error_file_name

As a result we've got three files, file_aa, file_ab, file_ac.

The problem is that we cannot manage to unzip the files .

cat file_aa file_ab file_ac >> large_file won't work - it stops at 2GB

We have merged the files using Total Commander on Windows, but this does not help either.
After moving the large_file on HP-UX, running unzip large_file will yeld cannot find large_file.


Thank you in advance,
Alexandru.
5 REPLIES 5
Patrick Wallek
Honored Contributor
Solution

Re: Unzipping large files

It sounds like you first need to enable largefiles on the filesystem.

# fsadm /d0

will tell you if largefiles is enabled. If it isn't, and you have online JFS,

# fsadm -o largefiles /d0
Robert-Jan Goossens_1
Honored Contributor

Re: Unzipping large files

Hi Alexandru,

Check if your filesystem supports large files > 2 GB

online jfs

# fsadm /filesystem_name

NON jfs

# fsadm /dev/vgxx/rlvolx
nomultifsets
largefiles

Regards,
Robert-Jan
Mahesh Kumar Malik
Honored Contributor

Re: Unzipping large files

Hi

It seems like your unzip utility is compiled in 32 bit mode. You need to get one compiled in 64 bit mode.

Mahesh
Alex Grigore
Advisor

Re: Unzipping large files

Hello,

After enabling the largefiles with:
fsadm -o largefiles /d1

I could run the cat file_aa file_ab file_ac>>large_file without any errors.

Thank you for your prompt and concise answers.


Best regards,
Alexandru.
Alex Grigore
Advisor

Re: Unzipping large files

Closing the thread.