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
11-27-2000 04:54 PM
11-27-2000 04:54 PM
I was just using tar to archive a filesystem of 43 GB.
I used the command this way
#tar cvf ./fwprod.tar ./
It just archived 39GB and exits with
and Error message
tar: size of ./fwprod.tar > 2GB Not dumped.
Iam using
HP-UX 11.0 N4000 -Class Box
EMC
Any inputs are appreciated.
Thanks,
...Madhu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 05:04 PM
11-27-2000 05:04 PM
Re: tar
Another Question is.
How do I know what all the directories it has tared and which are not ? tar tvf takes a long Is there any other way ???
Thanks,
...Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 05:05 PM
11-27-2000 05:05 PM
Re: tar
Tar (and cpio) do NOT support files that are larger than 2GB. See the man pages for 'tar'. I prefer 'fbackup/frecover' for most backup/restore tasks for its sheer flexability.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 05:33 PM
11-27-2000 05:33 PM
Re: tar
Take a look at the man pages for fbackup/frecover. fbackup is designed to be used on filesystems with active files. It tracks the timestamp of a file as it begins a backup and compares it to that at the end. If the file has changed, fbackup will retry (maxretires) times.
Files to backup are controlled by a "graph" which can be a simple ASCII file containing file and/or directory names to include (-i) and exclude (-e). You can easily define directories to backup while excluding subdirectories and/or individual files. Full as well as incremental backups are supported.
Fbackup and frecover can be executed with verbose (-v) logging. Redirecting or tee-ing the this output into a log of your choice allows you to create a record of what was backed-up. Alternately, frecover can be used to create a tape directory listing without recovering anything.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 09:55 PM
11-27-2000 09:55 PM
Re: tar
Look at your command:
#tar cvf ./fwprod.tar ./
It creates the file ./fwprod.tar and then starts reading the ./ directory to begin archiving.
At a given time in the process, it will start reading ./fwprod.tar and try to archive it as well.
I didn't test it, but there's a good chance that this will turn into an endless loop, whatever the global size of date you're writing on the tape.
You'd better, either be more selective in choosing what to archive, or put your archive file in a different location.
;-)
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 10:54 PM
11-27-2000 10:54 PM
Re: tar
As I was curious to see if the 'tar cvf ./fwprod.tar ./ ' would give an error or warning, here is what I got:
./fwprod.tar: file changed size
A 'tar tvf ./fwprod.tar' was anyway showing ./fwprod.tar as a file in the archive.
So, tar is not looping endlessly but contains data that shouldn't be there...
;-)
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 11:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2000 05:31 AM
11-28-2000 05:31 AM
Re: tar
"4.2.1 tar, cpio, pax, ftio
Some of the backup commands, specifically tar, cpio, pax (tar & cpio formats), and ftio (because it creates cpio format archives) are
restricted from supporting large files due to standards defined headers in the archives. Although the headers allow archival of files
upto 8GB, there is no guaran- tee that there will be no attempt to restore these files on a system that does not support large files. These commands will therefore support files up to 2GB only. Attempts to archive any files >2GB will fail, and the files will not be added to the archive."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2000 05:56 AM
11-28-2000 05:56 AM
Re: tar
As you were trying to archive 43GB of data in the same filesystem, are you sure that there is more than 43GB of free space in the same filesystem.
If this is really what you want to do, change your command to:
#tar cvf ./fwprod.tar ./!(fwprod.tar)
This works in posix shell and would at least avoid to archive the archive... ;-))
Should work in ksh as well.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2000 07:53 AM
11-28-2000 07:53 AM
Re: tar
While I have never done a 43GB file, I have made loads and loads of archives in the same directory as what I am archive and never gotten the tarball in the archive or looped up....
Just my 2 cents worth.....
Also, I prefer as someone else mentioned GNU tar. There is no 2GB file limit, and you also can compress data prior to adding it to the archive. If your like me and too cheap to buy software, use what works.
Its the choice of a gnu generation!
Regards,
Shannon