My Oracle Support Banner

Unable To Label XFS File System (Doc ID 2560445.1)

Last updated on NOVEMBER 30, 2020

Applies to:

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


The system is running UEK4 kernel.

Label a XFS filesystem using xfs_io command.

[root@server ~]# xfs_io -c "label -s boot" /boot/
label: Inappropriate ioctl for device 

The filesystem is mounted as verified with:

[root@server ~]# df -hT | grep -E '(xfs)'
/dev/mapper/vg_OS-root xfs 36G 14G 23G 37% /
/dev/mapper/vg_OS-home xfs 5.0G 33M 5.0G 1% /home
/dev/sda1 xfs 1014M 317M 698M 32% /boot


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.