1851395 Members
2569 Online
104058 Solutions
New Discussion

Re: File Limit size

 
SOLVED
Go to solution
Larry Scheetz
Advisor

File Limit size

Admins,
This may be a stupid one but is there a way to make the system (11.0) recognize file sizes bigger than 2gig? I can't seem to find any docs on this. Can someone point me in the right direction so that I can check into this. Thank You
A Happy heart makes the face cheerful
8 REPLIES 8
Jeff Schussele
Honored Contributor
Solution

Re: File Limit size

Hi Larry,

To do so you have to enable "largefiles" when you create the filesystem - command is like as follows:
newfs -F vxfs -o largefiles /dev/rdsk/cxtydz

This will enable that FS to support files > 2 Gb.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Larry Scheetz
Advisor

Re: File Limit size

This is great information to have. I guess now the question is can I change a current file system to this? Thanks again
A Happy heart makes the face cheerful
Sanjay_6
Honored Contributor

Re: File Limit size

Hi,

First Check whether your filesystem is "largefiles" enabled or not,

fsadm /dev/vg_name/rlv_name
it should show largefiles. If it says "nolargeiles", enable largefiles for this lv,

fsadm -F vxfs -o largefiles /dev/vg_name/rlvname

Next modify the mount options in the /etc/fstan file to mount this filesystem with largefiles enabled,

/dev/vg_name/lvname /mount_point vxfs rw,suid,largefiles,delaylog,datainlog 0 2

Now mount the filesystem,

mount -a

Hope this helps.

Regds
Sajid_1
Honored Contributor

Re: File Limit size

hello,

yes, the large files option will do the task for you. For changing this property on an existing file system, you need to do this command:
# fsadm
# man fsadm for details
learn unix ..
Dave Chamberlin
Trusted Contributor

Re: File Limit size

After creating a file system with the largefiles option, you will need to mount it with that option by adding that to your /etc/fstab file - ie:
/dev/vg01/u01 /u01 xvfs delaylog,largefiles 0 2 (for vxfs)
Sajid_1
Honored Contributor

Re: File Limit size

Hello,

again, you can check the current parameters with:
1) Editing the /etc/fstab
2) with:
# fsadm lv_name

For changing, you need to edit the file fstab and put entries for it and change it in the fsadm command:
# fsadm -F vxfs -o largefiles /dev/vgxx/rlvolx

HTH
learn unix ..
Tom Maloy
Respected Contributor

Re: File Limit size

After you get the filesystem to work with the largefiles option, make sure that you check your fstab entries. Unmount the filesystem and then do "mountall". It's really annoying when the system boots and the filesystem won't mount because that option wasn't set in the fstab file. Or so I've heard...

Tom
Carpe diem!
MANOJ SRIVASTAVA
Honored Contributor

Re: File Limit size

Hi

mkfs -m /dev/vgxx/lvola

will give you the current options or the option with which ti was created.

If you ahve onlin JFS then

fsadm -o largefiles /mnt pt


will change it to large file . make sure you edit the /etc/fstab to accomadte the mount wiht large files.


Manoj Srivastava