LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-19-2008, 05:48 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 764

Rep: Reputation: 39
tar problem


My SPARC machine is V240. I need to untar some files but it takes horrible long time. On prstat tar works with 0.2%

I decided to download GNU tar from http://www.sunfreeware.com/programlistsparc10.html.

After install I got this error:
Code:
bash-3.00# /usr/local/bin/tar -xvf ivagt.tar
ld.so.1: tar: fatal: libintl.so.8: open failed: No such file or directory
What is wrong with that ?
 
Old 05-19-2008, 06:11 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,754

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
If tar only takes .2% CPU the code is unlikely to blame. Did you look at the I/O figures ? System messages ?

Anyway, GNU tar is likely to be already installed with your system so there is no need to download and install one which is either somewhat broken (missing dependancies in the package metadata) or just not properly installed.

Have a look at /usr/sfw/bin/gtar for a working GNU tar.
 
Old 05-19-2008, 08:51 AM   #3
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 764

Original Poster
Rep: Reputation: 39
Quote:
Did you look at the I/O figures ? System messages ?
I/O figures - what do u mean? How to look for that

System messages - nothing special in /var/sadm/message and in /var/log/syslog
 
Old 05-19-2008, 09:15 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,754

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Quote:
Originally Posted by czezz View Post
I/O figures - what do u mean? How to look for that
Something like running in another window while you are "untarring" the problem file:
Code:
iostat -xc 2
or
Code:
zpool iostat 2
if you are using ZFS.

Can you tell more about the performance you observe vs what you were expecting ? (ie. what is the ivagt.tar file size ? How many files are stored inside ? What filesystem are you using ? On what device ? internal/external ? )

Did you try with the bundled GNU tar ?
 
Old 05-19-2008, 11:25 AM   #5
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 764

Original Poster
Rep: Reputation: 39
Hey jlliagre - many thanks for your answer.
I have allready managed with problem - it was old release of solars 10
Code:
-bash-3.00# cat /etc/release
                       Solaris 10 11/06 s10s_u3wos_10 SPARC
           Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 14 November 2006
For all who have this same problem - it is necessary to install patch: 137088-01-1
 
Old 06-13-2008, 02:25 AM   #6
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 764

Original Poster
Rep: Reputation: 39
Hey - back again to this same problem. Looks like patch didnt help much because tar works OK only with small files. When I try to untar bigger files like 2 Gb it works again like 0.6%.

here is iostat executed during untaring big file:
Code:
-bash-3.00# iostat -xc 2
                 extended device statistics                      cpu
device    r/s    w/s   kr/s   kw/s wait actv  svc_t  %w  %b  us sy wt id
sd3       0.2    0.0    0.3    0.0  0.0  0.0    8.4   0   0   0  0  0 99
sd8       0.6    0.8    8.1    6.9  0.0  0.0   16.2   0   1
sd10      1.4    1.1   22.3   20.4  0.0  0.0    7.5   0   1
                 extended device statistics                      cpu
device    r/s    w/s   kr/s   kw/s wait actv  svc_t  %w  %b  us sy wt id
sd3       0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0   1  1  0 97
sd8       0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0
sd10     41.1  120.1  182.0  225.4  0.0  1.0    6.1   0  98
                 extended device statistics                      cpu
device    r/s    w/s   kr/s   kw/s wait actv  svc_t  %w  %b  us sy wt id
sd3       0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0   0  1  0 99
sd8       0.0    1.0    0.0    4.5  0.0  0.0    8.1   0   1
sd10     42.5  124.5  195.5  237.0  0.0  1.0    5.9   0  99
                 extended device statistics                      cpu
device    r/s    w/s   kr/s   kw/s wait actv  svc_t  %w  %b  us sy wt id
sd3       0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0   0  1  0 98
sd8       0.0    0.0    0.0    0.0  0.0  0.0    0.0   0   0
sd10     42.0  121.5  191.5  233.3  0.0  1.0    6.1   0  99
As I said previously - it is V240 and it is 2nd machine Im trying.
Also have maden upgrade to the lates Solaris release 5/08
Anyone any ideas ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 12:02 PM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 03:53 AM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 02:04 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration