[PC-BSD Testing] 9.2 beta images, disk vendor names are cut off..

Sam Fourman Jr. sfourman at gmail.com
Fri Aug 9 08:44:56 PDT 2013


On Fri, Aug 9, 2013 at 11:39 AM, Kris Moore <kris at pcbsd.org> wrote:
> On 08/08/2013 16:03, Sam Fourman Jr. wrote:
>>> Fixed!
>>>
>>> https://github.com/pcbsd/pcbsd/commit/33f5a6dc70321b5596d2485f619b9c094131dd95
>>>
>>> --
>> ok as long as we are on cosmetic issues, that offer no functional
>> change, I have another...
>> on the VERY next screen, when you check mirror.. to set up a zpool mirror...
>>
>> it appears the disks are sorted in the wrong order(or rather un-intended order)
>> I have 25 disks in this machine... I know I should be using FreeNAS.. but well,
>> FreeNAS is all about ZFS... GREAT! so I go to install it, and well...
>> I can't install to a Zpool... What the hell :)
>> but that's a subject for a different email, on a different list.... :)
>>
>>
>> anyway in the TrueOS installer....
>>
>> the disks show up like this:
>> ada0
>> ada1
>> ada2
>> those are off the motherboard controller... thats fine...
>>
>> now on my ARC-1222 cards they show up like this:
>>
>> da0
>> da10
>> da11
>> da12
>> da13
>> da14
>> da15
>> da16
>> da17
>> da18
>> da19
>> da1
>> da20
>> da21
>> da2
>> da3
>> da4
>> da5
>> da6
>> da7
>> da8
>> da9
>> **************
>>
>> How hard is it, to make them sort intuitively da0,da1,da2,da3.....
>> da10,da11,da12.... da20,da21,da22....
>>
>>
>
> So, the way it gets the order is from "sysctl -n kern.disks | sort". I'm
> not seeing an obvious way to re-sort that on the command-line. Maybe
> this is something you can help me with, is there some sort of "sort"
> magic you can do to reorder these on your system in a meaningful way?
>

let me play with it a bit... here is my output for reference...

root at Ziggy:~ # sysctl -n kern.disks | sort
da21 ada1 ada0 da20 da19 da18 da17 da16 da15 da14 da13 da12 da11 da10
da9 da8 da7 da6 da5 da4 da3 da2 da1 da0


-- 

Sam Fourman Jr.


More information about the Testing mailing list