Note: With RHEL 7.6, it is now possible to assign a label to a mounted file system with the xfs_io command: # xfs_io -c “Label” /dev/vg/lv_vol

To read the label (the file system can be mounted or not but you need to specify the partition name), type:

# xfs_admin -l /dev/vg/lv_vol

XFS Backup Management

To do a full backup of the file system and put it into the /root/dump.xfs file without specifying any dump label, type:

# xfsdump -F -f /root/dump.xfs /mnt

Note1: You can specify the mounting point or the partition name.
Note2: It is only possible for a mounted file system.
Note3: You can run an incremental dump by using the “-l” option with a number between 0 and 9 (0=full dump).