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 filesystem.
Is it possible to change label of mounted filesystem?
Is there a way to run something like that during boot before the root fs is mounted?