Peter Thoenen wrote:

> Issue #1:
> 
> For some reason zfs_enable="YES" in rc.conf doesn't work.  It doesn't
> seem to auto mount my zfs mounts which is a PITA.  Currently I am forces
> (each time I reboot) to boot into single user mode, mount all my drives,
> then exit, continuing into multi-user mode.  The interesting this is step 3.
> 
> 1) fsck -p
> 2) mount -u /
> 3) zfs
> 4) zfs mount -a
> 5) exit
> 
> NOTE: If I skip #3 and immediately do #4 it mails.  For some reason I
> have to to a straight zfs call.
> 
> NOTE: If I immediately go to multiuser mode skipping manually mounting
> not only does zfs not mount but I have to re-force import the tank pool
> (e.g. step 3.5: zpool import -f tank)

Did you create the zfs structures and file system while in single user
mode with root mounted read-only? If so, this is a "known feature" and
it won't be fixed: you need to a) mount root read-write and b) run
/etc/rc.d/hostid start before /etc/rc.d/zfs start. To fix it, mount root
read-write, remove zpool.cache file (if any) from /boot/zfs, run
commands from "b" and then run zfs import -f until you have your zfs
file systems online. Then reboot into multiuser mode - it should work
now. Never modify zfs without steps "a" and "b", some combinations of
such modifications lead to kernel panics or possible data loss.

As for the other problems: presence of /usr/lib32 is not influenced by
kernel build options. I don't know what influences, but the kernel
doesn't. Are you running java and other applications in 32-bit mode? Why?


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to