Operating System - HP-UX
1834008 Members
1836 Online
110063 Solutions
New Discussion

To know Filesystem Details !!

 
SOLVED
Go to solution
rveri
Super Advisor

To know Filesystem Details !!

Hi All ,

I wanted to know the filesystem statistics and characteristics for this file system ,
I also wanted to know whether largefile option enabled or not.

/dev/vg11/lvol1 102400000 20347632 81411400 20% /oracle_new

which command to be use. and how. Pls suggest.

Thanks ,
Veri.
7 REPLIES 7
Anthony Lennan
Valued Contributor

Re: To know Filesystem Details !!

Hi Veri,

Have a look at the man page for fsadm. It will show you if you have largefiles enabled and other filesystem information.

Cheers,
Anthony
Steven E. Protter
Exalted Contributor

Re: To know Filesystem Details !!

fsadm -F vxfs /dev/vg11/lvol1

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
Devender Khatana
Honored Contributor

Re: To know Filesystem Details !!

Hi,

Apart from this if you want to display some more characterstics of Vxfs file systems and you have Veritas Volume manager installed. You can use vxtunefs command. The output would be similar to

#vxtunefs -p /dev/vg00/lvol3
Filesystem i/o parameters for /
read_pref_io = 65536
read_nstream = 1
read_unit_io = 65536
write_pref_io = 65536
write_nstream = 1
write_unit_io = 65536
pref_strength = 10
buf_breakup_size = 131072
discovered_direct_iosz = 262144
max_direct_iosz = 1048576
default_indir_size = 8192
qio_cache_enable = 0
max_diskq = 1048576
initial_extent_size = 1
max_seqio_extent_size = 2048
max_buf_data_size = 8192

HTH,
Devender
Impossible itself mentions "I m possible"
RAC_1
Honored Contributor
Solution

Re: To know Filesystem Details !!

Also
df -g
fstype -v /dev/vgxx/lvolx
mount -p|grep fs

Anil
There is no substitute to HARDWORK
Geoff Wild
Honored Contributor

Re: To know Filesystem Details !!

Actually - fsadm on the mount point:

fsadm /oracle_new

fstyp on the lvol

fstyp -v /dev/vg11/lvol1

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Devender Khatana
Honored Contributor

Re: To know Filesystem Details !!

Hi Veri,

I think you got answer to your question in quick time. Is there something else left ?

What about assinging points.

Regards,
Devender
Impossible itself mentions "I m possible"
rveri
Super Advisor

Re: To know Filesystem Details !!

Thanks to all , who replied in the quick time.

Here is the details I found useful .

OS is : B.11.00 U 9000/800

1. fstyp -v /dev/vg11/lvol1
2. df -g | more
3. mount -p | grep fs | grep vg11
4. fsadm -F vxfs /oracle_new
------------------------------

-----------------------------------------------------------------------------
fstyp -v /dev/vg11/lvol1

# fstyp -v /dev/vg11/lvol1
vxfs
version: 3
f_bsize: 8192
f_frsize: 8192
f_blocks: 12800000
f_bfree: 7309435
f_bavail: 7252331
f_files: 1827616
f_ffree: 1827328
f_favail: 1827328
f_fsid: 1074855937
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 6
f_size: 12800000

#
--------------------------------------------------------------------------------
# df -g | more (listing taken for this fs only)
/oracle_new (/dev/vg11/lvol1 ) :
8192 file system block size 1024 fragment size
524288 total blocks 124968 total free blocks
117189 allocated free blocks 32684 total i-nodes
31239 total free i-nodes 31239 allocated free i-nodes
1075314695 file system id vxfs file system type
0x10 flags 256 file system name length

--------------------------------------------------------------------------------

# mount -p | grep fs | grep vg11
/dev/vg11/lvol1 /oracle_new vxfs delaylog,nodatainlog,largefiles 0 0

---------------------------------------------------------------------------------

# fsadm -F vxfs /oracle_new/data
largefiles
---------------------------------------------------------------------------------

Thanks to all , Points assigned.

Regards,
Veri.