Re: Various Issues with 7.0-BETA4



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



Relevant Pages

  • Re: ZFS: amd64, devd, root file system.
    ... I even performed a "boot -v" but did not see anything useful. ... replicas for the pool to continue functioning. ... It seems that ZFS "legacy" mounts are not supported under FreeBSD, ... no other way to mount it since we do not have a "mount_zfs", ...
    (freebsd-current)
  • Various Issues with 7.0-BETA4
    ... Install 7.0-BETA2 off the amd64.iso. ... seem to auto mount my zfs mounts which is a PITA. ... to boot into single user mode, mount all my drives, ...
    (freebsd-stable)
  • Re: Various Issues with 7.0-BETA4
    ... seem to auto mount my zfs mounts which is a PITA. ... you need to a) mount root read-write and b) run ... I just rebuild my world and then kernel based on sources as of a few ...
    (freebsd-stable)
  • Re: Various Issues with 7.0-BETA4
    ... seem to auto mount my zfs mounts which is a PITA. ... then exit, continuing into multi-user mode. ... not only does zfs not mount but I have to re-force import the tank pool ...
    (freebsd-stable)
  • Re: Newbie trying to build a new world
    ... First you intallkernel, then you reboot, then from single user installworld. ... mount -a -t ufs ...
    (freebsd-questions)