xfs_admin: add page (#19302)

Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
zhuhong_bo
2025-11-13 11:31:03 +08:00
committed by GitHub
parent 9c2cda0849
commit 3ac2a1890c
+28
View File
@@ -0,0 +1,28 @@
# xfs_admin
> Tune an XFS filesystem.
> More information: <https://manned.org/xfs_admin>.
- Display the filesystem label:
`sudo xfs_admin {{[-l|--list]}} {{/dev/sdX}}`
- Set the filesystem label:
`sudo xfs_admin {{[-L|--Label]}} "{{label}}" {{/dev/sdX}}`
- Display the filesystem UUID:
`sudo xfs_admin {{[-u|--uuid]}} {{/dev/sdX}}`
- Set the filesystem UUID (use with caution):
`sudo xfs_admin {{[-U|--UUID]}} {{uuid}} {{/dev/sdX}}`
- Generate a new UUID for the filesystem:
`sudo xfs_admin {{[-U|--UUID]}} generate {{/dev/sdX}}`
- Display help:
`xfs_admin`