My Oracle Support Banner

How to resize an OCFS2 filesystem (Doc ID 445082.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version 1.2.1-1 to 1.2.6-1 [Release OCFS2]
Linux x86
Linux x86-64
***Checked for relevance on 18-Aug-2011***
***Checked for relevance on 04-Jul-2013***
***Checked for relevance on 05-Jun-2017***


Goal

The purpose of this article is to describe how to resize an OCFS2 filesystem on Linux.

The described procedure was performed using Enterprise Linux 4 Update 5 (2.6.9-55.0.0.0.2.ELsmp) with the following OCFS2 versioned packages, but equally applies to later versions.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1. Backup all data on the filesystem
 2. Globally unmount the filesystem to be resized
 3. Perform a filesystem check
 4. Resize the underlying device/partition
 5. Resize the OCFS2 filesystem
 6. Perform filesystem check
 7. Mount the resized OCFS2 volume
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.