Unable to import pool - pool shows up in dialog import list, but fails at zfs.find_import
Description
Problem/Justification
Impact
duplicates
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity
Bug Clerk May 9, 2021 at 8:48 PM
William Gryzbowski April 27, 2021 at 10:16 AM
@Waqar Ahmed https://github.com/truenas/middleware/pull/6281
Waqar Ahmed April 27, 2021 at 1:41 AM
@David Hilton can you please confirm if you are still able to reproduce this on TN Scale 21.04 ? Thank you
Waqar Ahmed January 15, 2021 at 3:28 AM
@David Hilton if I remember correctly the issue in that case was that we were unable to find pools based on partition uuids and that's why the change was required. I can look more later today and verify ofcourse, thank you for bringing it to my attention.
David Hilton January 15, 2021 at 3:15 AM
(reposting with fixed urls)
Looking at https://github.com/freenas/freenas/pull/3991/commits/eda423ba112ca5154b916c199b471536a2471849, (part of freenas #3991) it seems that this was introduced as part of dealing with nvme drives. It's not clear to me what the actual problem is, but it's unlikely that the code was added without reason! - @Waqar Ahmed, do you have any input?
A short fix is to add `/dev/disk/by-uuid/` to the list of search paths (see freenas #6281).
21.06 PR: https://github.com/truenas/middleware/pull/6856