SYNOPSIS

mount.ocfs2 [-vn] [-o options] device dir

DESCRIPTION

mount.ocfs2 mounts an OCFS2 filesystem at dir. It is usually invoked indirectly by the mount(8) command when using the -t ocfs2 option.

OPTIONS

\_netdev

The filesystem resides on a device that requires network access (used to prevent the system from attempting to mount these filesystems until the network has been enabled on the system). mount.ocfs2 transparently appends this option during mount. However, users mounting the volume via /etc/fstab must explicitly specify this mount option to delay the system from mounting the volume until after the network has been enabled.

atime\_quantum=nrsec

The file system will not update atime unless this number of seconds has passed since the last update. Set to zero to always update atime. It defaults to 60 secs.

relatime

The file system only update atime if the previous atime is older than mtime or ctime.

noatime

The file system will not update access time.

acl / noacl

Enables / disables POSIX ACLs (Access Control Lists) support.

user_xattr / nouser_xattr

Enables / disables Extended User Attributes.

commit=nrsec

Sync all data and metadata every nrsec seconds. The default value is 5 seconds. Zero means default.

data=ordered / data=writeback

Specifies the handling of file data during metadata journalling.

ordered

This is the default mode. All data is forced directly out to the main file system prior to its metadata being committed to the journal.

writeback

Data ordering is not preserved - data may be written into the main file system after its metadata has been committed to the journal. This is rumored to be the highest-throughput option. While it guarantees internal file system integrity, it can allow old data to appear in files after a crash and journal recovery.

datavolume

This mount option has been deprecated in OCFS2 1.6. It has been used in the past (OCFS2 1.2 and OCFS2 1.4), to force the Oracle RDBMS to issue direct IOs to the hosted data files, control files, redo logs, archive logs, voting disk, cluster registry, etc. It has been deprecated because it is no longer required. Oracle RDBMS users should instead use the init.ora parameter, filesystemio_options, to enable direct IOs.

errors=remount-ro / errors=panic

Define the behavior when an error is encountered. (Either remount the file system read-only, or panic and halt the system.) By default, the file system is remounted read only.

localflocks

This disables cluster-aware flock(2).

intr / nointr

The default is intr that allows signals to interrupt cluster operations. nointr disables signals during cluster operations.

ro

Mount the file system read-only.

rw

Mount the file system read-write.

RELATED TO mount.ocfs2…

AUTHORS

Oracle Corporation

COPYRIGHT

Copyright © 2004, 2010 Oracle. All rights reserved.