cancel
Showing results for 
Search instead for 
Did you mean: 

Largefile system

Iqbal Khan_2
Advisor

Largefile system

hello all,
I created a filesystem supporting the largefile option. Please, can someone shed some light as to how to mount it with that option. I am on hp-ux 10.20
Thanks in advance,
Iqbal
7 REPLIES
Sanjay_6
Honored Contributor

Re: Largefile system

Hi Iqbal,

To manually mount the filesystem with largefiles option use,

mount -F vxfs -o largefiles /dev/vg_name/lv_name /mount_point

use "hfs" in place of "vxfs" if you are using a hfs filessytem.

To set the option automaticlly in /etc/fstab have the option largefiles added to other options for the filesystem.

Hope this helps.

Regds
James R. Ferguson
Acclaimed Contributor

Re: Largefile system

Hi:

If you have enabled the 'largefiles' support, then you can create largefiles without doing anything special. The 'largefiles' / 'nolargefiles' mount options as defined in '/etc/fstab' can be used to signify and control largefile support as noted in table-1 in this document:

http://docs.hp.com/hpux/onlinedocs/os/lgfiles4.pdf

...JRF...
Uday_S_Ankolekar
Honored Contributor

Re: Largefile system

Hi,

you can follow this way for vxfs file system
mount -F vxfs -o largefiles /dev/vg_name/lv_name /mount_point
and for hfs replace hfs with vxfs in above line

also modify /etc/fstab file accrdingly
Next time while booting this mount point will mount

Goodluck,
-USA..


Good Luck..
Dave La Mar
Honored Contributor

Re: Largefile system

Let me understand -
If you created this i.e.
newfs ???F vxfs ???o largefiles /dev/vg0_XX/rlvol0_XX

then you do or do not have to mount with the
-o largefiles option in the syntax? (Assume no entry in fstab.)
"I'm not dumb. I just have a command of thoroughly useless information."
Bill Hassell
Honored Contributor

Re: Largefile system

As mentioned, a largefile filesyetem must be initialized that way with newfs, or modified that way with fsadm, and then mounted that way with the mount command. However, it will not remount automatically until fstab is changed.

That being the case, I always place the appropriate mount statement in fstab, then test it by mounting the filesystem using it's mountpoint name only (no options):

# mount /bigfiles

That tests everything about this mountpoint and verifies that it will return after a reboot. To easily see if the filesystem allows largefiles (and other features), get a copy of bdfmegs from:

ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/coolscripts/

bdfmegs -v shows all the details (root needed). bdfmegs -l shows just local filesystems and anyone can run this. It is particularly useful as the output is always 1 line per mounpoint.


Bill Hassell, sysadmin
Iqbal Khan_2
Advisor

Re: Largefile system

once again thanks to all.
Deepak Extross
Honored Contributor

Re: Largefile system

Well, if any of that helped solve the problem, how come we dont see no bunny-out-of-the-hat?