1833178 Members
2877 Online
110051 Solutions
New Discussion

large filesystem support

 
Shah Gaurang B.
Frequent Advisor

large filesystem support

Hi Friends,

How to veiw filesystems is large support or not ? pl. guide me. In fstab no entry is found and also told me how to see what parameters are sets for filesystems?

Thanks in advance
7 REPLIES 7
Patrick Wallek
Honored Contributor

Re: large filesystem support

You can use fsadm and give the mount point name.

For example, to see if /home supports largefiles:

# fsadm -F vxfs /home
largefiles

It will return 'largefiles' if it does support them, or 'nolargefiles' if it does not.

The above command assumes your filesystems are of the 'vxfs' type.
James R. Ferguson
Acclaimed Contributor

Re: large filesystem support

Hi:

One way is:

# mkfs -F vxfs -m /dev/vg00/lvol6

Regards!

...JRF...
A. Clay Stephenson
Acclaimed Contributor

Re: large filesystem support

The largefiles or nolargefiles vxfs mount options means absolutely nothing about whether or not largefiles are actually supported by the underlying filesystem.

Run this command (assuming it's a vxfs filesystem):
fsadm -F vxfs /mountpoint

You can do this will the filesystem is mounted and it will report "largefiles" if largesfiles are supported. Man fsadm_vxfs for details.
If it ain't broke, I can fix that.
Pete Randall
Outstanding Contributor

Re: large filesystem support

Actually, you can leave off the -F option and fsadm will use /etc/fstab to determine fs type:

# fsadm /var
fsadm: /etc/default/fs is used for determining the file system type
largefiles

fsadm /stand
fsadm: /etc/default/fs is used for determining the file system type
vxfs fsadm: mountpoint /stand is not a vxfs file system


Pete

Pete
Shah Gaurang B.
Frequent Advisor

Re: large filesystem support

Thank you very much.
inventsekar_1
Respected Contributor

Re: large filesystem support

# mkfs -m /dev/vg00/lvol8
mkfs -F vxfs -o ninode=unlimited,bsize=8192,version=5,inosize=256,logsize=2048,largefiles /dev/vg00/lvol8 2621440

with the command "mkfs" the "-m" option will give you the solution.
largefiles- large files enabled in the lvol.
nolargefiles- large files not enabled.
Be Tomorrow, Today.
inventsekar_1
Respected Contributor

Re: large filesystem support

Hi Gaurang,

u should have assigned the points to great Olympians.
Be Tomorrow, Today.