- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar creating 0 byte file
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
тАО03-06-2009 10:47 PM
тАО03-06-2009 10:47 PM
tar creating 0 byte file
while i am trying to tar one of my dab file having size 2Gb it creating 0 byte tar.Hence creating problem.Please help me out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2009 10:50 PM
тАО03-06-2009 10:50 PM
Re: tar creating 0 byte file
while i am trying to tar one of my dbf file (database file)having size 2Gb it creating 0 byte tar.Hence creating problem.Please help me out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 12:11 AM
тАО03-07-2009 12:11 AM
Re: tar creating 0 byte file
Follow below steps,
#tar -cvf yourfilename.tar yourfilename
Example:
1. Archive all files and directories in directory my_project in the current directory to a file called my_project.TAR, also in the current directory:
#tar -cvf my_project.TAR my_project
2. Archive files from /usr/include and /etc:
#tar cv -C /usr/include . -C /etc .
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 12:24 AM
тАО03-07-2009 12:24 AM
Re: tar creating 0 byte file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 03:32 AM
тАО03-07-2009 03:32 AM
Re: tar creating 0 byte file
>>while i am trying to tar one of my dab file having size 2Gb it creating 0 byte <<
Are you trying to creat tar file to Tape or to you local drive..?
creating tar file to the Tape
==============================
tar -cvf /dev/rmt/0m
Creating tar file local
=======================
tar -cvf
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 06:24 AM
тАО03-07-2009 06:24 AM
Re: tar creating 0 byte file
I did the same and my tar file also became 0KB while extracting
How..
Tar the file (/etc/passwd)
tar -cvf /tmp/passwd.tar /etc/passwd
while extracting,
# tar cvf /tmp/passwd.tar
instead of
# tar xvf /tmp/passwd.tar
Also are you able to create a tar file of 2 GB of less.
If yes, you have to install the latest tar patch which support upto 8Gb of size
For 11.11 -- PHCO_36587
For 11.23 -- PHCO_33431
All the best !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 06:26 AM
тАО03-07-2009 06:26 AM
Re: tar creating 0 byte file
I have assigned points to 5 of 65
You have assigned so less points to your post
Please assign points to your post
Refer http://forums11.itrc.hp.com/service/forums/helptips.do?#33
Assigning points is just a way of saying Thanks for the answers :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 07:49 AM
тАО03-07-2009 07:49 AM
Re: tar creating 0 byte file
With patches I believe 11.11 can handle 8GB file with tar. Unfortunately the patch DB appears to be down right now so I can't search for the appropriate patch to enable this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2009 12:59 PM
тАО03-07-2009 12:59 PM
Re: tar creating 0 byte file
http://www13.itrc.hp.com/service/patch/patchDetail.do?BC=main|search|patchDetail{PHCO_29229,{hpux:11.00,}}|patchDetail{PHCO_28992,{hpux:11.11,}}|&patchid=PHCO_36587&sel={hpux:11.11,}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2009 09:36 PM
тАО03-08-2009 09:36 PM
Re: tar creating 0 byte file
I am trying tar on tape
tar -cvf /dev/rmt/0mn
then my orignal file becomes zero byte.