1825693 Members
3273 Online
109686 Solutions
New Discussion

largefiles

 
SOLVED
Go to solution
Steven Boyer
Advisor

largefiles

whats the syntax for adding largefiles to /etc/default/fs

thanks
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: largefiles

Hi Steven:

/dev/vg02/lvol1 /patches vxfs rw,suid,largefiles,delaylog,nodatainlog 0 2

That is, 'largefiles' or 'nolargefiles'.

This being said, it is the underlying filesystem that sllows or disallows 'largefiles'. While you can make the declaration in '/etc/fstab' this declaration must match the actual filesystem setting or the mount will fail.

To enable 'largefiles' for a filesystem, do:

# fsadm -F vxfs -o largefiles /dev/vg02/rlvol1

To see the 'largefiles' setting, do:

# fsadm -F vxfs /dev/vg02/rlvol1

Regards!

...JRF...
Regards!

...JRF...
Deepak Kr
Respected Contributor
Solution

Re: largefiles

see:

cat /etc/default/fs
LOCAL=vxfs

it does not contain any such info but /etc/fstab does as james said.

largefiles option is enabled when you create a file system or convert a file system

e.g

newfs -F vxfx -o largefiles /dev/vg02/lvol1

and

fsadm -F hfs -o largefiles /dev/vg02/lvol1
"There is always some scope for improvement"
Prashanth Waugh
Esteemed Contributor

Re: largefiles

Hi Steven,

No need to make the entry in /etc/default/fs for large files.only make the entry given below
1)cd /etc/default
2)vi fs
3)enter the below given line
Local=vxfs
===================================
when we are going to create the FS using newfs that time we use -o largefiles.If the file size is greater 2GB then we are are using -o largefiles

Regards
Prashant

For success, attitude is equally as important as ability
SKR_1
Trusted Contributor

Re: largefiles

Do

newfs -F vxfx -o largefiles /dev/vg02/lvol1

Thanks

SKR