Date: Fri, 4 Dec 2015 12:54:12 +0200 From: Anton Sayetsky <vsasjason@gmail.com> To: mexas@bris.ac.uk Cc: freebsd-questions@freebsd.org Subject: Re: help number disks via /boot/device.hints Message-ID: <CAA2O=b8uoH==EGyDwTWSfLnnaAu7PaasYaM5HWciLnV=4C5Qow@mail.gmail.com> In-Reply-To: <201512041047.tB4AlLEq091375@mech-as222.men.bris.ac.uk> References: <201512041047.tB4AlLEq091375@mech-as222.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
2015-12-04 12:47 GMT+02:00 Anton Shterenlikht <mexas@bris.ac.uk>: > I've a problem - when the fibre disks are connected > at boot, the boot disk is not given da0 and I cannot boot. > So what I do now is disconnect the fiber disk until boot > is completed, and connect is manually afterwards. > > Then I get: > > da0 at mpt0 bus 0 scbus3 target 2 lun 0 > da0: <IBM-ESXS MAY2073RC T107> Fixed Direct Access SPC-3 SCSI device > da0: Serial Number B399P790FBEG > da0: 300.000MB/s transfers > da0: Command Queueing enabled > da0: 70006MB (143374000 512 byte sectors: 255H 63S/T 8924C) > > da1 at isp0 bus 0 scbus2 target 0 lun 5 > da1: <COMPAQ MSA1000 VOLUME 4.32> Fixed Direct Access SPC-2 SCSI device > da1: Serial Number P56350GX3RX04Z > da1: 200.000MB/s transfers WWNN 0x500805f3000ec220 WWPN 0x500805f3000ec221 PortID 0x10000 > da1: Command Queueing enabled > da1: 140011MB (286744185 512 byte sectors: 255H 63S/T 17849C) > > How can I set in /boot/device.hints that the MSA1000 > disk is da1 and IBM is the boot disk da0? It does not matter what number assigned to disk with FreeBSD. You should setup correct boot order in BIOS/UEFI and/or controller firmware. AFAIK Assigning fixed number to disks is not possible.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA2O=b8uoH==EGyDwTWSfLnnaAu7PaasYaM5HWciLnV=4C5Qow>