From owner-freebsd-current@freebsd.org Thu Sep 19 16:05:01 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B53CE12743A for ; Thu, 19 Sep 2019 16:05:01 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.evolve.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Z1rs1Gmsz3QlZ; Thu, 19 Sep 2019 16:05:00 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 89c1c41e; Thu, 19 Sep 2019 16:04:58 +0000 (UTC) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id baa283a7 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 19 Sep 2019 16:04:55 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Lockdown adaX numbers to allow booting ? From: Michael Gmelin X-Mailer: iPhone Mail (16G102) In-Reply-To: <20190919155713.GG2863@home.opsec.eu> Date: Thu, 19 Sep 2019 18:04:54 +0200 Cc: Toomas Soome , freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <3C855A39-BF79-4430-98CB-CB9174768E11@freebsd.org> References: <20190919140219.GE2863@home.opsec.eu> <7E0AE025-596C-457E-BC40-41217857A3CD@me.com> <20190919155713.GG2863@home.opsec.eu> To: Kurt Jaeger X-Rspamd-Queue-Id: 46Z1rs1Gmsz3QlZ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-2.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2019 16:05:01 -0000 > On 19. Sep 2019, at 17:57, Kurt Jaeger wrote: >=20 > Hi! >=20 >>> We have a system with 10 SATA disks. 2 disks are for the system, >>> 8 disks drive a data pool 'bck', configured as raidz2, for backup purpos= es: >>>=20 >>> bck 72.8T 38.7T 34.1T - - 1% 53% 1.00x ONLI= NE - >=20 >>> The problem is that if all 10 disks are connected, the system >>> looses track from where it should boot and fails to boot (serial boot lo= g): >=20 >> Why this order does change? One would expect disks 0 and 1 to be OS disk= s and the rest for data??? >=20 > 0+1 are 2.5", and the initial setup was: > - we installed system disks as zroot=20 > - shipped the box to the housing facility > - booted and added the drives >=20 > At that time we did not do additional tests about the disk/boot sequence > etc. >=20 >> Also the question is, what you mean with ???system looses track???? >=20 > I interpret the hang during boot as 'it looses track'. So I guess > it tries to read the kernel from the wrong drives. >=20 >> disk4 becomes adaX? why it matters, are you using ufs on boot disks? >=20 > No, zpool only. >=20 > I've made a few more details available here: >=20 > https://people.freebsd.org/~pi/host/dmesg.txt > https://people.freebsd.org/~pi/host/devlist.txt > https://people.freebsd.org/~pi/host/gpart.txt > https://people.freebsd.org/~pi/host/pciconf.txt > https://people.freebsd.org/~pi/host/zpool.txt What about gpart output of the pool drives? In general you would create zpools using gptids or gpt labels, not the devic= es, so you=E2=80=99re independent of device numbering. The boot loader shoul= d only be installed on drives that contain the boot pool (maybe you have old= boot loaders on data drives?). -m > --=20 > pi@opsec.eu +49 171 3101372 One year to go != > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"=