Operating System - HP-UX
1848353 Members
7729 Online
104024 Solutions
New Discussion

Problem to set largefiles

 
SOLVED
Go to solution
Marcelo De Florio_1
Frequent Advisor

Problem to set largefiles


# fsadm -F vxfs -o largefiles /oracle/CVP/sapdata2
fsadm: set feature (LARGEFILES) failed, errno 25

any ideas

MDF
Marcelo De Florio
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: Problem to set largefiles

First, is this at least a Version 3 vxfs filesystem? If not, largefiles are not available. I would also try the device node rather than the mountpoint.
If it ain't broke, I can fix that.
Patrick Wallek
Honored Contributor

Re: Problem to set largefiles

Do you have the OnLine JFS product? If not, you may not be able to do this on-the-fly.

If you don't have online JFS, you'll probably have to umount the filesystem and then try it.

Don't forget to change /etc/fstab so that the 'largefiles' option is in the mount options for the LV.
S.K. Chan
Honored Contributor
Solution

Re: Problem to set largefiles

You'll get this error if you try to run fsadm to change your FS behavior on-the-fly on a system that does not have OnlineJFS. So you'll need to umount it first, then run fsadm ..
# umount /oracle/CVP/sapdata2
# fsadm -F vxfs -o largefiles /dev/vg02/rlvol2
==> assuming "/oracle/CVP/sapdata2" is on vg02 (lvol2)

Michael Tully
Honored Contributor

Re: Problem to set largefiles

Hi,

Here is a method on how to check what version of 'vxfs' you have

# fstyp -v /dev/myvg/mailbox
vxfs
version: 3
f_bsize: 8192
f_frsize: 1024
f_blocks: 204800
f_bfree: 202574
f_bavail: 202574
f_files: 544
f_ffree: 1073792296
f_favail: 1073792296
f_fsid: 1073807361
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 0
f_fsindex: 5
f_size: 204800

HTH
Michael
Anyone for a Mutiny ?
Peter Gillis
Super Advisor

Re: Problem to set largefiles

use 'fstyp -v dev-filename' to establish verion of vxfs. Need to be at version 3 vxfs for largefiles.
Is this a new filesystem being created? If so, need to use the 'newfs' command rather than fsadm. Then create the mountpoint directory; mount it with the largefiles option; add to /etc/fstab.
Hope this has been a little help.

se ya, Maria.
Zeev Schultz
Honored Contributor

Re: Problem to set largefiles

Patric is right,you have to umount the filesystem and run on device not the mount point name:
umount /fs
fsadm -F vxfs -o largefiles /dev/vg01/rlvol1

So computers don't think yet. At least not chess computers. - Seymour Cray