January 23, 20224 yr Yes, I know, it doesn't affect functionality. But it just drives my OCD insane!! I am trying to understand how those Dev # are assigned? I have 9 drives: sde/f/g/h/i/j/k/l/m and their dev # are completely out of order in GUI and they are scattered all over the place under the "unassigned device" list. I plan to zpool-1 (raidz2) the first six sde/f/g/h/i/j (they're sitting next to each other in the server too), then zpool-2 (mirror) the other two sdk/sdl, and then use the last drive as a hot spare for zpool-1. My eyes are bleeding when I see the two pools' members all mixed up in the list. I tried powering the server on and adding the drives one by one - sde, sdf, sdg, etc etc. At first they're showing up as dev 1, dev 2, but then as I add more drives to the server they start exchanging dev numbers between each other ending up completely shuffled. I'm in pain. Can I control this behavior? Edited January 23, 20224 yr by m-a-x
January 23, 20224 yr Best to post in the Unassigned Devices thread. I believe you can do this though via the new "Alias" feature
January 24, 20224 yr Author 7 hours ago, Squid said: Best to post in the Unassigned Devices thread. I believe you can do this though via the new "Alias" feature Not sure if you mean the plug-in thread, but the dev # assignment is random even without the plug-in installed. The "native" unassigned devices does the same thing.
January 24, 20224 yr Community Expert 14 minutes ago, m-a-x said: Not sure if you mean the plug-in thread, but the dev # assignment is random even without the plug-in installed. The "native" unassigned devices does the same thing. If you are ta;king about the sdX type designations then Unraid has no control over those. They are assigned dynamically at the Linux level during the boot process as Linux recognises the drives and are subject to change on any boot due to slight variations in timing. In practice they tend to remain constant between boots but you should never rely on that.
January 24, 20224 yr Author 1 hour ago, itimpi said: If you are ta;king about the sdX type designations then Unraid has no control over those. They are assigned dynamically at the Linux level during the boot process as Linux recognises the drives and are subject to change on any boot due to slight variations in timing. In practice they tend to remain constant between boots but you should never rely on that. Dev 1 through 9 are the source of suffering. sdX have direct correlation with physical SAS connectors on my 24 bay SAS expander, so I know which drive is which sdX. But the Dev [#] that I don't even know what it is, gets assigned randomly. If I remove say half the drives, the Dev [#] would get rearranged, there would be still Dev 1-4, but as soon as I introduce all the drives back, the Dev [#] assignment goes back to this specific arrangement. So it obviously uses some HDD info to map it in this particular way.
January 24, 20224 yr The Dev # is probably the new "Alias" which was introduced in Unassigned Devices. Details in the thread (towards the end). Your question is about rearranging the display order and IIRC correct the alias will let you do that. For anything which you're mounting yourself (eg: a ZFS pool), then there's probably nothing you can do, as neither Unraid nor Unassigned Devices has anything to do with it. You could however see if there's any suggestions in the ZFS plugin's thread for that.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.