Operating System - HP-UX
1748211 Members
4762 Online
108759 Solutions
New Discussion юеВ

Re: How do we create large files in a hpux 10.20 system

 
SOLVED
Go to solution
Jacques Carriere
Regular Advisor

How do we create large files in a hpux 10.20 system

I have an HPUX 10.20 system that I need to create a new vxfs /large_files mount point with the option largefiles. The comman fsadm -F only works with HFS. Does anyone remember how to create largefiles mount points?
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor
Solution

Re: How do we create large files in a hpux 10.20 system

Hi Jacques:

For a VxFS filesystem, do:

# newfs -F vxfs -o largefiles /dev/vgXX/rlvolN

Note the raw logical volume. Now mount the directory you want on the logical volume:

To convert a no-largefiles filesystem to one with largefiles enabled:

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

Again, note the raw device and the explicit specification of the filesystem type with the '-F' switch and argument.

If you don't have OnlineJFS, you will need to operate on an unmounted filesystem.

Regards!

...JRF...
Kent Ostby
Honored Contributor

Re: How do we create large files in a hpux 10.20 system

VxFS version 3 is required for large files support.

What version of VxFS are you running?
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
DCE
Honored Contributor

Re: How do we create large files in a hpux 10.20 system


You can do it either via the command line

newfs -F vxfs -o largefiles /dev/vg01/rlvol1
(for an existing file system)

or (if I remember correctly for 10.20) it is a selectable parameter in SAM
Indrajit_1
Valued Contributor

Re: How do we create large files in a hpux 10.20 system

Hi;

Try this..

To Create a large filesystem..
#newfs -F vxfs -o largefiles /dev/vgxx/lvolx

The command "fsadm" used to extend a filesytem online. check if u have online JFS filesytem
#swlist -l product |grep -i online

Cheers
indrajit
Never Ever Give Up
Adisuria Wangsadinata_1
Honored Contributor

Re: How do we create large files in a hpux 10.20 system

Hi,

Please check the url below (docID : A4890825) about '10.20: How to check if a filesystem supports largefiles' :

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062944303

You need to umount the filesystem first, unless you have OnlineJFS software on your system.

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
AshishJain_USA
Frequent Advisor

Re: How do we create large files in a hpux 10.20 system

Hi

You can create a Vxfs filesystem, do:

1. create the logical volume of desired size
2. newfs -F vxfs -o largefiles /dev/vgXX/rlvolN

You need to use the raw logical volume. Now mount the directory you want on the logical volume:

rgds...Ashish