Changing XFS File System Feature Options
Use the xfs_admin command to update or change XFS file system
features on an unmounted device.
The xfs_admin command can change feature options on an unmounted XFS
file system. For example, you can:
-
Enable or disable lazy counters
-
Enable or disable other feature options such as
bigtimeandinobtcount. -
Change the file system UUID
-
Change the file system label
For more information, see the mkfs_admin(8) manual page.
Note:
You can't change a mounted XFS file system.
- Disable or enable lazy counters.
To disable lazy counters, run:
sudo xfs_admin -c 0 /dev/sdbTo enable lazy counters, run:
sudo xfs_admin -c 1 /dev/sdb