I'm running a centos 7 server.
I want to change the label of the root file system (xfs).
xfs_admin -L "newlabel" /dev/mapper/centos-root fails because it can't operate on a mounted fs.
Is this possible anyhow?
Is there a way to run something like that during boot before the root fs is mounted?