Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jun 2012 08:26:07 +0900
From:      Randy Bush <randy@psg.com>
To:        FreeBSD FS <freebsd-fs@freebsd.org>
Subject:   hptrr disk labeling
Message-ID:  <m2pq9kq6eo.wl%randy@psg.com>

next in thread | raw e-mail | index | archive | help
i have an hptrr controller with 12-16 2tb satas on it.  a picture
before i started cleaning up some disk failures.

        NAME                STATE     READ WRITE CKSUM
        tank                ONLINE       0     0     0
          mirror            ONLINE       0     0     0
            label/m00-d01   ONLINE       0     0     0
            label/m00-d00   ONLINE       0     0     0
          mirror            ONLINE       0     0     0
            label/m01-d00   ONLINE       0     0     0
            label/m01-d01   ONLINE       0     0     0
          mirror            ONLINE       0     0     0
            label/m02-d00   ONLINE       0     0     0
            label/m02-d01   ONLINE       0     0     0
          mirror            ONLINE       0     0     0
            label/m03-d00   ONLINE       0     0     0
            label/m03-d01   ONLINE       0     0     0
          mirror            ONLINE       0     0     0
            label/m04-d00   ONLINE       0     0     0
            label/m04-d01   ONLINE       0     0     0
          mirror            ONLINE       0     0     0
            label/m05-d00   ONLINE       0     0     0
            label/m05-d01   ONLINE       0     0     0

the reason i used glabels was because when the system boots or the
controller rescans, it assigns da0 to the first drive it finds alive on
the controller, da1 to the second, etc.

this means that drive addition or removal changes the daX numbering.

so the labels are so that zfs can find its ass when assembling the
array.

the kernel opt
   options        ATA_STATIC_ID   # Static device numbering
is for ata, not sata, yes?

is there a nice way out of this?

randy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2pq9kq6eo.wl%randy>