1847366 Members
4911 Online
110264 Solutions
New Discussion

Re: Largefiles options

 
abcvn
New Member

Largefiles options

Hi all.
There is an error:

WARNING: largefiles option is not present on mount of /opt,
files may be limited to 2GB in size.
Must What I do to solve this problem.
Thanks
My name is Dong
6 REPLIES 6
Tim Adamson_1
Honored Contributor

Re: Largefiles options

You need to modify the filesystem to support largefiles:

# umount /
# fsadm -F vxfs -o largefiles /


You will need to mount the filesystem using the largefiles option.


# mount -F vxfs -o largefiles /dev/vg??/lvol? /

Make sure you update /etc/fstab to reflect the changes you just made.

Tim.
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
Michael Tully
Honored Contributor

Re: Largefiles options

The first thing is that someone has changed the mounting options for /opt in /etc/fstab.
You can't just change the options, you need to modify the filesystem options first. (not sure why you would need to have largefiles option on /opt anyway)
To fix, remove the word 'largefiles' from the /etc/fstab file.

# vi /etc/fstab
Remove the the word 'largefiles' from the line of /opt
Save the file.

# mount /opt

You must be root to do this, or if you are already in single-user-mode. If you need the largefiles option, then you must use 'fsadm' in single user mode or have the online-JFS product installed.
Anyone for a Mutiny ?
Sridhar Bhaskarla
Honored Contributor

Re: Largefiles options

Hi,

I wonder if you write anything more than 2 GB in /opt. Usually it is set at around 1.5 to 2GB. So there is a little possibility of writing a 2GB file into it unless you set the size very high.

Under normal circumstances, you will not be able to unmount /opt in which case you will need to boot the box in single user mode. Search for these forums to find how to boot into single user mode and use the commands already given in the previous posts.

See if you have OnlineJFS installed by any chance

swlist |grep -i online

You should see something like OnlineJFS in which case you can use the command

fsadm -o largefiles /opt

without having to unmount /opt.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Yogeeraj_1
Honored Contributor

Re: Largefiles options

hi,

This is a "largefiles" problem!

take a look at the following post:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x142feea29889d611abdb0090277a778c,00.html


hope this helps!

regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
T G Manikandan
Honored Contributor

Re: Largefiles options

you can check whether the file system is enabled with large files using

# fsadm /opt
Check whether you have Online JFS installed

# fsadm -o largefiles /opt

If you do not have online JFs you should umount your file system.

twang
Honored Contributor

Re: Largefiles options

To enable largefile option:
# fsadm -o largefiles /opt

To confirm /opt set properly:
# fsadm -F vxfs /opt