OCI: How to Check the XFS filesystem Version on Oracle Linux Instances
in Linux
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
Tagged:
0