-
Notifications
You must be signed in to change notification settings - Fork 556
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
LVM partitions not deleted properly on wipe #3028
Comments
Creating partitions: /dev/nvme0n1
Type: primary
Filesystem: fat32
Geometry: 2048 start sector, 2097152 length
Type: primary
Filesystem: btrfs
Geometry: 2099200 start sector, 3904927920 length
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/archinstall/__init__.py", line 337, in run_as_a_module
main()
File "/usr/lib/python3.12/site-packages/archinstall/__init__.py", line 330, in main
importlib.import_module(mod_name)
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/lib/python3.12/site-packages/archinstall/scripts/guided.py", line 186, in <module>
guided()
File "/usr/lib/python3.12/site-packages/archinstall/scripts/guided.py", line 182, in guided
fs_handler.perform_filesystem_operations()
File "/usr/lib/python3.12/site-packages/archinstall/lib/disk/filesystem.py", line 70, in perform_filesystem_operations
device_handler.partition(mod, partition_table=partition_table)
File "/usr/lib/python3.12/site-packages/archinstall/lib/disk/device_handler.py", line 712, in partition
disk.commit()
File "/usr/lib/python3.12/site-packages/parted/decorators.py", line 28, in new
ret = fn(*args, **kwds)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/parted/disk.py", line 208, in commit
return self.__disk.commit()
^^^^^^^^^^^^^^^^^^^^
_ped.IOException: Partition(s) 2, 3 on /dev/nvme0n1 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes. It's the same error as #1789, the exception is still not caught. Shouldn't it be caught and |
@C0rn3j |
The log shows that device The following is pertinent information from the log about the partition:
This is how device wiping is handled: archinstall/archinstall/lib/disk/device_handler.py Lines 824 to 847 in d2ef961
Apparently the device wiping logic is not sufficient for an LVM partition. This bug can be reproduced by installing to a device that contains an existing logical volume and having the device set to be wiped by the installer. |
Which ISO version are you using?
2024.12.01
The installation log
https://0x0.st/XCM6.log or https://0x0.st/XCuP.log or https://0x0.st/XCub.log
describe the problem
log.txt
Hardware model detected: Gigabyte Technology Co., Ltd. B650 GAMING X; UEFI mode: True
Processor model detected: AMD Ryzen 5 7600X 6-Core Processor
Memory statistics: 30701756 available out of 32463564 total installed
Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none
System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none
Virtualization detected: None; is VM: False
Graphics devices detected: dict_keys(['Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] (rev c1)'])
The text was updated successfully, but these errors were encountered: