How to enable acl support for OCFS2 volume (Doc ID 2148548.1)

Last updated on JULY 07, 2016

Applies to:

Linux OS - Version Oracle Linux 5.0 to Oracle Linux 6.8 [Release OL5 to OL6U8]
x86_64
The doc discusses on how ACL can be implemented in ocfs volume. The ACL feature can be verified using debugfs.ocfs2 command over volume. Here can see below that xattr is listed under "Feature Incompat:" header

debugfs.ocfs2 -R "stats" /path-to-the-ocfs2lun


Revision: 0.90
Mount Count: 0 Max Mount Count: 20
State: 0 Errors: 0
Check Interval: 0 Last Check: Sun Dec 20 21:00:44 2015
Creator OS: 0
Feature Compat: 3 backup-super strict-journal-super
Feature Incompat: 14160 sparse extended-slotmap inline-data xattr indexed-dirs refcount discontig-bg
Tunefs Incomplete: 0
Feature RO compat: 1 unwritten
Root Blknum: 65 System Dir Blknum: 66
First Cluster Group Blknum: 32
Block Size Bits: 12 Cluster Size Bits: 17
Max Node Slots: 2
Extended Attributes Inline Size: 256
Label: OSBadmin
UUID: F0FEBBC255424E839D3E3D0644A69ACD
Hash: 4056314512 (0xf1c67290)
DX Seeds: 611345464 1293143981 1601631953 (0x24706438 0x4d13cfad 0x5f76f6d1)
Cluster stack: classic o2cb
Cluster flags: 0
Inode: 2 Mode: 00 Generation: 3171389313 (0xbd078f81)
FS Generation: 3171389313 (0xbd078f81)
CRC32: 00000000 ECC: 0000
Type: Unknown Attr: 0x0 Flags: Valid System Superblock
Dynamic Features: (0x0)
User: 0 (root) Group: 0 (root) Size: 0
Links: 0 Clusters: 1228800
ctime: 0x56775d4c 0x0 -- Sun Dec 20 21:00:44.0 2015
atime: 0x0 0x0 -- Wed Dec 31 19:00:00.0 1969
mtime: 0x56775d4c 0x0 -- Sun Dec 20 21:00:44.0 2015
dtime: 0x0 -- Wed Dec 31 19:00:00 1969
Refcount Block: 0
Last Extblk: 0 Orphan Slot: 0
Sub Alloc Slot: Global Sub Alloc Bit: 65535

Goal

To enable ACL feature in ocfs clustered environment

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms