- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fbackup / tar question
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
11-29-2005 04:09 AM
11-29-2005 04:09 AM
fbackup / tar question
We have a K460 HP-UX 10.20 (32 bit) server that currently has Oracle database ( Version 8.0.5) running on it. Due to vendor software we are not able to upgrade OS as well as the database version.
In the past the database was backup (coldbackup) using Legato Software to tape. Recently we decided to backup the database to disk (NFS mounted NAS) using fbackup and tar command. However the backup aborted whenever the achive file reach 2GB. According my Unix Admin, this is because HP-UX 10.20 doesn't support file larger than 2GB on NFS mounted disk.
My question is how do I backup my archive file in multiple 2GB file using fbackup or tar command.?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 04:23 AM
11-29-2005 04:23 AM
Re: fbackup / tar question
You should be able to patch 10.20 to the point where it does support greater than 2 GB files on an NFS disk. But the admin may be right, if so you are stuck, because fbackup likes tape.
You might check the NFS server and make sure its using NFS v3. That is the version of NFS that introduced files bigger than 2 GB.
If the NFS server is hpux and its filesystem was not newfs 'd with -o largefiles then this will provent you from making files bigger than 2 GB.
Also, if the system that is the NFS server is 11.00 or below the /etc/fstab of the filesystem needs a largefiles parameter.
Assuming the NAS device and NFS are not the problem, the focus is on your current OS.
tar has a patch on newer HP-UX that allows tar files up to 8 GB. check the itc patch database if that exists for 10.20 tar.
You can also use GNU tar from http://hpux.connect.org.uk/ to get past the 2 GB limit.
If however your Unix admin is correct then you must approach the problem backwards.
1) Make sure that 10.20 has NFS v3 installed.
2) Make the oracle database files NFS shares in /etc/exports.
3) exportfs -av
4) Shut down the oracle database.
5) Mount the NFS shares from another machine that fully supports largefiles.
6) Copy the entire database to NAS
7) Start oracle on your 10.20 machine
8) Make a tar backup of the copy of the oracle database you now have on the NAS device.
You must shut down oracle and get a cold backup for this backup to be worth anything. You must also test recovering with it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 04:23 AM
11-29-2005 04:23 AM
Re: fbackup / tar question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 04:41 AM
11-29-2005 04:41 AM
Re: fbackup / tar question
I was told by my Unix Admin NFS v3 is not available on HP-UX 10.20. Is that right?
We have datafile larger than 2GB (9GB) but all the datafiles are using local mount disk with largefile option enabled. Only the mountpoint designed to store backup file is NFS mounted NAS.
I tried to use cp -p comamand in the pass to copy datafile to NFS mounted NAS but it stop at 2GB for datafile larger 2GB with the following message "File too large".
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 04:54 AM
11-29-2005 04:54 AM
Re: fbackup / tar question
I believe your admin is probably right about that. I still run a couple of 10.20 boxes, but rarely touch them.
You might get around this with Samba:
http://hpux.connect.org.uk/hppd/hpux/Networking/Misc/samba-3.0.10/
You are going to have to download the source, the third option on this page and compile the client.
That might get you around the 2 GB problem with Samba.
You are in a bit of a squeeze here though.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 04:56 AM
11-29-2005 04:56 AM
Re: fbackup / tar question
In any event, the split command will solve your dillema:
cd /NFS/dir/xxx
split -b 1000m /u01/data/data01.dat data01.dat
That will produce multiple 1GB data01.dat files with suffixes aa, ab, ac, ...
You can then reassemble these files using cat data01.dat* because the suffixes are generated in lexical order.
Man split for details.
Your NFS approach on 10.20 was not a well-reasoned solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 05:01 AM
11-29-2005 05:01 AM
Re: fbackup / tar question
have you tried the option 'largefiles' when mounting the NAS directory?
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 05:15 AM
11-29-2005 05:15 AM
Re: fbackup / tar question
No I have not tried to mount NAS directory with largefiles option. My understanding is that we need to install NFS v3 in order to do that and it is not avaialable on HP-UX 10.20.
Can I still do that without NFS v3 installed?
Thanks.