Bug 1657320
Summary: | "atari signature detected" during pvcreate attempts of luks volumes | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | Ondrej Kozina <okozina> |
lvm2 sub component: | Command-line tools | QA Contact: | cluster-qe <cluster-qe> |
Status: | CLOSED WONTFIX | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | agk, dshumake, gabriel.arthur.petursson, heinzm, jbrassow, kzak, msnitzer, pasik, prajnoha, thornber, zkabelac |
Version: | 8.0 | ||
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-15 19:48:35 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: |
Description
Corey Marthaler
2018-12-07 16:22:28 UTC
This may happen due to atari signature being too short and therefore often detected by mistake even with pseudo-random data on new unlocked LUKS device. Karel, do you have any idea if there's a way to improve blkid scan so that it doesn't find the signature so often? Otherwise I can only advise to wipe all /dev/mapper/cPV* devices first or just run pvcreate -y. I think call "wipefs -a" is a good idea to avoid wrong interpretation of the random data ;-) Unfortunately, I do not see a way how to make libblkid atari probing function more robust... closing WONTFIX - workaround is to wipe the device. @jbrassow Can you please advice how this workaround may be implemented from within a Kickstart installation? Partition layout in Kickstart is declarative and there doesn't appear to be a way to request a wipe of the luks block-device before Kickstart attempts to probe for an existing filesystem. This is the relevant excerpt from our Kickstart template: # Disk partitioning information clearpart --all --initlabel --drives=sda part /boot --fstype="xfs" --ondisk=sda --size=1024 part /boot/efi --fstype="efi" --ondisk=sda --size=200 --fsoptions="umask=0077,shortname=winnt" part pv.157 --fstype="lvmpv" --ondisk=sda --size=15158 --grow --encrypted --passphrase=setup --luks-version=luks2 volgroup el_{{inventory_hostname_short}} --pesize=4096 pv.157 logvol swap --fstype="swap" --size=1024 --name=swap --vgname=el_{{inventory_hostname_short}} logvol / --fstype="xfs" --size=14128 --name=root --vgname=el_{{inventory_hostname_short}} We were hoping for a proper bugfix as we occasionally encounter this "atari" bug when performing automatic installations on our servers. Thanks! The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |