Date: Tue, 11 Dec 2007 13:06:49 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-stable@freebsd.org Subject: Re: Various Issues with 7.0-BETA4 Message-ID: <fjlu5n$qc4$1@ger.gmane.org> In-Reply-To: <475DADF7.6020702@yahoo.com> References: <475DADF7.6020702@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHXn1gldnAQVacBcgRAhjnAKC9U7c4ex7T5SkmHr8Uk1WhiNWnAQCglwHw EJLDkY09Scm78RSL9w2W3uk= =52jx -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fjlu5n$qc4$1>
