Operating System - HP-UX
1826383 Members
4308 Online
109692 Solutions
New Discussion

vxfs and files larger than 2 Gb...

 
Jim Wolff
Occasional Advisor

vxfs and files larger than 2 Gb...

PLEASE HELP:

I am also having a problem similar to Gerhard Klein's problem, only that when I try to use fsadm to make the system allow large files, it fails...

# fstyp /dev/vg01/lvol7
vxfs

(trying it first using the mount point directory name)

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

(now trying it correctly using the actual name)

# fsadm -F vxfs -o largefiles /dev/vg01/lvol7
vxfs fsadm: /dev/vg01/lvol7 is not the root inode of a vxfs file sytem

(tried it without specifying the -F vxfs, but getting same errors)

from the mnttab and fstab files...

mnttab: /dev/vg01/lvol7 /ora6 vxfs delaylog,nodatainlog 0 0 986555795

fstab: /dev/vg01/lvol7 /ora6 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2

Also tried to edit the fstab and change nolargefiles to largefiles, unmount the mount, try using fsadm as above, but still got the same errors and it would not work, (nor would it allow me to mount it back until I put it back the fstab entry the way it was)...

Any help would be greatly appreciated.

jim wolff
Sr. Oracle DBA
5 REPLIES 5
MARTINACHE
Respected Contributor

Re: vxfs and files larger than 2 Gb...

Hi,

Did you try to use SAM for this modification?

Perharps SAM will give you a more "usefull error" ???

Regards,

Patrice.
Patrice MARTINACHE
Vincenzo Restuccia
Honored Contributor

Re: vxfs and files larger than 2 Gb...

If you have OS 11.00 try with PHKL_19202
A. Clay Stephenson
Acclaimed Contributor

Re: vxfs and files larger than 2 Gb...

Are you trying to fsadm a mounted filesystem and do not have Online JFS?
You may need to unmount the filesystem and fsck
to be sure that it is marked clean before fsadm will proceed.
If it ain't broke, I can fix that.
Rita C Workman
Honored Contributor

Re: vxfs and files larger than 2 Gb...

I think A. Clay has hit the nail on the head. Here's a copy of a thread I found that may help:

When I issue fsadm to enable largefiles on my JFS filesystem, I get the following error:

command: fsadm -F vxfs -o largefiles /home

error: fsadm: set feature (LARGEFILES) failed, errno 25.
Error 25 means ENOTTY.

Why am I getting this error?
Solution
The error occurs because you are trying to perform the fsadm command on a mounted filesystem, but you do not have the On-line JFS product. If you do not have OnlineJFS, you can enable the largefiles feature by first unmounting the filesystem and then running fsadm on the device name rather than the mount point:

umount /vxfs
fsadm -F vxfs -o largefiles /dev/vg01/rlvol1


Regards,
/rcw
James R. Ferguson
Acclaimed Contributor

Re: vxfs and files larger than 2 Gb...

Hi Jim:

In addition to having Online JFS installed, you need to specify the *raw* device as the special file argument. Note the "rlvol":

# umount /
# fsadm -F vxfs -o largefiles /dev/vgXY/rlvolX

Then, as you corrected indicated, change the "nolargefiles" to "largefiles" in the appropriate entry in /etc/fstab and reount the filesystem.

...JRF...