From owner-freebsd-questions@freebsd.org Fri May 24 19:03:17 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6DF0815B30D9 for ; Fri, 24 May 2019 19:03:17 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "xray.he.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 392D273B20 for ; Fri, 24 May 2019 19:03:16 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Fri, 24 May 2019 12:03:06 -0700 Subject: Re: How to mount raidz2 on installer shell To: freebsd-questions@freebsd.org References: <6a5c54bfdd869e59aec9790790bacf71.squirrel@webmail.harte-lyne.ca> From: David Christensen Message-ID: <59d79d5b-45f1-a1be-97fa-0d252ca8b840@holgerdanske.com> Date: Fri, 24 May 2019 12:02:51 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <6a5c54bfdd869e59aec9790790bacf71.squirrel@webmail.harte-lyne.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 392D273B20 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-1.38 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[holgerdanske.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.90)[-0.905,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[holgerdanske.com]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.42)[ipnet: 184.104.0.0/15(1.09), asn: 6939(-3.13), country: US(-0.06)]; NEURAL_SPAM_SHORT(0.05)[0.050,0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2019 19:03:17 -0000 On 5/24/19 11:11 AM, James B. Byrne via freebsd-questions wrote: > I just installed 12.0 on a new host with new discs. The install went > fine but the system will not boot because: > > gptfsboot: No ZFS pools found, can't boot > > I have booted into single user mode from the install stick. How do I > mount bootpool so that the boot-loader finds it when I reboot? > > camcontrol devlist shows the drives: > > Code: > > TEAC DV-20E-V 1.AB> at scbus0 target 0 lun 0 (cd0,pass0) > at scbus1 target 0 lun 0 (pass1,ada0) > at scbus2 target 0 lun 0 (pass2,ada1) > at scbus3 target 0 lun 0 (pass3,ada2) > at scbus4 target 0 lun 0 (pass4,ada3) > at scbus7 target 0 lun 0 (da0,pass5) > > gpart shows all the drives partitioned. zpool import shows nothing. > > I believe that the problem is that that the installer does not provide > a link from /boot to /bootpool/boot and therefore the boot loader.conf > file cannot be found. > > What I wish to do is to mount the raidz2 pool (zroot) and create a > logical link between /boot and /bootpool/boot. > > Any help is appreciated. So, 4 Western Digital HDD's in RAIDZ2. Is the Kingston DataTraveler a FreeBSD installer, a boot device, or something else? Have you tried 'zpool import'? https://docs.oracle.com/cd/E19253-01/819-5461/6n7ht6qug/index.html If that doesn't help, post more information: # geli status # gpart show -l David