- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problem with tar command
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
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
06-26-2006 09:43 PM
06-26-2006 09:43 PM
I am getting the following error:
GNU tar is being used, located in directory /user/local/bin.
native Tar is being used, located in /usr/bin.
i think The GNU tar has been renamed to tar.orig
This is the output of log file:
2556087 tar: Cannot write to /home/monthly/20060326_20060422/scope/1002.20060326_20060422.1.AMOUNT.tar : File too large
2556088 tar: Error is not recoverable: exiting now
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 09:55 PM
06-26-2006 09:55 PM
Re: problem with tar command
please establish which version of tar is being used:
which tar
then also ensure that your filesystem can handle largefiles:
grep home /etc/fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 10:06 PM
06-26-2006 10:06 PM
Re: problem with tar command
Execute "tar" with full path, like # /usr/local/bin/tar
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 10:44 PM
06-26-2006 10:44 PM
SolutionIf you are using files larger than 2GB, you need the largefiles option enabled.
If you use tar to create a +2GB file that is. :)
Check your lvol for the largefiles option:
Execute:
# fstyp -v /dev/vg00/rlvol9
f_flag: 16 (largefiles enabled)
f_flag: 0 (largefiles disabled)
To set largefiles on:
# fsadm -o largefiles /mount_point
(Where /mount_point is your filesystem mountpoint, not the lvol name. This requires OnlineJFS and no unmount)
Use fstyp command to check the "f_flag" if it's value is 16 - Then your set to go once again with tar.
If your tar file will get bigger than 2GB the native tar in HP-UX will not work.
You can download GNU tar, which does support > 2GB files, from:
http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.15.1/
# tar cf /path/to/file.tar dir_or_file
Have fun. :)
// Damtoft
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 10:58 PM
06-26-2006 10:58 PM
Re: problem with tar command
# gunzip tar-1.15.1-hppa-11.11.depot.gz
Then use swinstall to install the depot.
# swinstall -s /full/path/to/file/tar-1.15.1-hppa-11.11.depot
And you should be on the way :)
// Damtoft
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 11:31 PM
06-26-2006 11:31 PM