Operating System - HP-UX
1831052 Members
2344 Online
110019 Solutions
New Discussion

Re: how to make root filesystem support large file.

 
Li Chunbo
Occasional Advisor

how to make root filesystem support large file.

In my layout of the filesystem, root filesystem used up all the available disk space, no /usr and /var filesystem. when install the os, I don't notice the large file support option. now how to make root filesystem support large file?
because when I excute command make_net_recovery.
the archieve file is beyond 2gb.
smile king
5 REPLIES 5
G. Vrijhoeven
Honored Contributor

Re: how to make root filesystem support large file.

Hi,

To check if it is turned on:
mkfs -F vxfs -m /dev/vg00/lvol

to turn it on:
fsadm -F vxfs -o largefiles /dev/vg00/lvol

( -F vxfs/hfs depending on filesystem used)

Regards,

Gideon
CHA_1
Occasional Advisor

Re: how to make root filesystem support large file.

Hi,

# fsadm -F -o largefiles /dev//

Christian
Fabio Ettore
Honored Contributor

Re: how to make root filesystem support large file.

Hi,

check if you have OnLineJFS:

# swlist -l product | grep -i online

If you have it

# fsadm -o largefile /

and change /etc/fstab on / filesystem adding largefile option.

Otherwise go in single user mode with / filesystem unmounted and change /etc/fstab with largefiles option on / filesystem then boot up.

It is needed to go in single user mode because / filesystem should not be unmounted in multi user mode (run-level 3).

HTH.

Best regards,
Ettore

WISH? IMPROVEMENT!
Ravi_8
Honored Contributor

Re: how to make root filesystem support large file.

Hi,

#fsadm /dev/vg00/rlvol3

shows whether largefile enables or not

to enable

#fsadm -F hfs -o largefiles /dev/vg00/lvol3.

but it may corrupt the data inside that file system if you enabled largefile option.
Advised to have ignite backup
never give up
Jose Mosquera
Honored Contributor

Re: how to make root filesystem support large file.

Hi,

#fsadm -F vxfs -o largefiles /dev/vgnn/[r]filesystem

To know version and other activated options:
#fstyp -v /dev/vgnn/filesystem

f_flag: 16 indicates you that support large files!

Rgds.