xfs_admin uses the
xfs_db(8) command to modify various parameters of a filesystem.
Devices that are mounted cannot be modified.
Administrators must unmount filesystems before
xfs_admin or
xfs_db can convert parameters.
A number of parameters of a mounted filesystem can be examined
and modified using the
xfs_growfs(8) command.
OPTIONS
<3>-e3><1>
Enables unwritten extent support on a filesystem that does not
already have this enabled.
1>
<3>-f3><1>
Specifies that the filesystem image to be processed is stored in a
regular file (see the <2>mkfs.xfs2><1> 1><3>-d3><1> 1><2>file2><1> option).
1>
1>
<3>-l3><1>
Print the current filesystem label.
1>
<3>-u3><1>
Print the current filesystem UUID (Universally Unique IDentifier).
1>
<3>-L3><1> 1><2>label2><1>
Set the filesystem label.
XFS filesystem labels can be at most 12 characters long; if
label is longer than 12 characters,
xfs_admin will truncate it and print a warning message.
The filesystem label can be cleared using the special ``c
-- '' value for
label .
1>
<3>-U3><1> 1><2>UUID2><1>
Set the UUID of the filesystem.
A sample UUID looks like this: "c1b9d5a2-f162-11cf-9ece-0020afc76f16".
The uuid may also be
nil , which will set the filesystem UUID to the null UUID.
The uuid may also be
generate , which will generate a new UUID for the filesystem.
The
mount(8) manual entry describes how to mount a filesystem using its label or UUID,
rather than its block special device name.