mount(1M_VXFS) (VXFS) mount(1M_VXFS)
NAME
mount (vxfs) - mount a vxfs file system
SYNOPSIS
mount [-F vxfs] [generic_options] [-r] [-o specific_options] {special | mount_point}
mount [-F vxfs] [generic_options] [-r] [-o specific_options] special mount_point
DESCRIPTION
mount mounts a file system.
generic_options are options supported by the generic mount
command.
mount notifies the system that special, a vxfs block special
device, is available to users from mount_point, which must
exist before mount is called. mount_point becomes the name of
the root of the newly mounted special.
The options are:
-F vxfs Specify the vxfs FSType.
-r Mount the file system read-only.
-o Specify the vxfs file system specific options in a
comma-separated list. The available options are:
rw | ro
Read/write or read-only. The default is rw.
suid | nosuid
Setuid is honored or ignored on execution.
The default is suid.
log | delaylog | tmplog | nolog
Control intent logging. File system
integrity across system failure requires that
logging be enabled. The default is log. In
log mode, file system structural changes are
logged to disk before the system call returns
to the application. If the system crashes,
vxfs will complete the operations.
In delaylog mode, some system calls return
before the intent log is written. This
improves the performance of the system, but
Copyright 1994 Novell, Inc. Page 1
mount(1M_VXFS) (VXFS) mount(1M_VXFS)
some changes are not guaranteed until a short
time later when the intent log is written.
This mode approximates traditional UNIX
system guarantees for correctness in case of
system failures.
In tmplog mode, the intent log is almost
always delayed. This improves performance,
but recent changes may disappear if the
system crashes. This mode is only
recommended for temporary file systems.
In nolog mode, the intent log is disabled.
The other three logging modes provide fast
file system recovery; nolog does not provide
fast file system recovery. With nolog mode,
a full structural check must be performed
after a crash; this may result in loss of
substantial portions of the file system,
depending upon activity at the time of the
crash. Usually, a nolog file system should
be rebuilt with mkfs(1M) after a crash. The
nolog mode should only be used for memory
resident or very temporary file systems.
NOTE: nolog is available with the VxFS
Advanced package only.
blkclear
Ensure that all data extents are cleared
before being allocated to a file (requires
synchronous zeroing of certain newly
allocated extents).
remount
Change the mount options for a mounted file
system. In particular, remount can change
the logging and caching policies. It can also
change a file system from read-only to
read/write.
remount cannot change a file system from
read/write to read-only, nor can it set the
snapof or snapsize attributes.
Copyright 1994 Novell, Inc. Page 2
mount(1M_VXFS) (VXFS) mount(1M_VXFS)
snapof=snapof_special
Mount the file system as a snapshot of
snapof_special, where snapof_special is the
block special file of a mounted vxfs file
system.
NOTE: snapof=snapof_special is available with
the VxFS Advanced package only.
snapsize=size
Used in conjunction with snapof. size is the
size in sectors of the snapshot file system
being mounted. This option is required only
when the device driver is incapable of
determining the size of snapof_special, and
will default to the entire device if not
specified.
NOTE: snapsize=size is available with the
VxFS Advanced package only.
mincache= direct | dsync | closesync | tmpcache
This option is used to alter the caching
behaviour of the file system:
The direct value will cause any
writes without the O_SYNC flag and
all reads to be handled as if the
VX_DIRECT caching advisory had been
set.
The dsync value will cause any
writes without either the O_SYNC
flag or the VX_DIRECT caching
advisory to be handled as if the
VX_DSYNC caching advisory had been
set.
The closesync, dsync and direct
values all cause the equivalent of
an fsync(2) to be run when the file
is closed. See vxfsio(7) for an
explanation of VX_DIRECT and
VX_DSYNC.
Copyright 1994 Novell, Inc. Page 3
mount(1M_VXFS) (VXFS) mount(1M_VXFS)
The tmpcache value disables delayed
extending writes, trading off
integrity for performance. When
this option is chosen, vxfs does not
zero out new extents allocated as
files are sequentially written.
Uninitialized data may appear in
files being written at the time of a
system crash.
NOTE: mincache=direct,
mincache=dsync, and
mincache=tmpcache are available with
the VxFS Advanced package only.
convosync= direct | dsync | closesync | delay
This option is used to alter the caching
behaviour of the file system for O_SYNC I/O
operations:
The direct value will cause any reads
or writes with the O_SYNC flag to be
handled as if the VX_DIRECT caching
advisory had been set instead.
The dsync value will cause any writes
with the O_SYNC flag to be handled as
if the VX_DSYNC caching advisory had
been set instead.
The closesync value causes O_SYNC
writes to be delayed rather than to
take effect immediately.
The closesync, dsync and direct values
all cause the equivalent of an fsync(2)
to be run when any file accessed with
the O_SYNC flag is closed.
The delay value causes O_SYNC writes to
be delayed rather than to take effect
immediately. Choosing this option
causes vxfs to change all O_SYNC writes
into delayed writes. No special action
is performed when closing a file. This
option effectively cancels any data
Copyright 1994 Novell, Inc. Page 4
mount(1M_VXFS) (VXFS) mount(1M_VXFS)
integrity guarantees normally provided
by opening a file with O_SYNC.
NOTE: The convosync option is available
with the VxFS Advanced package only.
datainlog | nodatainlog
Normally, the vxfs file system will do O_SYNC
writes by logging the data and the time
change to the inode (datainlog). If the
nodatainlog option is used, the logging of
synchronous writes is disabled. Then, the
O_SYNC writes will write the data into the
file and update the inode synchronously
before returning to the user.
NOTE: datainlog is available with the VxFS
Advanced package only.
NOTES
Only a privileged user can mount file systems.
Unlike some file system commands, multiple -o options to the
mount command do not accumulate; the last option is used
instead.
FILES
/etc/mnttab
REFERENCES
vxfs-specific fs(4VXFS), mnttab(4), mount(2), generic
mount(1M), setmnt(1M), setuid(2)
Copyright 1994 Novell, Inc. Page 5