How to modify an XFS File System parameters? Is it possible to change an XFS File System?

The answer is yes, xfs_admin command uses the xfs_db command to modify various parameters of a filesystem. But first of all, the XFS File System has to be umounted.

Here are some examples:

Display an XFS File System label

# xfs_admin -l /dev/sdb
label = ""

Set an XFS File System label

# xfs_admin -L "data" /dev/sdb
writing all SBs
new label = "data"

Display an XFS File System uuid

# xfs_admin -u /dev/sdb
UUID = cg70bcc4-15d8-45f7-afa4-2adfge7db2ed

Set an XFS File System uuid

# xfs_admin -U generate /dev/sdb
writing all SBs
new UUID = c1b67abc-f1y2-19cf-9ece-0020afc89jyh

Clear an XFS File System uuid

# xfs_admin -U nil /dev/sdb
Clearing log and setting UUID
writing all SBs
new UUID = 00000000-0000-0000-0000-000000000000

Disable an XFS File System lazy counters

# xfs_admin -c 0 /dev/sdb

Enable an XFS File System lazy counters

# xfs_admin -c 1 /dev/sdb

 Other than above common being changed parameters, here are few parameters that you could try for your special case:

       -e     Enables unwritten extent support on a filesystem that does not already have this enabled (for legacy filesystems, it can't be disabled  any‐
              more at mkfs time).

       -f     Specifies that the filesystem image to be processed is stored in a regular file at device (see the mkfs.xfs -d file option).

       -j     Enables version 2 log format (journal format supporting larger log buffers).

For more information, see the mkfs_admin(8) manual page.