1832654 Members
3851 Online
110043 Solutions
New Discussion

fsadm - largefiles

 
SOLVED
Go to solution
maros
Advisor

fsadm - largefiles

I have a problem to set the largefiles option for the root FS. I run fsadm on a mounted root FS (/). According to the manual -o largefiles should work with mounted FS (I am not sure whether I would have fsadm available after I run umount /).
The error message is:
>fsadm -F vxfs -o largefiles /
fsadm: set feature (LARGEFILES) failed, errno 25
>fsadm -F vxfs /
nomultifsets
nolargefiles

The machine is HP C3650 running on HP-UX 11.00.
Shall I run umount / and then run:
fsadm -F vxfs -o largefiles /dev/vg00/lvol3 or shall I do anything else? Thanks a lot
9 REPLIES 9
Sanjay_6
Honored Contributor

Re: fsadm - largefiles

Hi Marcos,

Do you have onlineJFS installed. If so then you can run fsadm when the / is mounted, else it is not possible to do so. Why do you want to enable largefiles for root filesystem. You don't need largefiles enabled for root filesystem.

Hope this helps.

Regds
Rita C Workman
Honored Contributor

Re: fsadm - largefiles

I do not believe that this is something you want to do...

Let me explain...
Root / (and /stand) are two file systems that MUST remain contiguous. Extending them is very very difficult, and most folks don't do this because of the contiguous disk factor.
Putting unnecessary (and especially large) files under root / can cause it to lock up your system.
Create another mountpoint (possibly on another disk) and set that /filesystem to largefiles.....BUT I do not recommend trying to set / root with the largefiles option.

Just my thoughts,
Rit
Steven Gillard_2
Honored Contributor

Re: fsadm - largefiles

Firstly, you must have online JFS installed for this to work on a mounted file system.

Secondly, why do you need to create >2Gig files on the root file system?!?

Regards,
Steve
Trond Haugen
Honored Contributor
Solution

Re: fsadm - largefiles

If you don't have AdvancedJFS you must boot in maintanance mode to enable large files on /.
But do you realy have a / that's larger than 2Gb??

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
maros
Advisor

Re: fsadm - largefiles

Thank you all for the answers. I decided not to enable largefiles on /. I will do it on another FS. Do I need Advanced JFS installed for this? Can I get Advanced JFS on any HP software porting archive and install via swinstall or is it licensed?
Vijeesh CTK
Trusted Contributor

Re: fsadm - largefiles



Hi ,

As per my knowledge..HP Online JFS is a priced product.



Vijeesh CTK
Trond Haugen
Honored Contributor

Re: fsadm - largefiles

Advanced JFS is probably not worth its price just to be able to do this. But if you want to be able to increase lvols on the fly and take snapshot backups of filesystems it might.
Having said that all you need to do to enable largefiles via fsadm is to umount the filesystem. For a vg00 filesystem the best option is to boot in single user and run the fsadm-command. Then you can edit fstab and bring the system up.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Chris Hebert
New Member

Re: fsadm - largefiles

What if someone really wants/needs to enable largefiles on / (root)? After you boot into maint. mode what then? I tried fsadm on the lvol but it says the device doesn't exist.
James R. Ferguson
Acclaimed Contributor

Re: fsadm - largefiles

Hi:

I believe that the problem is that you are not using the *raw* device:

# fsadm -F hfs -o largefiles /dev/vgXX/rlovX

However, I would *not* enable largefiles on any of the logical volumes associated with vg00. The reason is that Ignite 'make_tape_recovery' utilizes 'pax' to create its archive and 'pax' does not support largefiles.

Regards!

...JRF...