default mount options

 
jshoovie
Occasional Advisor

default mount options

When I create a file system in smh interface it shows mount options = default.

How can I find out what the "defaults" are?

thanks.
8 REPLIES 8
Suraj K Sankari
Honored Contributor

Re: default mount options

Hi,

What are the file system you are trying to create.

Suraj
Elmar P. Kolkman
Honored Contributor

Re: default mount options

$ man mount_

The manual page contains all default values.
Every problem has at least one solution. Only some solutions are harder to find.
jshoovie
Occasional Advisor

Re: default mount options

Here is an example:

/dev/vg300ignite/lv300ignite01 /var/opt/ignite vxfs defaults 0 2
jshoovie
Occasional Advisor

Re: default mount options

This is HPUX 11.31.

I am looking at "man mount_vxfs" but I do not see default settings.
James R. Ferguson
Acclaimed Contributor

Re: default mount options

Hi:

Examine '/etc/mnttab'. Remember that the 'largefiles' setting (in particular) is determined from the underlying filesystem bit.

Regards!

...JRF...
jshoovie
Occasional Advisor

Re: default mount options

example from file system mount options in smh interface.

I/O Handling Policy: default ->

I cannot find anything to tell me what "defualt" equals.
ManojK_1
Valued Contributor

Re: default mount options

Hi,

"mount -v" will give you the default mount option.

For example
Mount a partion with just mount command.
#/dev/vg00/lvol1 /stand
and run mount -v.
# mount -v
/dev/vg00/lvol1 on /stand type vxfs ioerror=mwdisable,nolargefiles,log,nodatainlog,tranflush,dev=40000001 on Sun Aug 1 10:45:39 2010

It will give the default mount option taken during mounting a fs.

Manoj K
Thanks and Regards,
Manoj K
nightwich
Valued Contributor

Re: default mount options

Hi jshoovie

Do not create a FS true SMH.


Try command line:


If you already have the vgcreated:

lvcreate -L size_in_megas /dev/vgname
newfs -F vxfs -o largefiles /dev/vgname/rlvol1

mount /dev/vgname/rlvol1 /tmp_mnt

Regards.