NAME
tunefs.ocfs2 - Change OCFS2 file system parameters.
SYNOPSIS
tunefs.ocfs2 [-J journal-options] [-L volume-label] [-M mount-type] [-N number-of-node-slots] [-qSUvV] [--backup-super] device [blocks-count]
DESCRIPTION
tunefs.ocfs2 is used to adjust OCFS2 file system parameters on disk.
In order to prevent data loss, tunefs.ocfs2 will not perform any
action on the specified device if it is mounted on any node in the cluster.
This tool requires the O2CB cluster to be online.
OPTIONS
-J, --journal-options options
Modify the journal using options specified on the command-line.
Journal options are comma separated, and may take an argument using
the equals ('=') sign. The following options are supported:
size=journal-size
Grow the size of journal files for all the slots. Minimum size is 4M.
-L, --label volume-label
Change the volume label of the file system. Limit the label
to under 64 bytes.
-M, --mount mount-type
Valid types are local and cluster. Local mount allows
users to mount the volume without the cluster overhead and works
only with OCFS2 bundled with Linux kernels 2.6.20 or later.
-N, --node-slots number-of-node-slots
Use this to increase the number of slots inorder to increase the
number of nodes that can concurrently mount this volume. The maximum
value is 255.
-S, --volume-size
Grow the size of the OCFS2 file system. If blocks-count is not
specified, tunefs.ocfs2 extends the volume to the current size of
the device.
-U, --uuid-reset
Change the volume UUID (auto-generated) for the file system.
-v, --verbose
Verbose mode.
-V, --version
Show version and exit.
--backup-super
Backs up the superblock to fixed offsets (1G, 4G, 16G, 64G, 256G and 1T)
on disk. This option is useful for users to backup the superblock on volumes
that the user either explicitly disallowed while formatting, or, used a
version of mkfs.ocfs2 (1.2.2 or older) that did not provide this
facility.
blocks-count
During resize, tunefs.ocfs2 automatically determines the size of the given
device and grows the file system such that it uses all of the available space on
the device. This optional argument specifies that the file system should be
extended to consume only the given number of file system blocks on the device.
SEE ALSO
R mkfs.ocfs2(8)
R fsck.ocfs2(8)
R debugfs.ocfs2(8)
R mounted.ocfs2(8)
R ocfs2console(8)
R ocfs2cdsl(8)
AUTHORS
Oracle Corporation
COPYRIGHT
Copyright 2004, 2007 Oracle. All rights reserved.