Bug 1463615
Summary: | lsblk shows same filesystem UUID for /dev/sda and /dev/sda1 for partition table type "sun" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> |
Component: | util-linux | Assignee: | Karel Zak <kzak> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 26 | CC: | jonathan, kzak |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-29 11:42:37 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 910269 |
Description
Richard W.M. Jones
2017-06-21 10:28:07 UTC
I should note that the reason that I found this bug is because ‘findfs UUID=7523547d-fe02-4751-8695-4da6744621a9’ returns either /dev/sda or /dev/sda1 non-deterministically for this guest, which caused a non-deterministic bug in testing libguestfs. In this case the first partition on the disk starts at sector 0, it means partition table is within the first partition. Device Start End Sectors Size Id Type Flags debian-7-sparc64p1 0 192779 192780 94.1M 1 Boot debian-7-sparc64p2 192780 7903979 7711200 3.7G 83 Linux native debian-7-sparc64p3 0 8385929 8385930 4G 5 Whole disk debian-7-sparc64p4 7903980 8385929 481950 235.3M 82 Linux swap it's sometimes used for boot disks, or so. For example extN filesystem or Linux swap support this use-case and keep begin of the device unmodified (aka "bootbits"). I guess for some systems it's a way how to make disk bootable, but without support for PT within firmware. The libblkid should ignore FS on whole-disk device if there is PT. ... but I can imagine use-case when you want to mount the image without care about partition table, just mount the fist partition # mount -oro /home/archive/virt-images/debian-7-sparc64 /mnt/test # findmnt /mnt/test TARGET SOURCE FSTYPE OPTIONS /mnt/test /dev/loop0 ext2 ro,relatime,block_validity,barrier,user_xattr,acl in this case we want to see the begin of the device as ext2 rather than SUN PT. I'll think about it ... :-) Maybe differentiate between whole-disk (/dev/sda) and disk image (regular file) would be good enough. This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |