1840116 Members
2125 Online
110161 Solutions
New Discussion

JFS and largefiles

 
SOLVED
Go to solution
James Odak
Valued Contributor

JFS and largefiles

I been looking through all the stuff on JFS and large file enableing
i have question i need a definite answer on that i can not seem to find

If you have online JFS and use the fsadm can you on a file system with an active and running oracle databse enable large files with out unmounting AND with out loosing all the data in the file system

I can't see why you would even bother to want to do this to a mounted file system if it was going to give you an empty file system so maybe this is an obvious question ..but it doesn't state it in any documention that i found.


thanks
Jim
7 REPLIES 7
PIYUSH D. PATEL
Honored Contributor

Re: JFS and largefiles

Hi,

If you have Online JFS and you have vxfs filesystem then you need not unmount the filesystem and you can enable the largefiles option on it with the fsadm command.

fsadm -F vxfs -o largefiles /dev/vg02/lvol2

Umounting is required for hfs filesystem.

Piyush
James R. Ferguson
Acclaimed Contributor

Re: JFS and largefiles

Hi Jim:

Yes, with Online JFS, you *can* dynamically increase the size of a filesystem, including one housing Oracle datafiles without corruption of data.

Regards!

...JRF...
James Odak
Valued Contributor

Re: JFS and largefiles

um both of you just missed the the answer i am looking for, heh

can i enable largefiles with JFS without corupting or loosing at any data on a filesystem housing oracle datafiles


Jim
James R. Ferguson
Acclaimed Contributor
Solution

Re: JFS and largefiles

Hi (again)Jim>

Sorry, I misread the question, but:

Yes, with Online JFS, you *can* enable largefiles support using 'fsadm'. This can be done on a a filesystem, one housing Oracle datafiles without corruption of data.

Enabling 'largefiles' really amounts to setting one variable in the internal filesystem description.

Regards!

...JRF...

S.K. Chan
Honored Contributor

Re: JFS and largefiles

Jeff Schussele
Honored Contributor

Re: JFS and largefiles

Hi Jim,

You sure can - that's the beauty of OnLine JFS. Shouldn't even see a performance blip either.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
A. Clay Stephenson
Acclaimed Contributor

Re: JFS and largefiles

Hi Jim:

I was all but absolutely certain but I just tried this on my Sandbox running HP-UX and Oracle 8.1.7.

First I set the nolargefiles flag.
fsadm -F vxfs -o
nolargefiles /PrdOra/oradata

Next I started the database and did a few queries.

Next,
fsadm -F vxfs -o largefiles /PrdOra/oradta

I then did some more queries and Oracle never missed a beat.

The online fsadm command is safe.

Regards, Clay
If it ain't broke, I can fix that.