1831210 Members
3039 Online
110021 Solutions
New Discussion

Re: largefiles on root

 
Chris Hebert
New Member

largefiles on root

What is someone really wants/needs to enable large files on the root filesystem? If you boot into maintenence mode "hpux -lm" what do you do then?
I tried using fsadm on the lvol but it says the device doesn't exist.
7 REPLIES 7
Michael Tully
Honored Contributor

Re: largefiles on root

Hi Chris,

If you already haven't done so, you need to increase the size of your partition first. Because this partition has to be contiguous, it has to be done either by a fresh install, via ignite or on-line JFS.

Why would you want your root filesystem more than 2Gb anyway??

Anyway here is the entry for largefiles in /etc/fstab

/dev/vg00/lvol3 / vxfs delaylog,largefiles 0 2

Having given this more thought I'm not sure it can be done..... I'be interested in hearing what others have to say...

Michael
Anyone for a Mutiny ?
Chris Hebert
New Member

Re: largefiles on root

For the application I'm running on this workstation we created just the root filesystem with 6G, no others. So its plenty big. But when I boot "hpux -lm" and try "fsadm -F hfs -o largefiles /dev/vg00/lvol3" it says "No such device or address".
Michael Tully
Honored Contributor

Re: largefiles on root

By default (HPUX 11 and later) the /dev/vg00/lvol3
logical volume is created as a JFS filesystem.
Is your filesystem JFS (vxfs) or HFS ? You can only change this when installing a system.

On my system when I run this command:
# fstyp /dev/vg00/lvol3
vxfs

Anyone for a Mutiny ?
Chris Hebert
New Member

Re: largefiles on root

I'm running 10.20. The root filesystem is hfs.

Is there not a way to modify the root filesystem other than when installing? Surely there must be. I would have thought there is a boot mode which does not mount the root and allows modification, etc. of it.
James R. Ferguson
Acclaimed Contributor

Re: largefiles on root

Hi Chris:

I believe that the problem you are facing 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...
Chris Hebert
New Member

Re: largefiles on root

Thanks for the suggestion James, but I tried that too. Got the same result.
hpuxrox
Respected Contributor

Re: largefiles on root

This my sound a little odd and Im not sure if it will work. I dont have a box to test it on.

If you have a mirrored root volume group. Split your mirrors. Mount the Split lvol / to /mnt and fsadmin your the /mnt filesystem to support large files. Dismount /mnt. Reboot on your mirror drive and lvmirge your lvols. Then reboot back to the primary.

Let me know if you try and get it to work,