- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't have files greater than 2Gb in HPUX 11i
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
12-29-2003 04:05 AM
12-29-2003 04:05 AM
Can't have files greater than 2Gb in HPUX 11i
Really need to enable files larger than 2Gb in this filesystem urgently, any help will be rewarded.
Thankyou in advance for any help,
Regards
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 04:08 AM
12-29-2003 04:08 AM
Re: Can't have files greater than 2Gb in HPUX 11i
fsadm -F vxfs -o largefiles
then edit your /etc/fsadm and add the entry to the line of your mountpoint.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 04:11 AM
12-29-2003 04:11 AM
Re: Can't have files greater than 2Gb in HPUX 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 04:20 AM
12-29-2003 04:20 AM
Re: Can't have files greater than 2Gb in HPUX 11i
Thanks for your help but I think that your suggestion has already been done (or has it ?).
/etc/fstab already has the largefiles entry as opposed to nolargefiles.
Help !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 04:27 AM
12-29-2003 04:27 AM
Re: Can't have files greater than 2Gb in HPUX 11i
9. Backup utilities that work with large files:
dd
fbackup/frecover
10. UNIX utilities that won't work with large files:
tar, cpio
shell script files (i.e. - ksh -x large_file)
vi
executables (loader)
print files
gzip
11. HP-UX 11.0 will completely support large files.
but not the utilities listed above.
12. All this is explained in:
/usr/share/doc/lg_files.txt
13. Oracle 7.X.X won't support large files.
Oracle 8 will.
14. You can download "gtar" from:
http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/
but I had trouble with it.
15. You need a new "gzip" to support large files
You can get it at:
http://hpux.cs.utah.edu/
http://public.www.planetmirror.com/pub/hpux/Gnu/gzip-1.3.3/
http://hpux.asknet.de/hppd/hpux/Gnu/gzip-1.3.3
You stated above that "..the process stops when the dump reaches 2 GB..". What command are you using to do the "dump". Maybe you need to change commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 04:29 AM
12-29-2003 04:29 AM
Re: Can't have files greater than 2Gb in HPUX 11i
prealloc /bigdir/bigfile 3000000000
which will create a 3Gb file called bigfile. If that works, then your backup is suspect. Are you using an 11.0 version of dump or is this from some other opsystem (not HP-UX)? Or is the backup in tar or cpio or ???
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 04:31 AM
12-29-2003 04:31 AM
Re: Can't have files greater than 2Gb in HPUX 11i
The routine dumps the contents of a progress database to a different file on a different filesystem, so no specific unix commands used I believe.
Any idea's ??
Thanks Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 04:41 AM
12-29-2003 04:41 AM
Re: Can't have files greater than 2Gb in HPUX 11i
Thanks for post. I ran the prealloc command and it worked fine, created a 3Gb file in the filesystem where I'm trying to dump the data into.
Any idea's ?????
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 04:41 AM
12-29-2003 04:41 AM
Re: Can't have files greater than 2Gb in HPUX 11i
In SAM
disk
file system
there is a option allow large files
you need check for files more larger than 2gb
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 06:41 AM
12-29-2003 06:41 AM
Re: Can't have files greater than 2Gb in HPUX 11i
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 07:09 AM
12-29-2003 07:09 AM
Re: Can't have files greater than 2Gb in HPUX 11i
One thought is: do you have the largefiles set on the filesystem your Progress DB lives on? Im sure you do, just checking.
Is there any parameter in Progress that restricts the file size to <2GB? maybe that is hanging it.
Lastly, doesn't the /tmp directory or /var/tmp get called in here somewhere for your Progress DB? What size are they or is that an issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 07:11 AM
12-29-2003 07:11 AM
Re: Can't have files greater than 2Gb in HPUX 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 07:22 AM
12-29-2003 07:22 AM
Re: Can't have files greater than 2Gb in HPUX 11i
1) Create a fifo, e.g. mkfifo -m 660 /u01/mypipe
2) Start a process to read from the fifo and write to a conventional file. e.g. cat < /u01/mypipe > /u02/myexport &
3) Use /u01/mypipe as your output file for the dump. When the dump has finished, the contents of your dump will be in /u02/myexport and, assuming /u02 is largefiles enabled, will not be restricted by the 2GB limit because cat is largefiles enabled. Moreover, because your dump application is no longer writing to a regular file, the 2GB limit doesn't come into play there either.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 08:32 AM
12-29-2003 08:32 AM
Re: Can't have files greater than 2Gb in HPUX 11i
If the dump is indeed a Progress process, then check with Progress support about largefile capabilities. The database may allow for a large file but someone may have forgotten to patch the export portion.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 08:53 AM
12-29-2003 08:53 AM
Re: Can't have files greater than 2Gb in HPUX 11i
I am running HP-UX 11.00 (64-bit) from the Dec 2000 CD, installed Feb 2001 with some OS patches over the years, none specific for tar. I just completed the following test and was able to create a tar file >2GB:
(uxsvrdev) /u07/app/oracle/ofa/shared
# tar -cvf /u06/tar.backup.test ofas.00[123]
a ofas.001 4194296 blocks
a ofas.002 4194296 blocks
a ofas.003 4194296 blocks
(uxsvrdev) /u07/app/oracle/ofa/shared
# what `which tar`
/usr/bin/tar:
$Revision: 82.4.1.3 $
PATCH_11_00: tar.o 99/09/02
(uxsvrdev) /u07/app/oracle/ofa/shared
# ll /u06/tar.backup.test
-rw-r--r-- 1 root sys 6442444800 Dec 29 15:48 /u06/tar.backup.test
(uxsvrdev) /u07/app/oracle/ofa/shared
#
-Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 11:38 AM
12-29-2003 11:38 AM
Re: Can't have files greater than 2Gb in HPUX 11i
witch file system do you have ?
Did you check i-nodes on this file system.
bdf -i i think to check your i-nodes tabel
Can you do the dump of your databse to an another files system ?
I hoop this help
succes
Idriz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 03:05 PM
12-29-2003 03:05 PM
Re: Can't have files greater than 2Gb in HPUX 11i
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2003 10:38 PM
12-29-2003 10:38 PM
Re: Can't have files greater than 2Gb in HPUX 11i
Now where's that mince pie ..... !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2003 07:14 AM
12-30-2003 07:14 AM
Re: Can't have files greater than 2Gb in HPUX 11i
Actually the man page says "tar does not support the archival of files larger than 2GB". It says nothing about the size of the created archive file or tape.
I was able to create an archive file of 12GB using 6 2GB files. I was then able to extract from it file number 5 using a DG computer running DG-UX using the standard tar program shipped with the computer.
The restriction you talk about is when you try to tar a file that is >2GB or >8GB possibably along with other smaller files.
Hope this clears that up,
-Dave