1833758 Members
2493 Online
110063 Solutions
New Discussion

Mount options problem

 
R.O.
Esteemed Contributor

Mount options problem

Hello,

Does anybody knows how to mount (in HPUX 11i) an HFS File system in syncronous mode?

Regards,
"When you look into an abyss, the abyss also looks into you"
5 REPLIES 5
Rodney Hills
Honored Contributor

Re: Mount options problem

I would think if the option is not listed in "man mount_hfs", then it is not available.

-- Rod Hills
There be dragons...
R.O.
Esteemed Contributor

Re: Mount options problem

Hello,

From man mount_hfs:


-f Force the file system to be mounted, even if the
file system clean flag indicates that the file
system should have fsck run on it before mounting
(see fsck(1M)). This option is valid only on HFS
file systems.

-F hfs Specify the HFS file system type (see fstyp(1M)).

-l Limit actions to local file systems only.

-o specific_options
Specify options specific to the HFS file system
type. specific_options is a list of comma
separated suboptions and/or keyword/attribute
pairs intended for the HFS specific module of the
command.

The following specific_options are valid on HFS
file systems.

defaults Use all default options. When
given, this must be the only option
specified.

rw Mount read-write (default).

ro Mount read-only.

suid Allow set-user-ID execution
(default).

nosuid Do not allow set-user-ID execution.

behind Enable, where possible,
asynchronous writes to disk. This
is the default on 700 systems.

delayed Enable delayed or buffered writes
to disk. This is the default on
800 systems.

fs_async Enable relaxed posting of file
system metadata.

no_fs_async Enable rigorous posting of file
system metadata. This is the
default.


But, when i try some of the options:

hostname:/#mount -F hfs -o fs_async /dev/vg01 /filesys1
mount: illegal file system specific option fs_async
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory

Regards,
"When you look into an abyss, the abyss also looks into you"
A. Clay Stephenson
Acclaimed Contributor

Re: Mount options problem

Synchronous i/o operations are not a function of mount options but rather of opening the file with eith the O_SYNC, O_DSYNC, and/or O_RSYNC bits asserted. Under hfs, you don't have the additional level of control provided by the OnlineJFS options convosync=,mincache=.
If it ain't broke, I can fix that.
R.O.
Esteemed Contributor

Re: Mount options problem

Hi,

So, to mount a VXFS FS with "sync" options (in redhat I do that simply typing "mount -o sync ..") what would be the command??

Regards,
"When you look into an abyss, the abyss also looks into you"
Sridhar Bhaskarla
Honored Contributor

Re: Mount options problem

Hi,

If you don't specify any 'convosync' options with mount command on vxfs, then the synchronous operations performed by your application/database are unaltered.

If the application/database does asynchronous IO operations, altering them to look like synchronous doesn't serve any purpose as the processes don't care anyway.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try