1833883 Members
1944 Online
110063 Solutions
New Discussion

File size question

 
SOLVED
Go to solution
Edward McCouch
Frequent Advisor

File size question

Hello all,

Currently I have a Oracle database server that has Online JFS. The OS is HP-UX 11.0 64 bit. After searching the forums and docs, I have found that:

HP-UX 11.00: JFS 3.3 Version 2: Max file size is 2 GB.
HP-UX 11.00: JFS 3.3 Version 3: Max file size is 1 TB.

According to http://docs.hp.com/hpux/onlinedocs/5971-2383/5971-2383.html the 11.0 JFS 3.3 Version 3 is the default version.

My questions are:

1. How do I determine the version of JFS 3.3?

2. Do I have to specify "-o largefiles" in the newfs command so that the Oracle DBA can create a file larger than 2 GB?


Thanks in Advance,
Ed

6 REPLIES 6
Alan Casey
Trusted Contributor

Re: File size question

Hi,

I know that you do need to specify -o largefiles, as I have had the same problem.

Not sure how to get the version
Sebastian Galeski_1
Trusted Contributor

Re: File size question

answer for 1st question use:
fstyp -v /dev/vgxx/lvolxx

hope it help
Uday_S_Ankolekar
Honored Contributor
Solution

Re: File size question

Hi,

Try fstyp command

EX: fstyp -v /dev/vg00/lvol4 will show you the version.

And yes you need to use -o largefile for filesize bigger than 2GB

-USA..
Good Luck..
Stefan Farrelly
Honored Contributor

Re: File size question


You dont need to use the -o largefiles on the newfs command, you can do it on-the-fly with the fsadm command (fsadm -o largefiles) - this saves you having to remount or re-newfs.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Edward McCouch
Frequent Advisor

Re: File size question

Ok, I have version 3 of JFS 3.3.

I know that I can extend the logical volume while it is still mounted, I was curious about the "-o largefiles" option b/c our DBA is "reorging" the database and wants to create files that are larger than 2 GB. When I intially created the space, I didn't use the -o largefiles b/c I thought that the max file size was 1 TB.

So the moral of the story is to create the spaces with "-o largefiles" so that my DBA can create files larger than 2 GB.

Thank you all.
Bill Hassell
Honored Contributor

Re: File size question

You may want to download the bdfmegs program where the -v option reports not only the size in megs (rather than kbytes) but also reports on the filesystem type (cdfs, hfs, vxfs, nfs), the block and frag size for each filesystem, whether it supports largefiles and also for VxFS, the version (ver 2,3 or 4) for each filesystem.

ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/coolscripts/

NOTE: ftp, not http. Feel free to borrow any of the scripts there as well as from the upper directories. The attachment shows a sample output for bdfmegs -v


Bill Hassell, sysadmin