AHCI to CAM(Common Access Method)によって、HDDは /dev/ada# とデバイス名、デバイス番号が振られます。
ここで、ちょっと困ってしまうのがデバイス番号が認識した順番で自動的に振られてしまうこと。
そのため、ハードウェア変更などでデバイス番号が変わるという悪夢が…
なので、device.hintsに記述して、デバイス番号を固定化します。
ファイルエディタで/cf/boot/device.hintsを編集します。1)
hint.scbus.0.at="ahcich10" hint.ada.0.at="scbus0" hint.scbus.1.at="ahcich11" hint.ada.1.at="scbus1"
こんな風になりました。
ada0 at ahcich10 bus 0 scbus0 target 0 lun 0 ... ada1 at ahcich11 bus 0 scbus1 target 0 lun 0