Replies: 6 comments
-
I would suggest looking at the |
Beta Was this translation helpful? Give feedback.
-
I expect you meant I've used the -d option to import many times over the years, and I've tried that in this case as well, but it's not helping, which is one thing that is puzzling me. I've also been looking at |
Beta Was this translation helpful? Give feedback.
-
Oops, yes you're right
If you could post the relevant lines from |
Beta Was this translation helpful? Give feedback.
-
Ok, I'll try to get more useful information posted here. In the meantime, I'm wondering about the following... Looking at If I understand correctly, the I'm not sure how Does this ring any bells? The reason the devid has changed is that the drives in question were previously iscsi targets on another backend host, but they are now local drives in the host that is trying to import the pool. As I said, I can clearly see those drives on the new host with zdb, but zpool import refuses to import them. |
Beta Was this translation helpful? Give feedback.
-
This is what I'm seeing in 1728583771 vdev.c:162:vdev_dbgmsg(): disk vdev '/dev/disk/by-path/ip-10.10.10.101:3260-iscsi-iqn.0000-00.bar.foo:target-ps1-wwn-0x5000c500dbea09ea-lun-0-part1': open error=16 timeout=7561/1000000000 That's the old path to the drive from when it was an iscsi target on another host. I don't understand why it's trying to open that old path rather than find the drive as it exists now on this new host. |
Beta Was this translation helpful? Give feedback.
-
I don't know why ZFS does not switch to the new paths, it should if there is a newer option available, but just for a note earlier this year @ixhamza fixed a number of issue with paths not being updated in the labels after successful import, like #15737, #15816, #15817. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I realize this initial question is going to seem vague and probably lacking crucial information but I'm not sure what information to provide yet and I don't want to just start by dumping everything from zdb output.
I'm having a problem trying to import a pool after some changes to drive device paths. I'm suprised that the zpool import is not able to find the devices since I can clearly see them all with a zdb -l run against each of the individual drives.
This is a pool comprised of 35 drives, 17 mirror vdevs, 2 drives per mirror, and 1 spare drive.
All 35 drives exist. I can, for example, run zdb -l /dev/disk/by-id/wwn*-part1 and the pool_guid is identical for each drive.
After some system changes, the path and phys_path for these drives has changed from what is shown by zdb -l. I thought that should not be a problem since I would have expected the zpool import to just scan every available drive, find the existing drives, and update the drive device paths to reflect the changes. But that's clearly not happening as I expected. Is there a way to force that to happen?
Can anyone point me to next steps? What zdb -l output would help in diagnosing this problem? What other information should I be looking at or can provide here to help you to help me?
Beta Was this translation helpful? Give feedback.
All reactions