- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tape problem: restoring a 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
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
01-06-2005 06:15 AM
01-06-2005 06:15 AM
Tape problem: restoring a file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 06:20 AM
01-06-2005 06:20 AM
Re: Tape problem: restoring a file
tar/pax/cpio is restricted to 2gb. with certain patches, it goes upto 8GB.
Also your file systems needs to support the large files. (greater than 2GB)
mount -p will show you that, if not you need to enable the large files support.
fsadm -o largefiles /dev/vgxx/lvolx
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 06:26 AM
01-06-2005 06:26 AM
Re: Tape problem: restoring a file
The first thing that I would do is make sure that largefiles are enabled in this/these filesystem(s). It is quite possible that only 2.5GB of data were actually written for a 10GB database because the files might be quite sparse.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 06:28 AM
01-06-2005 06:28 AM
Re: Tape problem: restoring a file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 06:33 AM
01-06-2005 06:33 AM
Re: Tape problem: restoring a file
Take a look at this thread on how to convert the filesystem for largefiles=yes
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063210890
The itrc doc id is S3100005498.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 06:34 AM
01-06-2005 06:34 AM
Re: Tape problem: restoring a file
If you do not have OnlineJFS, you will need to unmount before changing.
You should also add the largefiles mount option in /etc/fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 06:46 AM
01-06-2005 06:46 AM
Re: Tape problem: restoring a file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2005 07:22 AM
01-06-2005 07:22 AM
Re: Tape problem: restoring a file
1) I assume the 10GB database is spread across multiple files? I doubt that it is all a single file.
2) It is entirely possible that only 2.5GB of media was used. Database files are known to compress REALLY REALLY well, especially if there is not much data in the DB. All that empty space compresses really efficiently, so 10GB down to 2.5GB is entirely plausible.
3) If 1 is indeed true, then the 2GB/8GB limit for tar, if that is what was used, does not apply. That only applies to SINGLE FILES. tar can backup numerous 1GB files to tape without a problem since each file is under the 2GB / 8GB limit.
Now, if the tape restores OK on one system, but not another then chances are good that the tape is fine.
I would then look at your tape drive. First run a cleaning cartridge through it a couple of times. Next, find another tape and just write a few files to tape (something like /etc/rc.config.d works, and be sure to use relative paths - 'cd /etc ; tar -cvf /dev/rmt/?m rc.config.d') and then try reading the tape ('tar -tvf /dev/rmt/?m') and then restore to /var/tmp or some other place (cd /var/tmp ; tar -xvf /dev/rmt/?m). If it is successful, try your backup and restore on that machine.
If the restore still doesn't work then your tape drive may be going bad.