How to mount raidz2 on installer shell

David Christensen dpchrist at holgerdanske.com
Fri May 24 19:03:17 UTC 2019


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)
> <WDC WD80EFAX-68KNB0 81.00A81> at scbus1 target 0 lun 0 (pass1,ada0)
> <WDC WD80EFAX-68KNB0 81.00A81> at scbus2 target 0 lun 0 (pass2,ada1)
> <WDC WD80EFAX-68KNB0 81.00A81> at scbus3 target 0 lun 0 (pass3,ada2)
> <WDC WD80EFAX-68KNB0 81.00A81> at scbus4 target 0 lun 0 (pass4,ada3)
> <Kingston DataTraveler 2.0 PMAP> 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


More information about the freebsd-questions mailing list