Operating System - HP-UX
1847172 Members
5981 Online
110263 Solutions
New Discussion

Re: checking filesystem has largefiles set

 
SOLVED
Go to solution
Debbie Downing_2
Regular Advisor

checking filesystem has largefiles set

Hi

Can anyone tell me the command to use to see if largefiles has been applied to a filesystem (for oracle files)... and if largefiles is not set how to configure largefiles without having to recreate the filesystem.

Thanks in advance.


Debbie
8 REPLIES 8
Peter Godron
Honored Contributor
Solution

Re: checking filesystem has largefiles set

Debbie,
1. cat /etc/fstab

2. Depends on your filesystem:
See "man fsadm"
Example:
fsadm -F vxfs -o largefiles /mount-point
James R. Ferguson
Acclaimed Contributor

Re: checking filesystem has largefiles set

Hi Debbie:

To check the status of a filesystem you can do:

# mkfs -m -F vxfs /dev/vgXX/lvolN

(or)

# fsadm -F vxfs /mountpoint

To enable 'largefiles' do, where you do *not* have OnlineJFS installed:

# umount /mountpoint
# fsadm -F vxfs -o largefiles /dev/vgXY/rlvolN

...note the raw device.

...or, if you have OnlineJFS:

# fsadm -F vxfs -o largefiles /mountpoint

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: checking filesystem has largefiles set

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


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: checking filesystem has largefiles set

Hi (again):

Examining '/etc/fstab' for 'largefiles' does *not* provide a way to determine that actual filesystem state.

The 'largefiles' or 'nolargefiles' argument of 'fstab' is used only at mount time. If 'nolargefiles' is specified *and* there are largefiles found in the filesystem, then the mount fails. If 'largefiles' is specified but no largefiles are found, the mount succeeds, too.

Regards!

...JRF...
Bill Hassell
Honored Contributor

Re: checking filesystem has largefiles set

The easiest method is to use bdfmegs -v (attached). It provides a cleaner look at mounted filesystems.


Bill Hassell, sysadmin
Gurumanickam
Frequent Advisor

Re: checking filesystem has largefiles set

hi,

To check the filesystems applied with large files u can use the following command

mkfs -m filesystem-name

To Convert a JFS file system from a nolargefiles file system to a largefiles file system:

fsadm -F hfs -o largefiles /dev/vg02/lvol1

Guru

Be an expert
Peter Godron
Honored Contributor

Re: checking filesystem has largefiles set

Debbie,
can you please complete the thread by awarding points to helpful answers and summarising the solution for you.
This will help resolution of similar problem in the future.

Thanks
Debbie Downing_2
Regular Advisor

Re: checking filesystem has largefiles set

Have resolved the issue.

Thanks for your help guys.

Regards

Debbie