You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: How to Check the XFS filesystem Version on Oracle Linux Instances

Applies To:

Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Goal:

How to check whether the XFS filesystem is using the legacy v4 format or the newer v5 format.

Solution:

To check whether the XFS filesystem is using the legacy v4 format or the newer v5 format, just run the xfs_db command against the mount point for the corresponding XFS filesystem.

This is an example of an XFS filesystem on OL7 running in v4 format.

# xfs_db -r /db
xfs_db> version
versionnum [0xbcb4+0x28a] = V4,NLINK,DIRV2,ATTR,ALIGN,LOGV2,EXTFLG,SECTOR,MOREBITS,ATTR2,LAZYSBCOUNT,PROJID32BIT,FTYPE

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!