- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- have problem with tar -xvf
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2009 11:15 PM
02-10-2009 11:15 PM
have problem with tar -xvf
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2009 11:33 PM
02-10-2009 11:33 PM
Re: have problem with tar -xvf
There are certain things you need to check it.
First one is to check the drive. It might have some issue. Try to clean the drive or replace it if possible.
Second one is, media could be defective. Check with new media.
Third one is I/O bottleneck.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2009 11:33 PM
02-10-2009 11:33 PM
Re: have problem with tar -xvf
We can do some low level troubleshooting at first to check if there is no hardware issue:
* Check the media, OLD media takes much more time. So you can try taking backup on a new media to ensure this.
* Can try cleaning the tape drive through cleaning tapes.
* If this delay in backup is repeating again and again, try using different tape drive.
Thats all from my side.
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2009 11:36 PM
02-10-2009 11:36 PM
Re: have problem with tar -xvf
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2009 11:41 PM
02-10-2009 11:41 PM
Re: have problem with tar -xvf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2009 11:57 PM
02-10-2009 11:57 PM
Re: have problem with tar -xvf
might be at that time some other IO processes had been having on the disk also that we can suspect to have caused that muchof delay .. assuming that the disk is OK.
can you please give whole of the tar command that you might be using.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2009 12:07 AM
02-11-2009 12:07 AM
Re: have problem with tar -xvf
#tar -xvf /mydirectory.tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2009 12:56 AM
02-11-2009 12:56 AM
Re: have problem with tar -xvf
Could you check tar patch level?. If it is old, install the latest tar patch.
# swlist -l patch |grep -i tar
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2009 01:03 AM
02-11-2009 01:03 AM
Re: have problem with tar -xvf
# Auxiliary-Opt.LANG-STARTUP B.11.11.16 Family of Startup crt0.o files
# PHCO_28992 1.0 tar(1) cumulative patch
What is lastest version of tar command ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2009 01:03 AM
02-11-2009 01:03 AM
Re: have problem with tar -xvf
Please provide the commands u are using
1) command to take tar backup
2) command to restore tar backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2009 01:14 AM
02-11-2009 01:14 AM
Re: have problem with tar -xvf
Server01: #tar cvf - ./mydir | gzip > mydir.tar.gz
#rcp mydir.tar.gz Server02:/xxx
Server02: #gunzip mydir.tar.gzip
#tar -xvf mydir.tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2009 01:33 AM
02-11-2009 01:33 AM
Re: have problem with tar -xvf
The patch which you are having is quit old released on 2003. The latest tar cumulative patch is PHCO_36587.
Install this one along with dependencies and see the performance. Hopefully that may solve the issue.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2009 05:10 AM
02-11-2009 05:10 AM
Re: have problem with tar -xvf
as u told it is not the same in every situation , you need to check the utilization of the server at that time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2009 07:12 AM
02-11-2009 07:12 AM
Re: have problem with tar -xvf
> #rcp mydir.tar.gz Server02:/xxx
>
> Server02: #gunzip mydir.tar.gzip
> #tar -xvf mydir.tar
Not the method I'd use. How many large
temporary files do you want? (You don't
_need_ any.)
( cd /src/path ; tar cf - stuff | gzip ) | \
remsh server2 ' ( cd /dst/path ; gunzip | tar xf - ) '
Variations:
If "/dst/path" doesn't exist, add
"mkdir -p /dst/path ; " before the "cd".
Substitute "ssh" for "remsh"
Add a "v" to one of the "tar" commands".
(With "v" on both "tar" commands, the noise
can be more confusing than helpful.)
> Who can explain it to me ?
Probably no one. Not enough info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2009 07:49 AM
02-12-2009 07:49 AM
Re: have problem with tar -xvf
...
( cd /src/path ; tar cf - stuff | gzip ) | \
remsh server2 ' ( cd /dst/path ; gunzip | tar xf - ) '
...
This is ok but if you have a problem when "cd somewhere" you will untar you files in the wrong directory or send files from a wrong directory or both (dangerous).
so better use && to test the return code
( cd /src/path && tar cf - stuff | gzip ) | \
remsh server2 ' ( cd /dst/path && gunzip | tar xf - ) '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2009 11:07 PM
02-17-2009 11:07 PM
Re: have problem with tar -xvf
vxfslog,mincache=dsync,blkclear,nodatainlog,largefiles,rw,suid 0 2
After i remount by command is ok.