I am trying to decompress a bz2 file into a azure storage with the following command:
$ bzip2 -d huge-file.xml.bz2
After a while, say around 40 minutes. I have this message:
bzip2: I/O or other error, bailing out. Possible reason follows.
bzip2: Operation not permitted
Input file = huge-file.xml.bz2, output file = huge-file.xml
bzip2: Deleting output file huge-file.xml, if it exists.
huge-file.xml.bz2 has 14GB
, when decompressed should have around 500GB
.
Not sure what would be the error. Btw, sha1
is correct and the decompress process seems to work cause the huge-file.xml
is inflate until error occurs.
UPDATE
Just for the record, the following command worked. Even though, I am not sure it was the problem's real reason.
$ sudo bzip2 -d huge-file.xml.bz2