Operating System - HP-UX
1753943 Members
9388 Online
108811 Solutions
New Discussion юеВ

largefile for vxfs file system

 
SOLVED
Go to solution
Dario_1
Trusted Contributor

largefile for vxfs file system

Hello!

After using the fsadm command to change nolargefiles to largefiles, when trying to mount the file system I am getting the following error:
vxfs mount: mount option(s) incompatible with file system /dev/vg03bk/lvol03bk
Is there any other command that I have to run to make this work?

thx
6 REPLIES 6
Patrick Wallek
Honored Contributor
Solution

Re: largefile for vxfs file system

Check your entry in the /etc/fstab file for this filesystem and make sure that the 'nolargefiles' option is NOT in there. If it is remove it, or just delete the 'no' portion so that it is now 'largfiles'.

Robert-Jan Goossens
Honored Contributor

Re: largefile for vxfs file system

Hi,

example.

HP-UX 11.x
The following example shows how to enable large files on a filesystem that was not originally created with the ???largefiles??? option. If you are creating a new filesystem, simply specify the ???largefiles??? option at the time of creation.

Enable the disk for large files. For example, suppose you want to put a large bcp output file on the filesystem /hpdisk. Device /dev/vg00/lvol9 is currently mounted as /hpdisk. To enable the disk to hold large files, first unmount the device:


/usr/sbin/umount /hpdisk

This is required for the fsadm command that follows, as it can only be run on an unmounted filesystem.

Run the fsadm command with the ???largefiles??? option; this converts lvol9 into a large-file filesystem:


/usr/sgin/fsadm -F vxfs -o largefiles /dev/vg00/rlvol9

Use the device name rlvol9, rather than lvol9, in the command.

Mount the device as the filesystem /hpdisk:


/usr/sbin/mount -F vxfs -o largefiles /hpdisk


Run bcp. The file can now grow larger than 32 GB.

Hope it helps,

Robert-Jan.

Dario_1
Trusted Contributor

Re: largefile for vxfs file system

I modified the /etc/fstab and I was able to mount the file system but I want to know if that is the correct way of doing that.
fsadm command shows largefiles now.

Thank you again.
Dario_1
Trusted Contributor

Re: largefile for vxfs file system

Thank you guys. I just wanted to double check.
Steven E. Protter
Exalted Contributor

Re: largefile for vxfs file system

11.11 does not require the largefiles parameter in /etc/fstab

In the March release it gave an error when I added that to /etc/fstab

This conversion can be done with fsadm or with newfs -F vxfs -o largefiles

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: largefile for vxfs file system

Hi Dario:

It is *not* necessary to unmount a VxFS filesystem to enable 'largefiles' *if* you have OnlineJFS. You would only need to do:

# fsadm -F vxfs -o largefiles /mountpoint

You can determine whether or not 'largefiles' is set by doing:

# fsadm -F vxfs /mountpoint

...you will wee "largefiles" or "nolargefiles" as appropriate.

Regards!

...JRF...