Electric Eel RC.2 Upgrade Exported boot-pool GUI Anomaly
Description
Problem/Justification
Impact
duplicates
is duplicated by
Activity

William Sandhu December 11, 2024 at 6:01 PM
@Caleb Summary: Electric Eel Installation Fails on Mirrored NVMe Drives with Residual ZFS Metadata
Description:
This ticket addresses an unresolved issue with the Electric Eel installer failing on mirrored NVMe drives that were previously used with TrueNAS SCALE. Despite related tickets (NAS-131900, NAS-132081, NAS-133006) being closed, this issue persists under specific conditions.
Steps to Reproduce:
Install TrueNAS SCALE (Electric Eel) on mirrored NVMe drives previously used with TrueNAS SCALE.
Observe that the installation appears to complete successfully.
Reboot as prompted, and the system drops into the initramfs shell instead of booting into the OS.
Observed Behavior:
The initramfs shell suggests a potential resolution (e.g., force-importing ZFS pools). While this temporarily allows the system to boot, subsequent reboots return to the initramfs shell.
Workaround:
To resolve the issue, I used the following commands to manually clear the drives from the installer’s Shell option:
blkdiscard /dev/nvme0n1
blkdiscard /dev/nvme1n1
After running these commands, the installation completed without issue, and the system booted normally.
Expected Behavior:
The installer should fully clear residual ZFS metadata or RAID bits from drives, preventing these issues.
Request for Improvement:
Integrate
blkdiscard
(or a similar low-level cleanup tool) into the installer’s drive preparation process.Provide clearer guidance or error messages for users encountering this issue.
Additional Question:
The Electric Eel installer no longer offers the option to configure a swap partition. Was this change intentional? If so, what was the rationale behind its removal?
Related Tickets:
NAS-131900 (Closed Without Changes)
NAS-132081 (Duplicate, Closed Without Changes)
NAS-133006 (Duplicate, Closed Without Changes)
Please let me know if further information is required. I hope this feedback helps improve the installation process for future releases.

William Sandhu October 26, 2024 at 5:25 PM
Thank you for the detailed explanation and for pinpointing the underlying issue. I appreciate the guidance, especially as this is a low-priority matter. It's good to know the changes in EE will prevent this in the future. I'll follow your advice on the backup and fresh install if needed.

Caleb October 25, 2024 at 12:36 PM
Once you have freshly installed, you can upload the backup of your configuration and it will restore all you're configuration from before the install.

Caleb October 25, 2024 at 12:35 PM
thanks for the find_import output. It shows the problem, zpool detects a zpool named boot-pool
that was once importable but is no longer. This typically means that there are filesystem labels on existing drives in your system that have been formatted previously and are still being detected by zfs because the previous filesystem label is still in-tact.
We have fixed this moving forward starting in EE but upgrades have the potential of running into this issue. There really isn’t an easy solution once you’re into this scenario. The path forward is to save a backup of your configuration to your local PC. And then fresh install EE-RC.2 to the boot drives again. During the installation process we wipe all partitions and ensure any zfs filesystem labels are cleared out as well.

William Sandhu October 24, 2024 at 8:09 PM
Done.
Details
Details
Assignee

Reporter

Bug Report: Ghost Zpool Import Messages After Upgrading to 24.10-RC2
Steps to Reproduce:
Install TrueNAS Scale 24.04.2.3 and upgrade to 24.10-RC2.
Navigate to the Storage Dashboard in the web GUI.
2. Expected Result:
The boot pool should appear normally without any export prompts.
3. Actual Result:
A ghost “import disks” notification appears in the GUI, even though `zpool import` shows no available pools.
Additional Info:
The issue appears after upgrading from 24.04.2.3, but not after direct upgrades from 24.04.2.2.
See discussion at: https://forums.truenas.com/t/electric-eel-rc-2-upgrade-exported-boot-pool/15357?u=khalsajing