hptrr disk labeling
Randy Bush
randy at psg.com
Thu May 31 23:26:10 UTC 2012
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
More information about the freebsd-fs
mailing list