Assign a label to an XFS filesystem.
Section: Format, Label, and Tune
Set an XFS label
bash
bash
sudo xfs_admin -L data /dev/sdb1Explanation
Assign a label to an XFS filesystem.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Format, Label, and Tune