From owner-freebsd-questions@freebsd.org Fri Dec 4 10:54:34 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2BA94A409C6 for ; Fri, 4 Dec 2015 10:54:34 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B95921EB2 for ; Fri, 4 Dec 2015 10:54:33 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by wmvv187 with SMTP id v187so68695884wmv.1 for ; Fri, 04 Dec 2015 02:54:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=C/HzMVZOvruTOxG/AmTP83JPExVAUVpBKkoPKvmVCv8=; b=VTlmgouiVbbg2VYSNlTjxTp23gkhscmWNf3cCWpDzFrluQ8kKp9OUIdGw7c3V/Ub7I fPDFnByklBuvEO94cChYXhdIpovAD90g1559kLjsGBtFhEtmwlGX3+dzXgNWsCmQQreU 0RptCvus35wEAef2tJZjHwU3gKrnvViJEiLKaRo+cKogY0SiSBmQOPKVt2nVRMK3V9Dr oFhzDjAYkmIYxrKVbuanOTE9HN74rNKCNc3j3C61ZAuK7iJXYiaPZxRv2N0b96oyVUgm SaXX5FEfLwx2N2WW+1fz/9WipauUmrvf55df3WEVTFQvwGXRZRPeYEsa7wB4knniifDz KitA== X-Received: by 10.28.150.11 with SMTP id y11mr4026699wmd.43.1449226472278; Fri, 04 Dec 2015 02:54:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.140.75 with HTTP; Fri, 4 Dec 2015 02:54:12 -0800 (PST) In-Reply-To: <201512041047.tB4AlLEq091375@mech-as222.men.bris.ac.uk> References: <201512041047.tB4AlLEq091375@mech-as222.men.bris.ac.uk> From: Anton Sayetsky Date: Fri, 4 Dec 2015 12:54:12 +0200 Message-ID: Subject: Re: help number disks via /boot/device.hints To: mexas@bris.ac.uk Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 10:54:34 -0000 2015-12-04 12:47 GMT+02:00 Anton Shterenlikht : > 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: 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: 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.