Operating System - HP-UX
1833565 Members
3149 Online
110061 Solutions
New Discussion

Re: About Large File Support

 
Dhipu
New Member

About Large File Support

I have one RX6600 with HPUX 11.23 without Online JFS(ie only with VXFS).I have created a partition using the command
#mkfs -F vxfs /dev/vg01/lvol4
but now I want to include the option called large file support in this partition(2GB support).Can I do it without destroying the filesystem in it.
7 REPLIES 7
likid0
Honored Contributor

Re: About Large File Support

Yes, you can do it with out any problem:

fsadm -o largefiles /mountPOINT
Windows?, no thanks
Ivan Krastev
Honored Contributor

Re: About Large File Support

You can change it with:

#fsadm -F vxfs -o largefiles /mountpoint


regards,
ivan
Suraj K Sankari
Honored Contributor

Re: About Large File Support

Hi,

You can use mount command
mount -o largfiles /dev/vg01/lvol4 /mountpoint

Suraj
Dhipu
New Member

Re: About Large File Support

What you were mentioning is when we have Online JFS installed, in my case I have only VXFS support.

Is it true?
Ganesan R
Honored Contributor

Re: About Large File Support

Hi Dhipu,

Online JFS is need if you want to do it online. i.e on mounted filesystem.

But without online JFS also you can enable largefiles by using fsadm. but the filesystem should be unmounted.

See the quote from HP.

Changing from a Large-Files File System:

You can change a file system back and forth between large files and no large files using the fsadm command. It is important to realize that the conversion of these file systems must be done on an unmounted file system, and fsck will be called after a successful conversion.

The following example shows how to convert a no-large-files file system to a large-files file system.


/usr/sbin/fsadm -F hfs -o largefiles /dev/vg02/rlvol1

The mount Command and Large-Files File Systems:

The mount command supports large-files file systems and provides you with a method of ensuring that no large-files file systems are mounted on the system.

The mount command uses the same two options as the mkfs, newfs, and fsadm commands (largefiles and nolargefiles). mount will not mount a large-files file system if the -o nolargefiles option is specified. Conversely, the mount command will not mount a no-large-files file system if the -o largefiles option is specified. If no option is provided to mount, it will use the state of the file system itself to determine if it is mounted as largefiles or nolargefiles.


Best wishes,

Ganesh.
Sagar Sirdesai
Trusted Contributor

Re: About Large File Support

Hi Dhipu

you will need Online JFS with a valid license to add the largefile option using fsadm command on a mounted filesystem.

Check if you can get a demo license for Online JFS from HP.

Sagar
Johnson Punniyalingam
Honored Contributor

Re: About Large File Support

# newfs -F vxfs -o largefiles /dev/vg01/rlvol4

mkdir /
cp -p /etc/fstab /etc/fstab.bk
vi /etc/fstab

/dev/vg01/lvol4 / vxfs rw,suid,largefiles,delaylog,datainlog 0 2

mount /

Thanks,
Johnson
Problems are common to all, but attitude makes the difference