In Sun Solaris, UFS file system default maximum file size is 2GB which restricts the maximum size of any file will be restricted to 2GB. This can cause problems with applications like Databases.
Solaris 10 by default however sets the Maximum file Size to unlimited on the UFS File System.
To check the limits (if any) set on the File System tryROOT# ulimit -a | grep file
To Set unlimited maximum filesize using ulimit
ROOT# ulimit unlimited
Edit the /etc/default/login file
Edit the /etc/default/login file using your favorite editor and uncomment the line “ULIMIT” and set the value to “0″ as follows:
Remount the File System with “nolargefiles” option
solarisserver# mount -F ufs -o remount,larefiles /dev/dsk/c0t0d0s7 /export/home
To preserve the setting at system boot, edit the /etc/vfstab and add “largefiles” under the option tab for the file system as follows. The next time the system reboots, the largefiles option is set.
/dev/dsk/c0d0s7 /dev/rdsk/c0d0s7 /export/home ufs 2 yes largefiles
This should fix the Maximum file size issue in UFS File System in Sun Solaris.