Operating System - HP-UX
1833294 Members
3374 Online
110051 Solutions
New Discussion

Re: fs with a large file option?

 
SOLVED
Go to solution
Gerald_13
Frequent Advisor

fs with a large file option?

hi,
how to create fs with a large file option ?
(with command line)
thanks for your help.
regard,
Gerald
5 REPLIES 5
Stefan Farrelly
Honored Contributor
Solution

Re: fs with a large file option?


fsadm -F vxfs -o largefiles

If you have online jfs you can do this while the filesystem is mounted, if not, you will need to unmount it first, run the command, then mount it again.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Stanimir
Trusted Contributor

Re: fs with a large file option?

Hi!
With "-o largefiles":

1 example:
#mkfs -F vxfs -o largefiles /dev/vg01/rlvol1

2 example:
#mkfs -F hfs -o largefiles /dev/vg01/rlvol1

Regards.
Armin Feller
Honored Contributor

Re: fs with a large file option?

an existing filesystem you can modify for largefiles:

# fsadm -F vxfs -o largefiles mnt_point

and a new filesystem with largefile option can be created like follows:

# mkfs -F vxfs -o largefiles /dev/vgXY/rlvolX

To get the largefile option you have to mount the filesystem with this option and also add it in the /etc/fstab if necessary:

# mount -F vxfs -o largefile /dev/vgXY/lvolX /mnt_point
T G Manikandan
Honored Contributor

Re: fs with a large file option?

If you are doing that on a vxfs file system.

If you have Online JFS then you can extend without umounting the file system as Stefan suggested.
Else you have to umount the file system to enable large files.

Make sure you update the /etc/fstab after enabling it

Thanks
Yogeeraj_1
Honored Contributor

Re: fs with a large file option?

hello gerald,

if you are using SAM to create the logical volume, under "Modify FS Defaults..." -> "file System Attributes", you have "Allow Large Files" which will have to be checked.

Hope this helps too!

Best Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)