Link to home
Start Free TrialLog in
Avatar of rdashokraj
rdashokraj

asked on

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.

Thanks,
Ashok



root@boraxo>bdf
Filesystem          kbytes    used   avail %used Mounted on
.
.
/dev/vg02/lv_db02  80896000 52468827 26650502   66% /db02
.
.
root@boraxo>
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
 
root@boraxo>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rdashokraj
rdashokraj

ASKER

Thanks for the link. I will check it out and let you know.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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:

/sbin/fs/vxfs3.3/vxenablef

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.
Thank you very much for the additional feedback!