Operating System - HP-UX
1827286 Members
1651 Online
109717 Solutions
New Discussion

Re: vxfs & large file size

 
SOLVED
Go to solution
R.Suresh
Frequent Advisor

vxfs & large file size

Dear all,

HP-ux 11 is having capability of 128gb

of single file size,

How to create (or) convert a file system
to have large file size(upto 128gb)?

Is it possible in Vxfs files system?

Thanks & regards
R.Suresh.
PDLS
6 REPLIES 6
Tom Danzig
Honored Contributor
Solution

Re: vxfs & large file size

Unmount the file system (unless you have OnlineJFS) and use fsadm to enable large files.

# fsadm -F vxfs -o largefiles /dev/vgxx/lvolx

Also edit /etc/fstab and change the "nolargefiles" to "largefiles"
Rainer_1
Honored Contributor

Re: vxfs & large file size

this is only available with OnlineJFS 3.3 (B3929CA)
Cheryl Griffin
Honored Contributor

Re: vxfs & large file size

Be sure to check out your documentation online:
/usr/share/doc/lg_files.txt

Has all the instructions and information.

AdvancedJFS (or OnlineJFS) changes this process and makes it easier to manage the filesytem.

There are also several threads on this. Use the Search tab at the left, search for largefiles and select the Forums section.
"Downtime is a Crime."
John Palmer
Honored Contributor

Re: vxfs & large file size

Hi,

To create a filesystem capable of holding large files, specify the option 'largefiles' to mkfs:-

mkfs -F vxfs -o largefiles

You don't have to specify the 'largefiles' option in /etc/fstab as it defaults to the capability of the filesystem. However 'largefiles' in /etc/fstab will fail the mount if the filesystem is not capable and 'nolargefiles' will fail the mount if the filesystem contains any large files.

Regards,
John
CHRIS_ANORUO
Honored Contributor

Re: vxfs & large file size

John is right, you don't have to set largefiles in /etc/fstab, it will take the default.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Tom Danzig
Honored Contributor

Re: vxfs & large file size

Since this is a conversion to largefiles on an existing vxfs files system (obviously created with nolargefiles), there will be a nolargefiles in the fstab file.

OnlineJFS is not required. If you have it, you can skip the umount/mount steps and do it online.