Bug 2180782
| Summary: | mkfs.gfs2: backport -U UUID option to RHEL 8.9 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Andrew Price <anprice> |
| Component: | gfs2-utils | Assignee: | Andrew Price <anprice> |
| Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | unspecified | Docs Contact: | Steven J. Levine <slevine> |
| Priority: | medium | ||
| Version: | --- | CC: | cluster-maint, gfs2-maint, slevine |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | gfs2-utils-3.2.0-13.el8 | Doc Type: | Enhancement |
| Doc Text: |
.Support for specifying a UUID when creating a GFS2 file system
The `mkfs.gfs2` command now supports the new `-U` option, which makes it possible to specify the file system UUID for the file system you create. If you omit this option, the file system’s UUID is generated randomly.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-14 15:47:29 UTC | Type: | Enhancement |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Andrew Price
2023-03-22 09:27:11 UTC
Testing notes: The test suite that runs at package build time contains some basic validation tests: https://pagure.io/gfs2-utils/blob/RHEL8/f/tests/mkfs.at#_178-182 Beyond that, some additional tests could be: uuid=$(uuidgen) mkfs.gfs2 -U $uuid ... $device mount $device $mountpoint grep -Hi $uuid /sys/fs/gfs2/$(basename $(readlink -f $device))`/uuid umount $device tunegfs2 -l $device | grep $uuid Verified with some manual testing with gfs2-utils-3.2.0-13.el8.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (gfs2-utils bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:7086 |