Currently I have a strange situation when I have running system on my zroot
but I can't import this pool when booted from memstick. I was trying to
understand what is going on and here are my observations. My partition table
is:
gpart show -l
= 34 250069613 ada0 GPT (119G)
34128 1 (null) (64k)
162 1886 5 (null) (943k)
2048 16777216 2 linux0 (8.0G)
16779264 33554432 3 home0 (16G)
50333696 199735951 4 disk0 (95G)
but in /dev/gpt I only see:
ls /dev/gpt/*
/dev/gpt/home0 /dev/gpt/home0.eli /dev/gpt/linux0
(home is encrypted).
I have a regular system installed and running on this pool. Filesystem to
boot from is called 'zroot' and it can only boot when my whole loader.conf
is used. With only zfs.ko booting stops with boot prompt asking for
filesystem to boot from, menu shows all my gpt partitions and id's correctly
so I don't understand why it can't find it.
Below is my loader.conf:
# Kernel Options
kern.ipc.shmseg=1024
kern.ipc.shmmni=1024
kern.maxproc=1
# GEOM encrypted device
geom_eli_load=YES
geom_label_load=YES
geom_mbr_load=YES
# Intel System management bus
smb_load=YES
smbus_load=YES
ichsmb_load=YES
ichwd_load=YES
# Use AHCI instead of ataahci
ahci_load=YES
# AHCI deprecated ataahci
#ataahci_load=NO
ataintel_load=YES
# Intel HDA sound driver
snd_hda_load=YES
# PS/2 Mouse
psm_load=NO
# USB
ehci_load=YES
ohci_load=YES
uhci_load=YES
# USB mouse
ums_load=YES
# POSIX Semaphores
# Required by Firefox
sem_load=YES
# ACPI drivers
acpi_load=YES
acpi_video_load=YES
acpi_ibm_load=YES
acpi_dock_load=YES
# Linuxulator
linux_load=YES
# Linux specific pseudo-devices
lindev_load=YES
# Bluetooth driver
ng_ubt_load=YES
# Intel Centrino driver
iwn6000fw_load=YES
iwn6050fw_load=YES
if_iwn_load=YES
# Realtek driver
if_re_load=YES
# Intel wireless driver
#if_wpi_load=YES
legal.intel_ipw.license_ack=1
legal.intel_iwi.license_ack=1
legal.intel_wpi.license_ack=1
legal.intel_iwn.license_ack=1
# Virtualbox driver (kmod)
vboxdrv_load=YES
# ATAPICAM module
# required to write DVD
atapicam_load=YES
# USB Printer
# required by HP D2360
ulpt_load=NO
ugen_load=YES
# Network pseudo-interface which supports failover
if_lagg_load=YES
# Joystick support
joy_load=YES
# Thermal sensor for Core2 Duo
coretemp_load=YES
# Be verbose on ACPI
hw.acpi.verbose=1
hw.acpi.reset_video=0
debug.acpi.resume_beep=1
# Firewire drivers
firewire_load=YES
fwe_load=YES
fwip_load=YES
# PF firewall driver,
# be carefull, when enabled it disables all network traffic, even ping
ipfw_load=NO
pf_load=NO
# Trusted Platform Module
tpm_load=YES
# TMPFS driver
# I'm using mdmfs for /tmp now
tmpfs_load=NO
# Boot splash screen
#hint.sc.0.flags=0x0180
#hint.sc.0.vesa_mode=0x0118
loader_logo=beastie
#vesa_load=YES
#splash_pcx_load=YES
#bitmap_load=YES
#bitmap_name=/boot/splash.pcx
# Kernel debugger through firewire and dcons
dcons_load=YES
dcons_gdb=1
dcons_crom_load=YES
boot_multicons=YES
hw.firewire.phydma_enable=1
#hw.firewire.dcons_crom.force_console=1
# ZFS driver and settings
zfs_load=YES
# Disable ZFS prefetching
# http://southbrain.com/south/2008/04/the-nightmare-comes-slowly-zfs.html
# Increases overall speed of ZFS, but when disk flushing/writes occur,
# system is less responsive (due to extreme disk I/O).
# NOTE: 8.0-RC1 disables this by default on systems = 4GB RAM anyway
vfs.zfs.prefetch_disable=1
# Increase vm.kmem_size to allow for ZFS ARC to utilise more memory.
#vm.kmem_size=512M
#vm.kmem_size_max=1024M
#vfs.zfs.arc_max=100M
# Disable UMA (uma(9)) for ZFS; amd64 was moved to exclusively use UMA
# on 2010/05/24.
# http://lists.freebsd.org/pipermail/freebsd-stable/2010-June/057162.html
#vfs.zfs.zio.use_uma=0
# Decrease ZFS txg timeout value from 30 (default) to 5 seconds. This
# should increase throughput and decrease the bursty stalls that
# happen during immense I/O with ZFS.
# http://lists.freebsd.org/pipermail/freebsd-fs/2009-December/007343.html
# http://lists.freebsd.org/pipermail/freebsd-fs/2009-December/007355.html
vfs.zfs.txg.timeout=5
# WebCam and DVB support
cuse4bsd_load=YES
# Memory Stick and SD Card controller
mmc_load=YES
mmcsd_load=YES
sdhci_load=YES
# 3G modem card
u3g_load=YES
# Load File-System Support
libiconv_load=YES
libmchain_load=YES
cd9660_iconv_load=YES
msdosfs_iconv_load=YES
ntfs_load=NO
ntfs_iconv_load=NO
udf_load=YES
udf_iconv_load=YES
# Desktop optimizations
# see http://forums.freebsd.org/showthread.php?p=123657#post123657
# boot delay
autoboot_delay=10
beastie_disable=NO
# page share factor per proc
vm.pmap.shpgperproc=512
# open files
kern.maxfiles=49312
kern.maxfilesperproc=16384
# avoid additional 128 interrupts per second per core
hint.atrtc.0.clock=0
# do not power devices without driver
hw.pci.do_power_nodriver=3
# reduce sound generated interrupts
hint.pcm.0.buffersize=65536
hint.pcm.1.buffersize=65536
hint.pcm.2.buffersize=65536
hw.snd.feeder_buffersize=65536
hw.snd.latency=7
#