- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
Discussions
Discussions
Forums
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
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-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.
- « Previous
-
- 1
- 2
- Next »