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

Lars Engels lars.engels at 0x20.net
Sat Aug 10 05:00:35 PDT 2013


On Fri, Aug 09, 2013 at 11:39:25AM -0400, Kris Moore 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?

Try this:

sysctl -n kern.disks | tr ' ' '\n' | sort -n | xargs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.pcbsd.org/pipermail/testing/attachments/20130810/0d7e8718/attachment.bin>


More information about the Testing mailing list