Operating System - HP-UX
1854972 Members
6031 Online
104108 Solutions
New Discussion

confirm mount options used

 
SOLVED
Go to solution
Joseph Hoh
Frequent Advisor

confirm mount options used

If I use certain mount options when mounting a file system.

such as:
mount -F vxfs -o delaylog,mincache=direct,convoync=direct,nodatainlog /dev/vgxx/lvxx /mountpoint

How can I confirm these options actually took effect?
3 REPLIES 3
Praveen Bezawada
Respected Contributor

Re: confirm mount options used

Hi
you can use mkfs with -m options to check if all the options you have selected have been applied

it's

mkfs -m /dev/vgXX/lvolY
James R. Ferguson
Acclaimed Contributor
Solution

Re: confirm mount options used

Hi Jeff:

Firstly, if the mount options were misspelled, for instance, the 'mount' command would be rejected.

Secondly, if some of the options were not allowd, for instance because you didn't license OnlineJFS, then the 'mount' would be rejected.

Lastly, for a "warm-fuzzy', you can see what is mounted with what options by doing:

# more /etc/mnttab

Regards!

...JRF...
Victor_5
Trusted Contributor

Re: confirm mount options used


Use mount -v or check /etc/mnttab, which lists all mounted file system of the client

more /etc/mnttab