Operating System - HP-UX
1855832 Members
2087 Online
104107 Solutions
New Discussion

What is the max size of a file on a HP/UX 10.20 standard JFS ?

 
SOLVED
Go to solution
John Knapp
Advisor

What is the max size of a file on a HP/UX 10.20 standard JFS ?

Our Oracle DBA may have encountered the maximum size limit of a file (dbf) on our production 10.20 server running JFS (but not Online-JFS). Currently the file is at:

jknapp@ocr_hpux: /oralaw2/oradata/law >
rw-r----- 1 oracle dba 2139097088 Feb 17 15:04 dbsLAW.dbf

Has it reached a 2GB file size limit ????

5 REPLIES 5
Michael Tully
Honored Contributor

Re: What is the max size of a file on a HP/UX 10.20 standard JFS ?

You can go up to 128Gb with the right patches installed.

Check here:
http://www.docs.hp.com/hpux/onlinedocs/5971-2383/5971-2383.html
Anyone for a Mutiny ?
Steven E. Protter
Exalted Contributor
Solution

Re: What is the max size of a file on a HP/UX 10.20 standard JFS ?

Yes, you have reached the limit.

You need to have this file on an filesystem set up for largefiles.

to make a new one.

lvcreate -C y -n oracledata

You want oracle filesystems to be continguous. -C y yes


lvextend -L 30000 /dev/vg01/oracledata /dev/dsk/c1t2d0

-L means size in Megabytes
disk number is an (example)

newfs -F vxfs -o largefiles /dev/vg01/roracledata

That sets up the fs to handle large files.

/etc/fstab needs also to indicate largefiles as a parameter at mount time.


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Tully
Honored Contributor

Re: What is the max size of a file on a HP/UX 10.20 standard JFS ?

I forgot to mention that you'll need to change your filesystem option to 'largefiles'. Seeing you don't have on-line JFS, you'll have to unmount the filesystem to make the change.
Anyone for a Mutiny ?
T G Manikandan
Honored Contributor

Re: What is the max size of a file on a HP/UX 10.20 standard JFS ?

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062972516

HP-UX JFS Disk Layout File Filesystem
Release Version Version Size Size
---------------------------------------------------------------

10.20 Version 3.0 Version 2 2 GB 128 GB
10.20 Version 3.0 Version 3** 128 GB 128 GB


On HP-UX 10.20, the following 3 patches have been introduced
to prevent the creation or extension of JFS filesystems
beyond the supported maximum size of 128 GB.

PHCO_23036 s700_800 10.20 fsadm_vxfs(1M) cumulative patch
PHCO_23037 s700_800 10.20 mkfs_vxfs(1M) cumulative patch
PHCO_23035 s700_800 10.20 extendfs_vxfs(1M) cumulative patch

You need to enable large files incase you are crossing the 2Gb mark.check the
white paper placed at /usr/share/doc/lg_files.txt

Also if you look at the table the disk layout version is 3.
you can use fstyp to find out the current disk layout version.For this make sure
you have the JFS version 3.0.

REvert


Richard Steven
Advisor

Re: What is the max size of a file on a HP/UX 10.20 standard JFS ?

Also remember that when you are creating a fs of very large sizes you will have to specify a larger PE size. I think this is due to certain 'fs map' information being held in each PE.

See the man page for newfs

Richy :-)
If you don't ask you don't get!