1834804 Members
2652 Online
110070 Solutions
New Discussion

Re: largefiles & fstab

 
SOLVED
Go to solution
Sergejs Svitnevs
Honored Contributor

largefiles & fstab

Hello,

I have enabled largefiles on one of my filesystem using command:

# fsadm -o largefiles /

Now fsadm gives the following output:

# fsadm /
fsadm: /etc/default/fs is used for determining the file system type
largefiles

Everything is ok.

Do I need to add the "largefiles" option in the entry in /etc/fstab?

HP-UX 11.11.

Thanks,
Sergejs
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: largefiles & fstab

No.


Pete

Pete
Sunil Sharma_1
Honored Contributor

Re: largefiles & fstab

Hello,

No need to add largefiles option in fstab file.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
A. Clay Stephenson
Acclaimed Contributor

Re: largefiles & fstab

The system has to reference /etc/default/fs to determine the type of filesystem (hfs, vxfs, ...) because you were too lazy, too sloppy, too sleepy, or just messed up this time) to use the -F vxfs (or -F hfs) fsadm option. Once you have set the largefiles option on the filesystem, it is not necessary to set it when the filesystem is mounted. In fact, it doesn't do what you think it does as a mount option. Man mount_vxfs (or mount_hfs) for more details.
If it ain't broke, I can fix that.
Sergejs Svitnevs
Honored Contributor

Re: largefiles & fstab

Could you point me to a good HP document about largefiles?
A. Clay Stephenson
Acclaimed Contributor

Re: largefiles & fstab

Man mount_vxfs should tell you everything you need to know.
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor
Solution

Re: largefiles & fstab

Hi Sergejs:

The "original" white paper on largefiles is this:

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

Regards!

...JRF...
Sergejs Svitnevs
Honored Contributor

Re: largefiles & fstab

thanks
Steve Andrews_6
Frequent Advisor

Re: largefiles & fstab

Some additional information. After you change the file system mount point to largefiles, you can verify the channge with the mkfs -m command to see the file build structure. See the example below:

# mkfs -m /dev/vg00/lvol9

mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=4,inosize=256,logsize=1024,nolargefiles /dev/vg00/lvol9 102400

Yours should come back largefiles.
In God We Trust