How to increase max filesize limit in HPUX filesystem?

Hello Experts,

One of our customer is having a requirement to increase the maximum filesize limit to 2GB of a particular filesystem in HPUX? (without downtime & without losing data).  His query is as follows:

"Can you please make all the /db02 filesystem as big file system?
Currently it doesn't allow growing a single file larger than 2G "

Please let me know wheather it is possible in HPUX. If Yes, please let me know the steps.
 I have shown you some results about that filesystem in the snippet.


Filesystem          kbytes    used   avail %used Mounted on
/dev/vg02/lv_db02  80896000 52468827 26650502   66% /db02
root@boraxo>lvdisplay /dev/vg02/lv_db02
--- Logical volumes ---
LV Name                     /dev/vg02/lv_db02
VG Name                     /dev/vg02
LV Permission               read/write
LV Status                   available/syncd
Mirror copies               0
Consistency Recovery        MWC
Schedule                    parallel
LV Size (Mbytes)            79000
Current LE                  19750
Allocated PE                19750
Stripes                     0
Stripe Size (Kbytes)        0
Bad block                   on
Allocation                  strict
IO Timeout (Seconds)        default
root@boraxo>vgdisplay /dev/vg02
--- Volume groups ---
VG Name                     /dev/vg02
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      7
Open LV                     7
Max PV                      16
Cur PV                      9
Act PV                      9
Max PE per PV               4342
VGDA                        18
PE Size (Mbytes)            4
Total PE                    22456
Alloc PE                    22404
Free PE                     52
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Please see "Enabling Large File Support on HP-UX" in the link below:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rdashokrajAuthor Commented:
Thanks for the link. I will check it out and let you know.
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
you will have to enable the "large file option" for the file system.
Unfortunately, you will have to umount and mount the filesystem to apply the change :-(
This will create a short donwtime for all applications accessing the file system.
# umount /db02
# fsadm -F hfs -o largefiles /dev/vg02/lv_db02
# mount /db02
rdashokrajAuthor Commented:
Thanks for your solution. In addition, i would like to share one feature in HPUX, which allows to do filesystem operations online (One of my friend has suggested me this solution).  Its OnLineJFS. If we have a licensed version installed on the machine, we do filesystem operations like extending, increasing filesize limit, without unmounting the filesystem. To check whether OnlineJFS is enabled or not, we can use the following command:


vxenablef displays the licensed features enabled in the kernel. If
OnLineJFS features are enabled, it will print the following:

System is licensed for features
Full_VxFS HP_DMAPI                         <-- It should display like this.

Thanks again for your inputs.
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
Thank you very much for the additional feedback!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.