Lev Posted March 25, 2018 Share Posted March 25, 2018 With a large number of unassigned disks, the list in the pull-down menu when assigning them can be quite long. There does not appear to be any logical order to how the disks are listed. Any logical order would be an improvement. Unless there's a better sort method preferred by the developers, seems like the list would be in ascending order of the disk letter, example: sdb, sdc, sdd... @bonienl @Squid just FYI if this is something to add into the on-going GUI improvements. Quote Link to comment
bonienl Posted March 25, 2018 Share Posted March 25, 2018 The Unassigned Devices plugin is with @dlandon. I know LT has plans for integration in the future, but for the moment it still is a separate plugin. Quote Link to comment
dlandon Posted March 25, 2018 Share Posted March 25, 2018 I believe he is referring to the drop down list of unassigned disks on the "Array Devices" tab and not the "Unassigned Devices" tab when assigning disks to the array. Quote Link to comment
bonienl Posted March 25, 2018 Share Posted March 25, 2018 You are right, I misread the request. Quote Link to comment
Lev Posted March 25, 2018 Author Share Posted March 25, 2018 51 minutes ago, bonienl said: The Unassigned Devices plugin is with @dlandon. I know LT has plans for integration in the future, but for the moment it still is a separate plugin. My bad, I really should of included a screenshot in the OP. Thanks for the reply @bonienl Quote Link to comment
pwm Posted March 25, 2018 Share Posted March 25, 2018 I think I would prefer that it sorts on serial so similar drives ends up beside each other - the sda, sdb, ... name depends on in which order the kernel detects the drives so is often not a good sort order unless you already happen to know that you want "sdh" based on something you have read in some log file. Quote Link to comment
bonienl Posted March 26, 2018 Share Posted March 26, 2018 I made a update which does the following sorting (grouping) of devices 1. Sort on disk size. Largest disks first 2. Within same disk size, sort on disk model. This groups same vendor + model together 3. Within same disk size and same disk model, sort on name assignment (sdX). 2 1 Quote Link to comment
Lev Posted March 26, 2018 Author Share Posted March 26, 2018 4 hours ago, bonienl said: I made a update which does the following sorting (grouping) of devices Thank you bonienl ! That's a very nice improvement! Quote Link to comment
itimpi Posted March 26, 2018 Share Posted March 26, 2018 6 hours ago, bonienl said: I made a update which does the following sorting (grouping) of devices 1. Sort on disk size. Largest disks first 2. Within same disk size, sort on disk model. This groups same vendor + model together 3. Within same disk size and same disk model, sort on name assignment (sdX). Nice improvement. Should perhaps step 3 be on serial number rather than I’d as (although rare) id’s can vary on a reboot whereas serial number will not. Quote Link to comment
bonienl Posted March 26, 2018 Share Posted March 26, 2018 3 minutes ago, itimpi said: Should perhaps step 3 be on serial number rather than I’d as (although rare) id’s can vary on a reboot whereas serial number will not Sorting on "id" is useful when you do a "NewConfig" and name assignment (sdX) hasn't changed. Quote Link to comment
Recommended Posts
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.