- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cant restore files to systems with different f...
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
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
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
08-03-2012 06:42 AM
08-03-2012 06:42 AM
cant restore files to systems with different file system extents.
I am not sure where to post this, but i wanted to run this by everyone. We are trying to do a restore from a backup . Now we are going from one machine to another, the issue we have is that we cant restore files that were backed up on a system with 16M extents to a sytems with 32M extents. We have determined that this is due to the tar file that symantec is using.
I was wondering if any has seen this problem before.
thanks
- Tags:
- tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2012 07:11 AM
08-03-2012 07:11 AM
Re: cant restore files to systems with different file system extents.
That makes absolutely no sense. The PE Size is at the LVM level and should have absolutely nothing to do with backups or restores. I am almost certain that I have moved files across systems with different PE sizes and never had any problems.
What is the error you are receiving? How did you determine that the problem is related to the tar file and an extent size?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2012 04:14 PM - edited 08-04-2012 04:17 PM
08-04-2012 04:14 PM - edited 08-04-2012 04:17 PM
Re: cant restore files to systems with different file system extents.
Patrick is quite right, there is no relationship between files and physical extents (PE). The PE szie size is only a bookeeping feature of the volume manager. LVM simply abstracts (virtualizes) storage and the filesystem never sees LVM extents. The VxFS filesystem has it's own extent management but this is not visible to the tar program.
One thing that is missing from your description of the problem is the actual error message from tar. I will take a guess that the error is a block size error. This error has nothing to do with files, filesystems or LVM. The HP-UX tar program is quite archaic and can only understand 10K tape records. Modern tar (gtar for instance) programs and the HP-UX pax program will read other block sizes without a problem. Use pax to restore your files onto the HP-UX filesystems.
Bill Hassell, sysadmin
- Tags:
- pax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2012 08:05 AM
08-06-2012 08:05 AM
Re: can't restore files to systems with different file system extents.
OK my fault for not explaining this enough, we are using netbackup, we have proved that they standard HP-UX tar works fine, but using the netbackup program file /usr/netbackup/bin/tar doesnt work when the extents don't match. Symantec is working on this but have no reason or fix currently.
What happens when you execute the restore from netbackup is that it hits 2G and the backup crashes. If you run it manually it creates a 0 byte file and crashes. There are no messages or error codes show. We have sent logs out to Symantec with nothing yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2012 10:28 AM
08-06-2012 10:28 AM
Re: can't restore files to systems with different file system extents.
2G is a very telling point of failure. HP-UX still limits file sizes to a 2GB max unless the file system was created with the -o largefiles flag. Did you do that? Can you create or copy a file larger than 2GB into the file systems?
- Tags:
- largefiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2012 10:43 AM
08-06-2012 10:43 AM
Re: can't restore files to systems with different file system extents.
Yes we have multiple 60G + files on these file systems, its just the restore from netbackup, using their tar binary that isnt working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2012 10:55 AM - edited 08-06-2012 10:56 AM
08-06-2012 10:55 AM - edited 08-06-2012 10:56 AM
Re: can't restore files to systems with different file system extents.
>it's just the restore from netbackup, using their tar binary that isn't working.
Have you tried using gtar or pax on the archive?
(A foreign devil tar that can't handle > 2 Gb seems pretty useless.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2012 11:07 AM
08-06-2012 11:07 AM
Re: can't restore files to systems with different file system extents.
Then I guess that wasn't so simple. But as a few other posters has explained the PE size is not viewable to file handlers, so its doubtful that that has anything to do with it. Probably more coincidental than symptomatic! So what else do these file systems have in common?
An old boss once told me that "if it more than 5 minutes to fix its something stupid". Or in other words look for other things that could be causing the problem. Is there actually more than 2GB in free file space. Could the netbackup program be using /tmp /var/tmp or something like for expansion of compressed files and is there enough free space there, etc, etc.
I've used netbackup before on HP-UX and never had issues with it. That was about 5 years ago, so maybe there is a new issue with a new release. But if its not a brand new software release, then I would have expected it to be a know issue. Recovering larger than 2 GB files is a common practice these days.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2012 11:48 AM
08-06-2012 11:48 AM
Re: can't restore files to systems with different file system extents.
the file systems excluding extent sizes are named the same, setup the same, same folder structure. They are on he same SAN, same type of drives, same speed of drives.
we are trying to setup a new epic environment, so we are taking a backup of the production stuff, trying to restore the data on another server with the same directory structure.
I have also extracted the tar binary from older netbackup clients and have the exact same problem. I have also tried doing my own tar creation and extraction, without full blown netbackup, but the netbackup tar binary, and have the exact same results, 0 byte tar files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2012 11:53 AM
08-06-2012 11:53 AM
Re: can't restore files to systems with different file system extents.
>but the netbackup tar binary, and have the exact same results, 0 byte tar files.
If you have tusc, you can actually see what error is causing the problem and how the file is opened.