cancel
Showing results for 
Search instead for 
Did you mean: 

largefiles support

SOLVED
Go to solution
Mohd Azahari
Advisor

largefiles support

Hi,

I'm planning to change the nolargefiles support to largefiles using the following:

fsadm -F vxfs -o largefiles /opt/app/amdocs

My question is:
1)any impact if I do it online. Will it caused corruptions. Currently this is production application hosting filesystem. I'm not able to backup due to 2gb limitations

thanx for helping
9 REPLIES
Taifur
Respected Contributor

Re: largefiles support

Hi,

If Online JFS install in ur server then u can use fsadm for filesystem without down ur server. You can also extend filesystem without down ur server.

However for precaution, you should take make_tape_recovery backup for doing anything with ur server.

Hope. it will resolve ur problem.

Rgds//
Taifur
Durvesh Mendhekar
Regular Advisor

Re: largefiles support

Large files can be created only on file systems with disk layout Version 3 or above. A file system with large files cannot be mounted on an HP-UX system older than HP-UX 10.20. Many existing applications cannot operate on large files.

Setting the flag with the -o largefiles option succeeds only if the file system has the Version 3 disk layout or above. Clearing the flag with the -o nolargefiles option succeeds only if the flag is set and there are no large files present on the file system.

The -o largefiles and -o nolargefiles options are the only fsadm options that can be used on an unmounted file system. An unmounted file system can be specified by invoking fsadm with a special device rather than a mount point. If an unmounted file system is specified, it must be clean.

Changing the largefiles flag may require changes to /etc/fstab. For example, if fsadm is used to set the largefiles flag, but nolargefiles is specified as a mount option in /etc/fstab, the files system is not mountable.

Durvesh
johnsonpk
Honored Contributor

Re: largefiles support

Hi,

I did it many times on production ,and even increased/reduced production fs online..never find any problem ....

How big is the file system ? if you free space on any other mountpoint that has largefles enable ,,take a tar backup on to that moutpoint ..
Mohd Azahari
Advisor

Re: largefiles support

Hi,

thanx for replying:
here's some info on my prod machine
# uname -a
HP-UX iccsjvp2 B.11.23 U 9000/800 1170259924 unlimited-user license

# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1212416 342848 862840 28% /
/dev/vg00/lvol1 1776056 121968 1476480 8% /stand
/dev/vg00/lvol7 8912896 2852216 6019856 32% /var
/dev/vg00/lvol6 5275648 1798280 3450248 34% /usr
/dev/vg00/lvol5 524288 48712 471936 9% /tmp
/dev/vg00/lvol4 7733248 4177040 3531360 54% /opt
/dev/vg00/lvol9 5144576 1468752 3446101 30% /opt/app/oracle
/dev/vg00/lvol10 51216384 11176517 37538296 23% /opt/app/amdocs
/dev/vg00/lvol8 131072 39464 90936 30% /home
/dev/vg00/lvol11 1048576 272947 727416 27% /ca

I'm trying to take backup of /opt/app/amdocs. I do not have any other free largefiles filesystem.
Nido
Trusted Contributor

Re: largefiles support

Hi,

As Nike Says 'Just Do It'.

Below command is fine as long as you've Online JFS, there is no impact ; as I did it on many systems.
fsadm -F vxfs -o largefiles /opt/app/amdocs

Cheers!!
" Let Villagers Be Happy!! "
Michael Steele_2
Honored Contributor

Re: largefiles support

"...If even one large file is detected on the filesystem being converted, then the fsadm command will not convert the filesystem. Therefore, if it is necessary to convert a large-files filesystem that actually has large files on it to a no-large-files filesystem, the large files must be
removed before conversion..."

http://docs.hp.com/en/940/lgfiles4.pdf

See above largefiles whitepaper which OK's the conversion fron NO largefiles to YES largefiles using the 'fsadm' command but only on the RAW LVOL and only when the file system is UNmounted and only if there currently are no largefiles.

"...the large files must be removed before conversion..." is clearly stated in the whitepaper.

Note that I could find no publication date on this whitepaper and that it was found in this April 2005 thread:

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1265173882497+28353475&threadId=857114
Support Fatherhood - Stop Family Law
Johnson Punniyalingam
Honored Contributor
Solution

Re: largefiles support

Below is the procedue for converting lvols info largefiles.

swlist -l product |grep -i jfs -> to Check Online JFS Installed

To add the 'largefiles' option, do the following:

fsadm -F vxfs -o largefiles

Then run the 'fsadm' command again to check status:

fsadm -F vxfs

Lastly, edit the /etc/fstab to indicate the changes as follows:

[Original]
/dev/vg03/lvol4 /usr/sap vxfs delaylog 0 3

[Modified]
/dev/vg03/lvol4 /usr/sap vxfs largefiles,delaylog 0 3

The comma after largefiles is very important.

if you have Online JFS Installed , you can do changes ONLINE , no impact

HTH,

Regards,
Problems are common to all, but attitude makes the difference
Mohd Azahari
Advisor

Re: largefiles support

guys,

thanx a lot
Michael Steele_2
Honored Contributor

Re: largefiles support

LOL
The decision making process sometimes cracks me up. How an HP publication can be so easily dismissed.
Good luck youngster. You'll need it.
Support Fatherhood - Stop Family Law