Operating System - HP-UX
1850404 Members
1878 Online
104054 Solutions
New Discussion

How do I enable large filesystems.

 
SOLVED
Go to solution
Angela Shepherd
Advisor

How do I enable large filesystems.

Can I modify a filesystem to allow large files without unmounting the filesystem.
NO personal quote
11 REPLIES 11
Pete Randall
Outstanding Contributor
Solution

Re: How do I enable large filesystems.

Hi,

Use fsadm:

fsadm -F hfs -o largefiles /dev/vg02/lvol1


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: How do I enable large filesystems.

To enable largefile support on an *existing* filesystem you need to unmount the filesystem if you do not have Online JFS and/or the filesystem isn't VxFS. To enable the support, use the raw device file:

# fsadm -F vxfs -o largefiles /dev/vgXX/rlvolY

The conversion takes just a few seconds.

To see if largefiles support is enabled or disabled for a filesystem, do:

# fsadm -F vsfs /mountpoint

Regards!

...JRF...
Keely Jackson
Trusted Contributor

Re: How do I enable large filesystems.

Hi

You can enable large filesystems with the following:

fsadm -F hfs -o largefiles /dev/vgxx/lvoln

use -F vxfs if your filesystem is vxfs.

If you have on-line jfs you won't need to unmount your file system.

Cheers
Keely

Live long and prosper
Tom Maloy
Respected Contributor

Re: How do I enable large filesystems.

And after you modify it, don't forget to add that option to the entry in /etc/fstab:

/dev/vg20/lvol2 /mnt_point vxfs largefiles,delaylog 0 2


Carpe diem!
Angela Shepherd
Advisor

Re: How do I enable large filesystems.

Can I do this throug SAM or do I have to use the fsadm command.
NO personal quote
Leif Halvarsson_2
Honored Contributor

Re: How do I enable large filesystems.

Hi

Or you can use SAM to do this more user-friendly.
Leif Halvarsson_2
Honored Contributor

Re: How do I enable large filesystems.

Sorry,
I wrote my reply before your question.
Yes you can use SAM for this. Select Disk and Filesystems, then Filesystems, select the filesystem you want to modify and then Actions/Modify. Then select Allow large files.
fg_1
Trusted Contributor

Re: How do I enable large filesystems.

Hi Angela

You can do it either thru cmd line: (more prefered Method)

fsadm -F (vxfs or hfs) -o largefiles /dev/vg##/lvol##

or thru sam:

Select: Disk and Filesystems
Select: Filesystems
Select: Filesystem you want to modify.
Select: Actions/Modify.
Select: Select Allow large files.

Gl

Angela Shepherd
Advisor

Re: How do I enable large filesystems.

Thank you. I used SAM and didn't have to umount the filesystem. Please close this issue.
NO personal quote
MANOJ SRIVASTAVA
Honored Contributor

Re: How do I enable large filesystems.

Also Angela


if you run

mkfs -m /dev/vg00/lvol1 you can know with what options the filesystem was created



Manoj Srivastava
Stephen Serbe
Occasional Advisor

Re: How do I enable large filesystems.

FYI... I had the same question yesterday, but I performed a search with a couple of the keywords and found very similar answers. The search facility on this web site is very helpful! Thanks everybody for the contributions!
A man without a smiling face should not open shop