-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upon lvcreate, error "1 existing signature left on the device. Failed to wipe signatures on logical volume " #88
Comments
Hi Please, can you provide log of your command execution - as it seems like it works in my case: [root@linux export]# lvcreate -l10 vg Alokují se tabulky skupin: hotovo [root@linux export]# lvremove -f vg Alokují se tabulky skupin: hotovo [root@linux export]# lvremove -f vg |
Hi zkabelac,
Execution of '/usr/sbin/lvcreate -n --extents 100%FREE ' returned 5: WARNING: signature detected on /dev//*** at offset 0. Wipe it? [y/n]: [n] |
Please provide 'trace' for your working & non-working case. Wiping of the signature has been introduced around 2014 - so unless you upgrade from that version nothing should change. You can always disable wiping in lvm.conf and wipe yourself with wipefs command. In the script to get 'yes' answer you need to pass -y|--yes. |
As mentioned recently the lvm has been upgraded from lvm2-2.02.187-6.el7_9.5.x86_64 to lvm2-libs-2.03.14-3.el8.x86_64. So thinking of using the approach of disabling the wiping in lvm.conf and then manually wipe all the signatures with wifefs command. |
Assuming disabling wiping solves the issue. |
This issue is seen with lvm2-2.03.14-3.el8.x86_64 during lvcreate when the previous signatures are not wiped. But after updating the wipe_signatures_when_zeroing_new_lvs=0 in lvm.conf, the issue is not seen. This has been working previously with the wipe_signatures_when_zeroing_new_lvs=1, but why is it seen now ? It asks for prompt, as it is done in automatic way, we cant provide the --yes option here.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: