Visit Our UNIX and Linux User Community


doubt regarding bzip2


 
Thread Tools Search this Thread
Operating Systems Solaris doubt regarding bzip2
# 1  
Old 08-02-2009
doubt regarding bzip2

Hi,

I tried to upload the crash dump files unix.0 and vmcore.0 ..bzip2 is working fine for unix.0 but for vmcore.0 its not working and it shows the below error. Is there any size limit or file type for bzip2. current vmcore.0 file size -- 2326372352 kb

# file vmcore.0
vmcore.0: SunOS 5.8 Generic_117350-47 64-bit crash dump from 'tktpfclu1'





"bzip2: Input file vmcore.0 doesn't exist, skipping."
rogerben
# 2  
Old 08-02-2009
The file is larger than 2 GB. From "man largefile" (Solaris 10):

Code:
Standards, Environments, and Macros                  largefile(5)



NAME
     largefile - large file status of utilities

DESCRIPTION
     A large file is a regular file whose size is greater than or
     equal  to  2 Gbyte ( 2**31 bytes). A small file is a regular
     file whose size is less than 2 Gbyte.

  Large file aware utilities
     A utility is called large file aware if it can process large
     files  in  the same manner as it does small files. A utility
     that is large file aware is able to handle  large  files  as
     input and generate as output large files that are being pro-
     cessed. The exception is where additional files  are used as
     system configuration files or support files that can augment
     the processing. For example, the file utility  supports  the
     -m  option for an alternative "magic" file and the -f option
     for a support file that can contain a list of file names. It
     is  unspecified  whether  a utility that is large file aware
     will accept configuration or support files  that  are  large
     files.  If a large file aware utility does not accept confi-
     guration or support files that  are  large  files,  it  will
     cause  no  data  loss  or  corruption upon encountering such
     files and will return an appropriate error.

     The following /usr/bin utilities are large file aware:

     adb           awk           bdiff         cat           chgrp
     chmod         chown         cksum         cmp           compress
     cp            csh           csplit        cut           dd
     dircmp        du            egrep         fgrep         file
     find          ftp           getconf       grep          gzip
     head          join          jsh           ksh           ln
     ls            mdb           mkdir         mkfifo        more
     mv            nawk          page          paste         pathchck
     pg            rcp           remsh         rksh          rm
     rmdir         rsh           sed           sh            sort
     split         sum           tail          tar           tee
     test          touch         tr            uncompress    uudecode
     uuencode      wc            zcat

Note that even in Solaris 10, bzip2 is not large file aware.

Last edited by DukeNuke2; 08-02-2009 at 11:11 AM.. Reason: changed quote to code tags

Previous Thread | Next Thread
Test Your Knowledge in Computers #485
Difficulty: Medium
A computer operating system loads an executable file into a call stack on a hard disk.
True or False?

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

zip files using bzip2

Hi all, Say I've got a file /tmp/tempfile.txt which contains a list of files with full path. Now I would wish to take all filenames in that tempfile as arguments and zip them in a single archived file. So how could I archive this? Seems like I need to use the xargs command? Thanks (5 Replies)
Discussion started by: isaacniu
5 Replies

2. UNIX for Dummies Questions & Answers

bzip2

I have a DVD that has a 2gigabit bzip2 file. How do I unzip it. Please excuse my ignorance I am to old and stupid to be trying this. Help would sure be appreciated. Love, jerryandjerry could you email me at jerrylowery2@msn.com (1 Reply)
Discussion started by: jerryandjerry
1 Replies

3. AIX

bzip2 on AIX 5.3

Hi. I have the bzip2 version 1.0.2 installed on AIX 5.3 (RPM package). The documentation (www.bzip.org) says that this version can compress files >2Gb, but is not working. On AIX, bzip2 is working well just for files less than 2Gb. I have the bzip2 (same version) installed on Linux box. The... (0 Replies)
Discussion started by: Livio
0 Replies

Featured Tech Videos