Operating System - HP-UX
1832630 Members
2754 Online
110043 Solutions
New Discussion

How to know whether my filesystem is largefiles or not?

 
SOLVED
Go to solution
Kevin.Wang
Frequent Advisor

How to know whether my filesystem is largefiles or not?

How to know whether my filesystem is largefiles or not? I don't know if it can support the files large than 2GB.
6 REPLIES 6
Michael Tully
Honored Contributor
Solution

Re: How to know whether my filesystem is largefiles or not?

Try:

# fstyp -v /dev/myvg/mylvol

If field 'f_flag' reports to be 16 then it is largefiles option. If not then it is not.
You can change it on the fly with 'fsadm' if you have an online JFS license, if not the filesystem needsto be unmounted.
Anyone for a Mutiny ?
malay boy
Trusted Contributor

Re: How to know whether my filesystem is largefiles or not?

---------------------------------------------------------------
HP-UX JFS Disk Layout File Filesystem
Release Version Version Size Size
---------------------------------------------------------------
11i Version 3.3 Version 4** 2 TB 2 TB
---------------------------------------------------------------

command :
fstyp -v /dev/vg00/lvol3

regards
mB
There are three person in my team-Me ,myself and I.
Kurt Beyers.
Honored Contributor

Re: How to know whether my filesystem is largefiles or not?

Kevin,

Have a look at the entries in your fstab file:

# more /etc/fstab
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg10/lvol1 /u01 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg00/lvol9 /u02 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg00/lvol10 ... swap pri=0 0 0

If the LVOL contains 'largefiles', files larger than 2GB are supported.

best regards,
Kurt
Sanjay Kumar Suri
Honored Contributor

Re: How to know whether my filesystem is largefiles or not?

You can confirm using SAM as well:

SAM --> Disk & File Systems --> File Systems.

Change the View --> Columns --> Select options.

This will show files system that have largefiles in the column "Options".

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
George Neill
Trusted Contributor

Re: How to know whether my filesystem is largefiles or not?

The command
fsadm -F vxfs
will respond with options set, such largefiles or nolargefiles.

George
Doug Burton
Respected Contributor

Re: How to know whether my filesystem is largefiles or not?

Try this:
fsadm -F hfs /dev/vg00/rlvol?
or
fsadm -F vxfs /dev/vg00/rlvol?

? = lvol number (or name)