VMware Cloud Community
renegate
Contributor
Contributor

Extracting 110Gb zip on esxi Host

I have uploaded a vmdk file to my esxi 6.7 host and when i try to unzip it from cli with

unzip largefile.zip

i get this error

Archive: largefile.zip
unzip: short read

Any ideas on what's going on?

0 Kudos
3 Replies
scott28tt
VMware Employee
VMware Employee

@renegate 

Corrupt file? Can you validate the file integrity? Can you unzip on another system?

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
renegate
Contributor
Contributor

Yes i just confirmed the md5sum is ok on both the file on my local pc and on the esxi host and validated the zip integrity twice on my pc. Running

gzip -t on the file gives me the following error "gzip: invalid magic". 

0 Kudos
HostaHost
Contributor
Contributor

If you run into this, copy unzip from CentOS 6 x64 to the host and then in /lib64 do a:

ln -s libbz2.so.1.0.8 libbz2.so.1

That unzip can handle large zip files; built-in one can't.

0 Kudos